In my early days as a developer, even before Backbone.js was released, I was eager to learn about good conventions and best practices for organizing code and workflows.
I knew that somewhere, someone managed to recognize a good pattern that will scale in maintainable code, reusable pieces of code and a good & solid “framework” to place this code.
Overtime, I read few articles & watched several talks about software architecture that are relevant to front end development. In this post, I’m covering a journey I had (and still have) with some of the above as well as the overall front end architecture concept behind my latest project Echoes Media Center along with Backbone.js methodology.
Read the rest of this entry »
Backbone.View doesn’t implement the “render” method. According to Backbone’s Documentation:
“Backbone is agnostic with respect to your preferred method of HTML templating”.
So, when it comes to rendering a collection of items (or simply, a backbone collection), there’s a need to implement a method for it. In this post, I’m sharing the best practices I learned when it comes to rendering collections with Backbone.
Read the rest of this entry »
Backbone.Router is one of the most useful objects in Backbone.
It just has the right concept for managing url based navigation with an easy configuration setup. However, beyond being a great routing manager, it has an important role in MVC architecture when creating Backbone based applications. In this post we’ll explore the Router object and its important role. Read the rest of this entry »
I returned home about two weeks ago from Appsworld conference in London. I gave my known talk about developing javascript based application with Backbone.js, Require.js – incorporating the Angry Birds game as a Demo.
This is a summary of my talk and my experience. Read the rest of this entry »
This is a short post/link for Backbone.Safe – a new open source plugin for Backbone.js.
Backbone.Safe lets you save Backbone’s models and collection to the local storage with an ease.
Check out how to. Read the rest of this entry »