Aside: RequireJs and Google Closure Tool

Thanks to my friend’s comment to last post, also thanks to a IE-6-only bug on my site which I spent whole morning in looking for it, I have been deep diving into js again.

Watching the google IO video on the Closure tool, also continue refactoring the javascript in my site with AMD (Asynchronous Module Definition . Quite interested to know more about the concepts behind requirejs, and how is it compared to the Closure tool — whether they are even Comparable. They do have parts in common and integration is perhaps interesting.

I do find some inconvenience bought by requirejs with hands on coding, but perhaps I am using it in a wrong way.

reading this:

http://tomdale.net/2012/01/amd-is-not-the-answer/

and replies on it
http://geddesign.com/post/15994566577/amd-is-the-answer

http://tagneto.blogspot.hk/2012/01/reply-to-tom-on-amd.html (by author of requirejs)

 

also the great official book closure definitive guide on safari books online

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s