Ajax, CSS, DOM and JS-related resources

Christian Decker wrote this at around evening time:
Ajaxian today has a feature about the most useful information sources on Ajax, CSS, DOM and JavaScript (or as many will know them: the basis on which the whole Web 2.0 is built :) ), so I’ve skimmed through my del.icio.us account looking for stuff to add and here are my favorites: So that’s it from my side, if you have more resources you’d like to share with the rest of the world post them on the original article.
70-442, certification exams are valuable in providing knowledge and skills of designing and optimizing data access with the usage of Microsoft SQL Server 2005. 642-652, Wide Area Application Services for Field Engineers exam (WAASFE) is very beneficial for IT engineers and technicians to promote their skills. 642-445 certification exams are also associated with Cisco IP Communications Support Specialist certifications to promote IP telephony networking system. 642-565 cisco exams are designed to assess the abilities of candidates how to tackle cisco security products with the use of latest technology. 642-176 certification exams enable the candidates to get job successfully as SMB engineer. 640-816 stands for Interconnecting Cisco Networking Devices Part 2 (ICND2), having direct association with Cisco Certified Network certification exams. 156-310 exams are designed for the assessment of professional and technical abilities of the candidates.

YUI Blog on JavaScript

Christian Decker wrote this in the early evening:
Even if you aren’t a user of the Yahoo User Interface library this post from
Do not use new Function to create function values. Use function expressions instead. For example,
frames[0].onfocus = new Function("document.bgColor='antiquewhite'")
is better written as
frames[0].onfocus = function () {document.bgColor = 'antiquewhite';};
The second form allows the compiler to see the function body sooner, so any errors in it will be detected sooner. Sometimes new Function is used by people who do not understand how inner functions work.

script.aculo.us selectbox

Christian Decker wrote this around lunchtime:
Gabriel Lanzani has just pubblished his newest work: selectbox. It is supposed to replace the <select> in classical markup with a skinnable look and autocomplete support. It can be used to retrieve options from the serverside and has autocomplete support:
 
new Ajax.SelectBox(id_of_text_field, id_of_div_to_populate, url, id_of_result_value, options);
 
When retrieving data from the server it feels a bit sluggish and I wouldn’t recommend using it everywhere, but it certainly has its applications. Technorati Tags: , ,

Benchmark: Prototype and jQuery

Christian Decker wrote this in the wee hours:
Claudio Cicali thought it might be fun to test wether the common prejudices against jQuery / for prototype hold:
  • Prototype CSS Selector is good
  • jQuery CSS Selector is evil
After all jQuery has a reallygood potential of becoming one of the nig players on the library market. Its ever expanding list of plugins already contains many desirable features. He set up some tests
  • select elements by a type selector (html element). Element selected (1000 times)
  • select elements by a type selector (html element). No element selected (1000 times)
  • select elements by a simple class selector. The class name does not exist (5000 times)
  • select elements by a simple class selector. The class name does exist (5000 times)
  • select elements by a simple id selector. The id does not exist (5000 times)
  • select elements by a simple id selector. The id does exist (5000 times)
  • select elements by a descendant selector (no elements selected) (1000 times)
  • select elements by a descendant selector (20 elements selected) (1000 times)
  • select 20 elements by a id selector and bind an event handler to each one (100 times)
  • select 20 elements by a class selector and add an addictional class name to each one (1000 times)
and ran them with both Libraries and tada, he got some interesting results:
The white/green representation may be a bit misleading, on some domains jQuery leases prototype far behind while in others the difference isn’t that big.