Scriptsmount a free web scripts directory provides website scripts, webmaster scripts, web directory scripts, directory scripts, php scripts, perl scripts, cgi scripts, html scripts, database scripts, asp.net scripts, form scripts, guestbook scripts for webmasters
Web Scripts :: JavaScript :: JavaScript Tips and Tutorials :: Development
4.
Web Code Optimization
|
|
Google and Yahoo! know that speeding pages to their users is crucial. Both companies have invested millions of dollars in the server capacity and software enhancements that it takes to quickly serve search results to millions of users everyday. However, the optimizations that these companies perform do not stop at infrastructure investments. They optimize the delivery of their data right down to the data itself. In the case of Google and Yahoo!, these smart coding practices were most likely designed into the development of their applications. Unfortunately, many Web authors and developers are forced with the task of applying smart optimization practices to an already complete Web site. There are ways that you can easily perform the same types of optimizations on your existing Web site code. Using a good Web site optimization tool is the best way and it can lead to substantial savings on any Web site. The following article is an illustration of how much can be saved on a typical Web page using a Web site optimization tool like w3compiler to apply some of these techniques.
Hits: 53 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: JavaScript :: JavaScript Tips and Tutorials :: Development
|
7.
Writing Classes in Javascript
|
|
Writing classes in JavaScript doesn't give full functionality of an object oriented language, but it at least gives data hiding and encapsulation which are very useful specially when JavaScript is not a strongly typed language. It is very useful in cases when you need to handle multiple objects , instead of having arrays for all kinds of variables and then managing those arrays in methods you can just write a class to handle one object and then make many instances of that class. This also gives the name space resolution to the variables so that you can avoid using global variables and still use variables across procedures.
Hits: 52 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: JavaScript :: JavaScript Tips and Tutorials :: Development
|
|
|
|
|