Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Part1
UNDERSTANDING MVC?
Why do we need MVC?
Use DOM changing libs like jQuery
Another alternative of jQuery?
Lost in nested pile of jQuery callbacks and DOM elements
No real structure
SPAGHETTI CODE
COMPLEX AND TANGLED CONTROL STRUCTURE
WHAT is MVC? (or MV*)
Traditional MVC
Model - Domain-specific knowledge and data
View - UI of the application
Controllers - Handle the input and updates the state
MV* in JS
AVOID COMPLEX UI
REDUCE HTTP REQUEST NUMBER
AVOID SPAGHETTI CODE
SINGLE PAGE APPLICATIONS
EXAMPLES?
WHY?
LETS TAKE AN EXAMPLE
TO DO LIST
Backbone Part 1
By Chaithanya Yambari
Made with Slides.com
Backbone Part 1
353
Chaithanya Yambari
ylchaithanya
More from
Chaithanya Yambari