5

I'm looking to improve the standard of my javascript as I'm moving beyond simple AJAX forms towards much richer interactions and it's quickly getting out of hand.

There's lots of resources about how to write proper javascript, many of the best are from Douglas Crockford, but very little about relevant design patterns and how to implement them.

Do you know of any resource, books or blogs, on how to produce and manage non-trivial javascript applications?

2
  • Are you referring to advanced language features, or designing complex applications? Commented Dec 17, 2009 at 11:16
  • Designing complex applications is what I'm looking to tackle but if advanced language features may help I'd be interested in those too. Commented Dec 17, 2009 at 12:28

7 Answers 7

6

I plan to read Pro JavaScript Techniques by John Resig as well as his upcoming Secrets of the JavaScript Ninja.

Also, in my mind, "advanced" and "JavaScript" are often associated with Dean Edwards.

EDIT: it's not strictly devoted to JavaScript, though I'm also learning a lot from 24ways.org

EDIT2: from time to time, gems also pop up from Simon Willison's feed: today Dean's getElementsByTagName() implementation and John's jQuery.require().

Sign up to request clarification or add additional context in comments.

5 Comments

Thanks, I was looking at Pro JavaScript Techniques the other day. Definitely going to purchase it now it's been recommended by several people here.
24 ways makes Chrome cry when I try to scroll!
Same here, it's smooth in Safari though. it's surely because their design is based on RGBA colors
That's a bug in the current version of Chrome. Fixed in the newest beta.
That means I'm not on the bleeding edge! This must be rectified swiftly!
1

As mentioned :

Pro JavaScript Techniques by John Resig is an excellent book.

If you're intention is to use Javascript for more than just everyday form validation etc then I personally think understanding OO principles is important.

With Javascript being such a flexible language I would reccommend reading up on discipline and approaches to coding Javascript, not just the syntaxy stuff.

This book Pro Javascript design patterns should help there.

You're halfway there already with Douglas Crockford, but there are plenty of others writing great articles on the web.

UPDATED: I'm finding that over and above most languanges and tech there is a real buzz about Javascript right now and it's difficult to keep up with new stuff so I tend to check out relevant news sites like Ajaxian for posts with content linking to good authors for up to to date advances with libraries, frameworks and the like.

I recently visited the fullfrontal09 Javascript conference, all the speakers there gave excellent talks on Javascript so read anything they have written!

Read up on Closures and Scope, sugaring and currying! Robert Nyman's slides from FullFontal09 should get you started

2 Comments

Ajaxian is fine for news but I wouldn't recommend it for the quality of debate.
I was really point out that it mentioned people like Douglas Crockford, Dean Edwards etc you;re right though Tim - I'll update!
1

If you can stomach the tone of some of the regulars, the comp.lang.javascript newsgroup is an excellent resource. I have learned a great deal there.

Regarding design patterns, there is a book called "Pro JavaScript Design Patterns" by Ross Harmes and Dustin Diaz, although having read it I wouldn't recommend several of the practices it suggests.

Comments

0

Make sure to also have a look at free web toolkits that are available, such as: Google Web Toolkit and Dojo or Jquery. These will help your application development efforts go much faster.

Also check out the Javascript tutorials at: http://www.w3schools.com/ajax/ajax_intro.asp

Hope that helps. :)

Comments

0

Apart from books, i would say start hacking the existing JS libraries (like amazing JQuery). Its a better way to look around the power of javascript..

Comments

0

Lynda.com has an introduction to jQuery (and other Javascript classes). It provides a decent introduction as you go deeper and read the excellent books already recommended.

Here's the link: http://www.lynda.com/home/DisplayCourse.aspx?lpk2=48370

Comments

0

This was only published recently (8th Dec.) but I've already found it extremely useful as a refresher of common JS practices.

http://stevej.name/js_executable_guide.html

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.