Require.js, Knockback.js, A developer’s reaction (animated gif gallery)

While playing with the SPA project template (post forthcoming) I finally took some time to play around with Require.js.  While its fairly easy to get started, it blew my mind how it almost instantly changed my mindset and habits with regard to organization of my code.  At its most basic level, it allows you to break all of your code down into nice bite-sized chunks in individual files – but its so much more.  Fundamentally, it allows you to specify which “modules” (i.e. files) each module depends on.  So if you have a chunk of code, and it needs to refer to another chunk of code elsewhere, simply include the elsewhere chunk file name in your define parameters.  Here is a great quick tutorial video on getting started.

While looking through NuGet for Backbone.js I found something called Knockback.js (clever name) which combines the best of both worlds with Backbone and Knockout!  Definitely check it out!

A colleague and I were hysterical laughing at the animated gifs on this page, more specifically for how well they capture the mindset of developers!

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