Wednesday, July 23, 2008

Analysing Elements of Any Webpage

Hi All,

Here below details about: How to analyse Website elements using Tools.

IE Browser - Internet Explorer Developer Toolbar

Firebox Browser - Firebug plug-in


Even few months before came to know about “Internet Explorer DEVELOPER Toolbar”, yesterday only I downloaded and installed. Really it will be helpful to analyse the parts of webpage.

Usages briefly,

  • Explore and modify the document object model (DOM) of a Web page.
  • Locate and select specific elements on a Web page through a variety of techniques.
  • View HTML object class names, ID's, and details such as link paths, tab index values
  • Outline tables, table cells, images, or selected tags.
  • Validate HTML, CSS, WAI, and RSS web feed links.

Link download

http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en



IE developer Toolbar













Likewise, In Firebox, we can download and add a plug-in "FireBug". It is also having many more functionality (yes, i used only basic functionalies). currently am working on Firebox version 3. In this by default, this plugin is available.


Firebug plugin












In Internet Explorer 8 beta, IE developer tool is also coming as out of box.


So, go and explore any website, its properties....





Thursday, January 10, 2008

Convert web page to PDF

Webpage-to-PDF


Hi,

Navigate to the following link, they are converting given web page in PDF format.

html2pdf is a Service NOT a class library or EXE

For trial run, go to this id and given your favorite site URL.



Try this


html2pdf uses a PDF library of http://www.websupergoo.com



I got this information through Chennai .NET User Group

Tuesday, January 8, 2008

Predictions for the year 2008

Hi All,

I got an article about "Predictions for the year 2008" from Mr. Balasubramanian Venkatraman. He is a Lecturer, Department of Computer Science, Bharathidasan University, Trichy, Tamil Nadu, India.

Here that article is published for your view.


31-Dec-2007
Balasubramanian Venkatraman wrote:


Dear friends

Greetings!

Happy New Year!

This is my way of saying Happy new year to you. I want to analyze the technical scenario of 2007 and my predictions for the year 2008. Since you are all tech savvy, I just wanted to share some information to you. Please go through and provide your feed backs.

The year 2007 was a good one. The IT job market was stable. Mankind got an iPhone. While there were not any revolutionary changes in the way software was developed, I believe that this was a year of rich Internet applications and Web 2.0. YouTube became a part of the lives of millions of people around the world. A large portion of the population visits orkut daily. What's next? What language/tool/technique to learn? What's the next big thing in IT? Though elders like me are also using orkut, it has been declared as an youth icon of the year 2007 by MTV. (?!)

In my opinion……..

1. Java will remain strong in large enterprises, but will continue losing ground as a development platform for small businesses. J2EE is way too heavy, and scripting languages and frameworks offer an alternative and productive way of software development when the cost of development is more important than performance and scalability. The LAMP platform will remain a preferable way to develop applications for small to medium businesses.

2. AJAX popularity may go downhill. I have red a number of articles in blogs which say AJAX is not
a good choice for developing enterprise applications. But the vast majority of the software world was (and still is) marching the AJAX way. This time it's more of a hope than a prediction that in 2008 people will realize that AJAX should serve the same goal as JavaScript – making your Web pages a little prettier. Expect to see the re-branding of some of the AJAX frameworks into RIA or Web 2.0 solutions.

3. Speaking of Web 2.0… Even though Web 2.0 was not officially defined, I think it's all about giving more control to the users of the Web sites. The more interactive a Web site is, the higher the number people will put in front of the zero – 3.0, 4.0, and so on. Some people say that Web 3.0 is about Semantic Web. If you bought a grill on Amazon.com, they can guess with high probability that you might be shopping for rib-eye steaks. Check it out the next time you visit the site. It's all about control. From the user's side and from the vendor's side. We'll see more and more interactive sites next year. While some people are planning to write next-generation sophisticated software, others will come up with a very simple, easy-to-implement but appealing business idea, and the next 20-year billionaire is born. As someone who reads anything if it contains a string "semantic web", I believe semantic web is not web 3.0

4. Flash Player will remain the best deployment platform for rich Internet applications. While Microsoft is trying to come up with a competitive delivering platform for RIA, it's not going to happen in 2008. Silverlight 1.0 is a good start, the next version (1.1) will be even better, but it'll take time to release a product that can do more than streaming multimedia.

5. Ruby on Rails will take a small share of the market of small non-mission-critical Web applications. Convention over configuration. Speed of development over performance. While Ruby on Rails will not become a framework of choice, it has achieved a very positive result – people have started to realize that not every project has to be developed in either Java or .NET. Besides, RoR is a well-designed framework that will become a good design sample for the new frameworks of the future.

6. Internet video and television will be booming and I'm not talking about YouTube. Internet Video will start being a part of a number of enterprise applications. This process won't be fast, and you have an opportunity to be among the early adopters in this sector.


7. Outsourcing will gain more and more ground despite the fact that it's very expensive and the project failure rate is high. The reason is that the U.S. has almost stopped producing software engineers. It's just a matter of time before everyone gets used to the fact that business software is made in India, just like we all know that all toys (with or without lead) are made in China. But innovation in software will still be happening in America. I guess, there's something in the air here. Re-read an old but valid article by Paul Graham about why Silicon Valley can't be exported.

8. Apple - next year I'll finally purchase a MacBook Pro or sony vaio for myself… if our Toshiba satellite and tecra will die. Peer pressure, a cool design and the ability to run Windows (plan B),will force me to ignore the high price.

9. Telephony. If 2007 was the year of Skype, we'll see some interesting development in this area. Skype is a great product, but it requires you to download and install software. In the era of RIA, things can be done without it. Watch the Ribbit phone software that will allow you to make calls and receive e-mails just from your Web browser.

10. IT job market. ( I am sorry yarr I also pray to God, that this should not happen) While we've enjoyed a stable demand for IT professionals in 2007, it won't last and next year we'll see project freezes and even layoffs. The reason is the burst of the real estate bubble. This will affect not only those simple people who were brainwashed and decided that they could have afforded an American dream. CEOs of major Wall Street, UK, Bangalore, Chennai, Hyd corporations are being fired after drowning their companies by getting into bad mortgage debt. Among other things, the IT budget will be severely cut. As you know, today on Wall Street, is tomorrow on Main street. Use the training budget of your employer now if it's not too late. Keep your skills up to date.

11. The hottest IT skills of 2008. When the job market is tight, recruiters immediately increase the list of skill requirements for job openings. You'll see job postings that expect you to know a number of programming languages ranging from Cobol to C++. Knowing just one hot tool does not cut it anymore. But if you have limited time and need money, start by learning tools for developing rich Internet applications. The skill set of a highly paid Web developer, at a minimum, has to include the following skills:
HTML,CSS, JavaScript, J2EE or.NET, Flex or Silverlight, AJAX, and good communication skills. You do not have to really learn AJAX, but must add AJAX keyword to your resume, otherwise you may not even get a job interview.

12. The next big thing. Software development will change to a wider use of code generators. Forget about heavy frameworks, regardless of what programming language you use. In a simple case, use some XML style sheets combined with the metadata that describes your application objects to automatically generate the code for these objects. On a larger scale, the entire application may be described using metadata and XML, and an appropriate code generator will do the job. So programming will change from writing tedious code that requires lots of coders to describing the metadata and writing custom code generators.

To say all the above things, I don't need much technical expertise, just watching some mash-ups like Google news, IT business edge, technology market watch, and the web site of the organization that sets the tone for the public policy for the Indian software industry, Nasscom.org.

Again I wish to say,

Happy New Year & Let this year bring a lot of prosperity to you, your family and to our country.


Regards,

Bala Venkat


Disclaimer: all the above are my personal opinion and not of the organization which i belong to.



---------------------------------------------------------------------------------------------




Tuesday, October 30, 2007

"ADO.NET Parameter" usage : Order is matter with OLEDB provider

While we are doing Data Manipulation using ADO.NET, "Parameter" objects for In/Out direction values, specified "Order of Parameters" is matter with OLEDB Provider.

In SQLServer Data Provider, parameters order is NOT a matter, parameters names are important.




For example: From "Emp" table, we need employees with Given Name and Given Salary.
to do this, we need to supply values for two parameters (Name and Salary)

...
...
OLEDBConnection con = new SQLConnection("give connection string here");


string strCommand= "select * from emp where Name=@Name and Salary=@Salary";

OLEDBCommand cmd = new OLEDBCommand(strCommand);
cmd.Connection = con;


OLEDBParameter paramName = new OLEDBParameter( );
paramName.ParameterName ="Name";
paramName.value = "Vignesh";
cmd.parameters.add(paramName);


OLEDBParameter paramSalary = new OLEDBParameter( );
paramSalary.ParameterName ="Salary";
paramSalary.value = "20o00";
cmd.parameters.add(paramSalary);

...
...
...



Here, we are doing with OLEDB Provider. In our example, we added parameter in the same order as in given query. So, it won't create problem.


OLEDB looking for ORDER of parameter, NOT for the parameter name. Check the parameter names given in the Query (they are @Name and @Salary) .


in coding : paramName.ParameterName ="Name"

even you change the parameter name as

   paramName.ParameterName ="NOTName"

It won't be problem, we added that paramName as first in the cmd's parameters collection. so, take care about "order of parameters" while adding to Command object in OLEDB provider.



but in SQLSERVER Provider, parameter name is important, so paramObject.ParameterName must match with Parameter name which is given in the Query.


---

In one of my application, i was affected by this problem [ actually, problem was with me, even i know about OLEDB's behavior in Parameters, i found this issue only after 2 weeks ]

---

for other Data Providers [ Oracle provider and ODBC provider] i will verify and Update soon.

---

Thursday, October 18, 2007

Some of Answers for Popular "23-page puzzle"

Some of Answers for Popular "23-page puzzle"

7 Uranus , 8th Planet neptune
8 Acht, neun for 9 in German
9 Sept, Oct , the short form for the 10th month
10 10 of Spades, the Jack comes next
11 eLeVeN, tWeLvE for 12
12 12 x 12 = 144, 13 x 13 = 169
13 Number13, Number14 for 14
14 Catorce, quince is 15 in Spanish
15 15thPresident of the Us is buchunan, 16th is Lincoln
16 is sedicim, septendecim is 17 in Latin
17 is 10001, 10010 is Binary 18 (old old code)
18 is argon, potassium the next in the periodic table
19 is ojofuffo minus one alphabet to each letter, and twenty minus one you get uxfouz
20 is icosagon - 20 side pentagon, 21 side is icosihenagon
21 is 10946 is a Fibonacci number, and the next is 17711
22 is very simple Vooey, and 23 must be Woody
23 is one crazy grandmother dancing to this long long night

Tuesday, August 21, 2007

Welcome !

Hearty Welcome to visit my blog.

This is a introductory note.


Soon, you will get more information.