MVVM and Silex - It's the future
summary
Live demos show a real stack: Silex for small PHP APIs serving book data, an Express middleware that merges Jacket + Ratings in parallel using node async so two API calls run concurrently, and an AngularJS MVVM front end using ngResource, Jade partials, Bower and Grunt. The frontend polls with a push-get every 4 seconds to update ratings; the combined API endpoint is built and returns JSON. Demos mostly work though the Grunt restart demo stumbles.
AI-written summary · about
chapters (18)
- 0:00Introduction and goals
- 1:00Why modern JavaScript matters
- 2:22Imagining the bookstore project
- 5:10Choosing backend and frontend tech
- 6:35Silex demo and setup
- 8:10Silex routes and controllers
- 11:20Frontend frameworks overview
- 12:24MVVM explained with AngularJS
- 14:31AngularJS app demo
- 16:16AngularJS app structure
- 19:27Controllers and models in AngularJS
- 21:36Alternatives to AngularJS
- 22:19Future of web development
- 23:02Express middleware layer
- 25:58Express API routes
- 29:00Combining APIs in Express
- 31:48Grunt for Express development
- 35:21Q&A and conclusion
