Friday, June 2nd, 2006

Levels of JavaScript Knowledge

Category: Articles, JavaScript

This is perfect for Friday. Dean Edwards has been inspired by the Levels of HTML Knowledge and created a version for your JavaScript knowledge:

It starts at:

javascript

  1. alert("Hello World");

and gets to:

javascript

  1. var Hello = new Binding({
  2.     greet: function(who) {
  3.         alert("Hello " + who);
  4.     },
  5.    
  6.     onclick: function() {
  7.         this.greet(Hello.WORLD)
  8.     }
  9. }, {
  10.     WORLD: "World"
  11. });
  12. document.bind("#hello", Hello);

What level are you?

Posted by Dion Almaer at 10:37 am
11 Comments

+++--
3.7 rating from 54 votes

11 Comments »

Comments feed TrackBack URI

You mean your prototype knowledge, because we all use and worship it …

Comment by Dan — June 2, 2006

eh that last part can be taken both ways, either he thinks that you know how to use it, then your at the highest level. Or he’s assuming you know how to WRITE it and build stuff with similar techniques. I’m hoping its the latter

Comment by Allen — June 2, 2006

It’s even prettier than the 93-line EJB version.

Comment by Michael Mahemoff — June 2, 2006

I think he is using his own “Base” class framework and not “Prototype”…

Comment by Mario — June 2, 2006

a site called ajaxian requires a page refresh to get to the comments? CMON! WHERE’S THE AJAX?!?!?!

Comment by haha — June 2, 2006

Good ol’ HTTP POSTs are still usable.
Why write 5+ extra lines of JavaScript?

Comment by kourge — June 2, 2006

Awesome! But keep attention: This article is tagged with “humor”. My interpretation is that level 6 is completely rubbish.

Comment by Serge — June 3, 2006

Interesting Finds: June 3, 2006 AM edition

Trackback by Jason Haley — June 3, 2006

So, you replace a simple alert() with a lot of complicated rubbish?
I’m with stupid..

Comment by Mikael Bergkvist — June 4, 2006

seinor n-tier javascript architecture ..

Comment by chenggn — June 6, 2006

[…] Do you understand? http://ajaxian.com/archives/levels-of-javascript-knowledge […]

Pingback by Your JavaScript level? « 웃으며 사는 세상 — November 30, 2006

Leave a comment

You must be logged in to post a comment.