Login   Register  
Icontem

Title: High Performance JavaScript (Build Faster Web Application Interfaces)

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Latest classes All reviews   High Performance JavaScript (Build Faster Web Application Interfaces)   Latest classes Latest reviews   Best sellers ranking Best sellers ranking  

Title

High Performance JavaScript (Build Faster Web Application Interfaces)

Category

JavaScript books

Author

Nicholas C. Zakas

Publisher

O'Reilly

Release date

March 23, 2010

ISBN

059680279X

Reviews

October 13, 2010 55555 5
  Post a comment Post a comment   See comments See comments   Find where to Buy Now Find where to Buy Now  
Picture of Manuel Lemos
Manuel Lemos
manuellemos.net
The growth in popularity of JavaScript and many of the available frameworks that make easier the lives of Web developers, have encouraged many developers to use more and more JavaScript code in their pages.

Despite the recent advances in the latest releases of the most common browsers, the intensive use of JavaScript in Web pages may lead to slowdowns that may hurt significantly the usability of Web sites.

Therefore, it is very important that Web developers learn what affects the performance of JavaScript and what you can to improve your JavaScript code to make Web pages as smooth as possible. That is precisely the topic that the High Performance JavaScript book focus.

Let me give an overview of what is covered in each chapter. The first chapter covers the position in the Web pages where JavaScript code should be placed to minimize the delays it may cause to the page loading.

The second chapter talks about the different types of variable scopes and how it affects the execution of the code that accesses variables.

The third chapter discusses the speed of the different ways to access and manipulate the elements of a page using DOM. It also discusses how page element manipulation affects the speed of browsers doing the layout and rendering of the page.

The fourth chapter focus on the implementation of algorithms, the performance of loops, conditional logic and the implementation of recursive tasks.

The fifth chapter talks about string manipulation and in particular using optimized regular expressions to speedup text manipulation.

The sixth chapter focus on building responsive user interfaces. It talks about using timers to schedule regular tasks, as well how to use Web workers to run lengthy tasks in the background.

The seventh chapter discusses about AJAX requests, the performance of using different formats to exchange data with servers and taking advantage of caching to achieve performance gains.

The eighth chapter proposes several JavaScript programming practices that result in more efficient code. For instance it explains that you can use functions as callbacks instead of code strings that need to be evaluated, as well using object or array literal values instead of initalizing their members one by one.

The nineth chapter switches to a slightly different topic that may influence the performance of your JavaScript code, which is the way you build and deploy your projects. It goes through several techniques like minification of JavaScript code, HTTP compression and caching of JavaScript and other types of static files.

Finally, the last chapter talks about several tools and frameworks that may help you to produce better JavaScript code like performance profilers and other tools and extensions available for the different browsers that may help you diagnose and fix your code.

In conclusion, you should always keep in mind the performance of your Web sites definitely influences in the success they can have. The performance of the JavaScript code you use in your pages is certainly one of the factors that affects the performance of your sites.

This is a terrific book for those that have conscience of the importance of writing high performance JavaScript code and want to know all they can do to make your code better.

This is not a very large book, only about 200 pages. However the concentration of valuable information and tips makes it a great asset for all Web developers to have it permanently present in their desks.
  Post a comment Post a comment   See comments See comments   Find where to Buy Now Find where to Buy Now  

Comments

No comments were submitted yet.

Post a comment