Best way to deal

with big Backbone applications

Lucjan Suski

 

@_lsuski

github.com/methyl

 

Strategyzer AG

Problem:

Big Backbone applications are hard

Solution:

Rewrite them to React.JS

Solution:

Rewrite them to fluxified React.JS

But...

Second System Syndrome?

Class with Backbone.Model interface

  1. Replace set with action dispatch
  2. Catch it in middleware
  3. Add reducer
  4. Delegate methods to Backbone model
  5. Subscribe to the store 

 

Replace old Backbone models with new adapters

BOOM!

 

 

 

 

 

#shamelessplug: 

backbone2react.com

Thank you!

Made with Slides.com