Using Backbone with
     CakePHP
      @mackstar
About Me
          Richard McIntyre



• First found CakePHP community in
  2009 at CakePHP Matsuri in Tokyo
• Lived in Japan for 15 years
• Freelancer
• Currently at BBC
Sorry
github.com/mackstar/
CakeFest-2012-Backbone-Plugins
Javascript
Devices
How we may have
 done it before
Pile of shit
MVC - eureka
Object Orientated
MVC - ish
  (Kind of)
Angular.js
http://
backbonejs.org/
Underscore.js
Backbone.js gives structure to web
  applications by providing models
 with key-value binding and custom
events, collections with a rich API of
 enumerable functions, views with
   declarative event handling, and
 connects it all to your existing API
   over a RESTful JSON interface.
Model
Collection
  View
 Router
Todo Demo
https://github.com/
mackstar/CakePHP-
 Backbone-Todos
CakePHP JS Helpers
Coffee-Script
You don’t need to
  make your apps
 Single page apps
(use where needed)
Questions?

    github.com/mackstar/
CakeFest-2012-Backbone-Plugins

Using Backbone with CakePHP