Migrating MVC to the front-end using Backbone JS

Martin Drapeau (29.Feb.2012 at 13:15)
Talk at ConFoo 2012 (English - UK)

Rating: 5 of 5

Planbox is a single-page web application for Agile project management. It was built using the traditional MVC stack with CodeIgniter (PHP) and jQuery (Javascript). AJAX was heavily used to update DOM elements to offer a dynamic user experience. UX logic code quickly became spread across Javascript and PHP. The application code base quickly became unmanageable and scaling functionality became difficult. Things had to change.

A decision was made to change architecture: bring all the UX logic in the front-end, and turn the back-end into an engine in charge of business logic.

This talk is about this experience. How we moved the MVC stack from the back-end to the front-end. How we used Backbone JS as the foundation of our front-end framework and built on top. How the backend became a black-box with a Restful API. What lessons we learned, what benefits we gained, and what reflections we made about the future of MVC in Javascript.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 4 of 5

29.Feb.2012 at 14:29 by Pascal Larocque (12 comments)


Rating: 4 of 5

29.Feb.2012 at 14:30 by Anonymous

Might be a bit heavy on code, which made the talk feel a little bit dry, but it's obvious you've got good knowledge to share for those experienced with Backbone.

Rating: 5 of 5

29.Feb.2012 at 16:49 by J Reuben Wetherbee (8 comments)

great talk. Thought it was a good balance between code and concept. Mostly I am just excited about Backbone so I appreciate the intro. Finally I feel like web is moving to true MVC with javascript frontends

Rating: 5 of 5

29.Feb.2012 at 18:53 by Kevin Bond (20 comments)


Rating: 4 of 5

29.Feb.2012 at 22:06 by Alain Juteau (3 comments) via api

Great talk. You've obviously got in dept knowledge of your subject but I would have prefered a little less code and a little more general concepts and best practice info. Thanks

Rating: 5 of 5

29.Feb.2012 at 22:57 by Felix-Etienne Trepanier (9 comments)

Good job Martin!

Rating: 4 of 5

12.Mar.2012 at 16:01 by Anonymous

Can you share your slides :) ?

© Joind.in 2014