Wednesday, November 17, 2010

Javascript Obuscation

Imagine a website without Javascript? Why not? (no debates, only one scenario.. keep guessing). This is not something what i am going to write.

Security and bandwidth are the primary concerns for any web application that too if its exposed to public rather intranet. There are few open source tools which is available for overcoming this by size reduction, obfuscation, compression, minification etc. There are subtle difference between each of these but it addresses our concern.

There were so many online and offline tools available for doing the job, but as known fact that during this process something should not go wrong. Considering these aspects only very few popular ones were listed below.

Google Labs Closure Compiler - http://code.google.com/closure/compiler
Yahoo Yui Compressor - http://developer.yahoo.com/yui/compressor
Dojo ShrinkSafe - http://o.dojotoolkit.org/docs/shrinksafe
JS Min - http://crockford.com/javascript/jsmin

Some of the links out of scope for this topic are..

http://compressorrater.thruhere.net/
http://blog.creonfx.com/javascript/mootools-vs-jquery-vs-prototype-vs-yui-vs-dojo-comparison-revised
Java implementation

No comments:

Running Jobs as application user in Cloudera hadoop distribution

When an Hadoop cluster is not enabled with Kerberos authentication, Internally triggered jobs would be running as an 'yarn' user ra...