What the problems solves ?

  1. Structure your APP
  2. Sync data between DB & UI
  3. SPA

Dependencies

  1.  underscore or lodash

  2. jQuery, Zepto (optional)

Consist Of

  • Events
  • Model
  • Extend
  • View
  • Collection
  • Router
  • Sync
  • History

SOURCE CODE

MVC

is an architectural pattern that separates an application into three main logical parts

MVC

M - Business logic data

V - Presents data from model

C - Responds to the user actions 

EXAMPLE

0

1

Home Work

From VanilaJS to Backbone

Links

Made with Slides.com