Help! I Don't Know JavaScript!

June 5th, 2007, posted by Michelle

For all the interested MooToolers in the making out there, I have compiled a list of resources which should give you everything you need to know to get started in client-side development.

Tools of the Trade

These are the prerequisites of Web development.

Firefox: You’ll want to use Firefox for development. But you’ll also need to have all the browsers you can manage to install on your machine (and other machines) in order to check cross browser support.

Essential Extensions
  • Firebug: The best plugin ever, Firebug is the difference between bashing your head against the keyboard and knowing what’s going on with the browser.
  • Web Developer Toolbar: Gives you awesome power over websites. Turn off JavaScript, see it without CSS, disable referrers, enable strict warnings, and more. The good times never end.

Learning The Basics

Don’t let not knowing HTML put you off Web development!

How to Create

This place is pretty nice. Not only touching on the gritty details but touches on topics such as semantics and better practices. A nice human-readable overview.

Mozilla Developer Center

Probably the most inclusive information available on the Web, especially for developing for Firefox or Mozilla. This should probably be your main reference guide.

W3 Schools

W3 Schools is basically just your one-stop-shop for quick reference on the Web technologies. Much, much, easier to read than the raw spec sheets straight from the W3C. MDC is better, but it’s always a good idea to have a few reference sources to work with.

Microsoft’s Developer Network

Don’t let the name throw you off—JScript is the same as JavaScript. I think Microsoft actually won a usability award or two with this sites. You should hit this site often during your battles against Internet Explorer.

Other Places

The curious can read A List Apart for some inspiration and sly tricks.

Also note that Mootools works best with a strict doctype.

JavaScript Specific

JavaScript, the world’s coolest programming language. The first thing you have to do to be good at JavaScript is to realize that JavaScript is nothing like <insert your favorite programming language here>. After you’re done grasping that fact, you’ll want to read some of these tutorials.

Learning the Basics

Now to the fun bit. The awesome people at Yahoo uploaded their training session videos to the world in general. Great deal for us, since learning JavaScript is as easy as spending four hours watching these smart guys talk.

The Action-Packed JavaScript Trilogy
Bonus Points
Going it Alone

Once you’re done doing these things, try to Google around a bit until you can write a basic cross-browser AJAX application with a few fun effects in raw JavaScript. Nothing too fancy, you’ll be throwing it away in a bit. I think doing this in raw JavaScript on your own will help you appreciate the things that a framework brings to the table, and also understand the underlying mechanics of what’s provided to you.

You might also find The JavaScript Knowledge Gap an interesting read.

Learning By Example

If you’re really looking to become a good JavaScript coder, the best way to do so is by looking at examples done by people who understand the craft. That said, you might want to browse the MooTools source for some inspiration. Not only will you soak up a lot of good ideas, you’ll also get to know the framework on a more intimate level.

Advancing to the Next Level

Then it’s time to download MooTools! If you’ve honestly done most of the things I’ve listed above, we’d love to have you post your questions on the forum, lurk the IRC room, and contribute to the MooTools community.

Try downloading the full, unpacked source and using it in your development. See what happens if you change something. Try to spot some bugs and submit a few tickets. Make a few plugins. Just make sure you include some sort of Moo-related pun in all your plugin names.

Stay Tuned

Coming up on the blog, all you need to know about debugging and some advanced reading to have you dreaming in Fx.

14 Responses to “Help! I Don't Know JavaScript!”

  1. Excellent article!

  2. Julien Says:

    Thanks for this great post!

  3. Philippe Says:

    Awesome writeup!

    I almost felt a bit guilty since I’m more of the ‘get going by example type’ ;-).

  4. franckB Says:

    Deserves to be put in front page of the moosite !

  5. tofu Says:

    thx michelle.

  6. Thanks for all the references Michelle! Its greatly appreciated and am already digging through some of them.

  7. Gavin Says:

    Thank you Michelle! Very, very helpful.

  8. bds Says:

    Excellent post! You have inspired me to learn more about JavaScript and MooTools.

  9. Andreas Says:

    Great Resource…

    This perhaps reduces the critics to Mootools Community not supporting newbies…

  10. zmeeagain Says:

    Spare me all the expensive and dubious trainings. People should be made to read stuff like this instead!

  11. emehrkay Says:

    Great Post!! I really love the article on the knowledge gap.

    My question is, and I’ve asked before, where is the formalized training so that someone could be a real JavaScript hacker and understand it on a deeper level? Is it not available yet because of the order of operations talked about in the knowledge gap article? I know that the information is out there - I just found a great article about closures by mr. crockford - but with it’s importance in the web today, I feel that there is a mistake, business-wise and community-wise, by not having that type of training.

    I will revisit once I have a chance to watch all of the videos, and read the articles a few times over.

    Thanks

  12. Michelle Says:

    Good question, emehrkay. I haven’t the slightest idea if there’s any formalized training. From a business perspective, there seems to be the tendency to still see JavaScript as something that gets tacked on to HTML and CSS. However, despite the lack of formalized training, there’s plenty of information out there for anyone who really wants to learn. Though, the road is perilous, because there’s a lot of really bad advice mixed in with the good.

  13. Nir Tayeb Says:

    The best source for XHTML & CSS is htmldog and alist apart that mentioned in the post: http://www.htmldog.com/

  14. Dave Says:

    Michelle, Thank you for the list of resources. Its very easy to assume that everyone knows these resources but for the beginner the list is very helpful.

Sorry, comments are closed for this article.