Tuesday, October 06, 2009

Web page performance and CSS selectors

Interesting article on web page performance and impact of CSS selectors. The article includes some test metrics to backup the author's position and history on the question of CSS selectors impact on page performance.

Bottom line: tweaking for performance only matters with extremely large page sizes. For general to moderately complex pages there is no noticeable benefit gained with CSS selector optimization.

Also has some links in comments section which may be worth following.

Monday, October 05, 2009

Creating objects in JavaScript

Finally a decent article on the various ways that an object can be created in JavaScript with encapsulated methods. Cleanly written, concise, and easy to follow.