#Next-gen Javascript Applications...
I've been developing "full-stack" Javascript applications for a while now, primarily using AngularJS in the browser, coupled with Ionic Framework for mobile apps, powered by SailsJS running on Node.js. I'm a huge fan of Javascript - I've always found it "gets out of my way" more than any other language, allowing me to get ideas out of my head with a minimum of friction. Unchecked though, JS applications can become unwieldy because of that same flexibility.
I think the reason both Sails and Angular work so well for me is that they provide the right kind of structure - just enough reinforcement to keep me inline and structured, without forcing arbitrary rules on stuff.
The Angular team recently released their design documents for the 2.0 version. Any release is many months away, but as it's being designed in a very modular fashion, a number of the pieces are already available. I've been playing around with them for the past couple of weeks along with ES6 in general. There's some awesome stuff coming in both Angular 2.0 and ES6, but unfortunately now I find it very frustrating to go back to the "old" way of writing Javascript. I realize the hilarity of calling ES5 "old" when ES6 is not even a finalized standard, but I believe there's a lot to be said for being aware of what's coming over the horizon.
What follows is basically a brain-dump of how I see JS applications going forward.
I'm doing this more to get it out of my head than anything else, but any input is welcomed.
Standard disclaimer : I have no idea what I'm doing and thus any the opinions / proclamations / misconceptions below are untested, possibly dangerous, strictly my opinion and not those of anyone else. YMMV. YOLO. etc.