May
2013
12

Backbone.js for large scale applications – UI Architecture

by Oren Farhi

echotube

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 »

Mar
2013
21

Backbone.View Patterns – rendering a collection

by Oren Farhi

IMG_20130321_210004_Antonio_Rainbow_Dirt1

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 »

Nov
2012
16

Backbone Router – The important role of a Controller

by Oren Farhi

IMG_20121116_191043_Peter_Burn_Hassel

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 »



?>