Why we love JavaScript 1


These past years JavaScript has been the language on the web. Through Ajax, we can do amazing dynamics things on a web page.
From what I remember, when I started my first web page a while ago in 2002, Javascript was considered evil. Hard to program, poor documentation, and to be honest : for what use ? Changing background colors ? Moreover, web browsers weren’t as powerful as now.

And then, Ajax appeared. That was revolution. At first it was all made by hand, but a while later it was the beginning of JavaScript frameworks development. I remember I started with Prototype and Scriptaculous.

Later, JavaScript frameworks have been combining complete tools to add life in web pages : DOM manipulation, fancy transition effects, Ajax and JSON support. They became so powerful that now, it’s all about improving JavaScript engines on web browser to enhance more and more user experience.

These last two years, I have been really enjoying developing with Dojo and JQuery. When I see what we can do now with Cufon http://cufon.shoqolate.com/ for example to play with fonts in canvas or PHPJS http://phpjs.org/ to implement PHP function in JavaScript, I hope that it is just the beginning or prehistory of the web and rich applications.
JavaScript has finally become the language on the web, the language that we love to hate (welcome on WTF JS) for a better future.
My guess is that the next move will be full JavaScript and XMLHttpRequest support for portable devices such as mobile phone and tablets. There is a huge market there !

If you are interested in learning JavaScript, here is a really nice website : Learning Advanced JavaScript http://ejohn.org/apps/learn/# where lots of nice tricks are explained.

Now that you know a lot of things about JavaScript : can you guess what does this piece of code do on a page ?

($=[$=[]][(__=!$+$)[_=-~-~-~$]+({}+$)[_/_]+
($$=($_=!''+$)[_/_]+$_[+$])])()[__[_/_]+__
[_+~$]+$_[_]+$$](_/_)

answer on http://adamcecc.blogspot.com/2011/01/javascript.html

Fab

Engineer - Web Juggler - Confit de canard
Fab

Latest posts by Fab (see all)


Leave a comment

Your email address will not be published. Required fields are marked *

One thought on “Why we love JavaScript

  • Vibhut Sood

    I tried finding you thru the link you put on your website but couldnt go through. Just checking whats the theme you are using, its just awesome!