JavaScript
< Languages
< Programming
< Tech
< sonservant
Get flash to fully experience Pearltrees
By definition, JavaScript is a client-side scripting language. This means the web surfer's browser will be running the script. The opposite of client-side is server-side, which occurs in a language like PHP.
The Closure tools help developers to build rich web applications with web development tools that are both powerful and efficient. The Closure tools include: A JavaScript optimizer The Closure Compiler compiles JavaScript into compact, high-performance code.
MooTools code respects strict standards and doesn't throw any warnings. It's extensively documented and has meaningful variable names: a joy to browse and a snap to understand.
document.getElementsByClassName = function (clsName) { var retVal = new Array(); var elements = document.getElementsByTagName( "*" ); for ( var i = 0 ;i = 0 ){ var classes = elements[i].className.split( " " ); for ( var j = 0 ;j When run through Dean Edwards packer code with all options enabled so that excess space is removed and variables shortened comes out like this: eval( function (p,a,c,k,e,r) { e= function (c) { return c.toString(a)}; if (! '' .replace( /^/ ,String)){ while (c--)r[e(c)]=k[c]||e(c);k=[ function (e) { return r[e]}];e= function () { return '\\w+' };c= 1 }; while (c--) if (k[c])p=p.replace( new RegExp( '\\b' +e(c)+ '\\b' , 'g' ),k[c]); return p}( '4.8=9(a){1 b=e f();1 c=4.g("*");5(1 i=0;i =0){1 d=c[i].3.k(" ");5(1 j=0;j