3 ms·
There is a lot of "cool new thing" in the, for want of a better term, "new-style javascript world", but javascript is the ubiquitous platform, and it is not a c
by lifeisstillgood 14y ago
There is a lot of "cool new thing" in the, for want of a better term, "new-style javascript world", but javascript is the ubiquitous platform, and it is not a classical OO language - so taking advantage of its small functional foundations to allow more expressive work is a Good Thing.
We are moving towards a situation where composability is the watchword on the client side - which is a nice place to be.
Honestly I would not try reading to "get it" - it does not work. but I suggest you read and then implement in this order
* What is AMD v CJS
* CoffeeScript (Yes, I know)
* CoffeeScript annoyances
* Backbone.js - build a model, a collection and view, that
makes a AJAX call
* Marionette - replace the view with marionette views (much easier to control)
* back to backbone for sync and watching model changes
Then start to think about better ways to arrange your app - and better ways to define areas on screen. I am toying with some thoughts but clearly poeople want to take this exprerssiveness on next - and the most OO-classical-config-heavy area is how to change the DOM. Lots of config and magic in there. THat will need cleaning out. probably with another package :-)
- alex_c 14y agoThanks! Saved for future reference for when I have a bit of time to play with this :)