Grow your Backbone App without going insane

Backbone's philosophy consists in finding the balance between giving structure to your data and remaining a flexible tool. That is what makes Backbone great, but in order to grow your application you will need to lay down the law and start stacking bricks. Decoupling your application When looking at a larger program in its entirety, individual functions start to blend into the background. Such a program can be made more readable if we have a larger unit of organization. Modules divide programs into clusters of code that, by some criterion, belong together. Eloquent Javascript The Module Pattern is a great »

3 Layer Architecture

There is a magical creature we've been chasing throughout multiple projects, plotting and planning with some beautiful minds, and it has a name: The 3 Layer Architecture. In short, the 3 Layer Architecture allows small development teams to build an API-centric, scalable and secure project. The structure is based on compartmentalised communication through message queueing. All you need are 3 VPS servers and some open source software. The beauty lies in the logic and minimal cost - the proof in the ease of explaining it. The architecture is outspoken (restful) API Centric, with MQ (message queuing) as backbone. What makes »