Articles pour le mot-clé ‘course’


Ask web developers what they hate most about web technologies, chances are they will say javascript, and for some parts, they are right to do so. But to understand why Javascript is so much hated we need to go back in time. In the early years of Netscape, in 1995.

In the nineties, Netscape was flourishing with between 50% and 80% of the browsers’ market and was in a intense combat with Internet Explorer. A guy at Netscape, named Brendan Eich, was given a difficult task of creating a language to make Netscape interacting more dynamically with websites. And of course they wanted this language the day before they asked it . In the time Brendan had, he did the most he could, and created a versatile language that even script kids could pick up, Javascript, he also created the DOM (Document Object Model) on top of Javascript. Now the difference between Javascript and the DOM is simple. Javascript is the basic language you use to make sentence. But the DOM is what is understanding this sentence and makes it interact with the document the way you asked it.

Microsoft was not going to let that happen

Microsoft was certainly not going to let Netscape have « Javascript » and not them, they decided to reverse engineer and implement it in Internet Explorer. Now problems began. They, very unfortunately, did not do a very good job at this implementation. Which means that for doing one simple operation on Netscape and Internet explorer, you had to code 2 implementation for both of them, because the DOM was not understanding the same sentence for both. In fact javascript, the programming language is mostly fine, the biggest problem is the DOM API, some words means nothing to IE and some other means nothing to Firefox. This is what drives web developers crazy. You have to write code specifically to some browsers because they do not follow standards, you have no choice, Internet Explorer represent 67% of your user base, you have to do an implementation for them.

javascript Javascript, the most misunderstood coding language

You need to understand that this happened in 1995. The web did not had the same needs than today. Now web applications are vastly more complex. Some people had to step up and create cross browser API’s to deal with the DOM, and they did. Which means now you write one line, and some API dispatch the good implementation to each browser. This has make the life of web developers much easier.

There is currently 3 major « all round » Javascript libraries, jQuery, Mootools and Prototype

At w.illi.am, we decided to use the jQuery framework, which is now endorsed by a lot of major players, like Microsoft. Not only this is the most use Javascript framework in the world, this is the one we found the most powerful. Writing Javascript with jQuery enabled us to create more powerful web site than ever before and this tool is one of many that make us confident that we are ready for the future of the web.

  • Twitter
  • Facebook