Daphne I've been reading about modules in ES6, however I thought their inclusion wasn't set in stone yet. Regardles ES6, angular 2 and traceur is definitely worth a look. Got you're point on lazy loading, there will be some form of it for sure, I guess the question is at what granularity.
Marcos, I think you understood my namespacing query, you're suggestion offers a reasonable approach, I was aware of the issue you pointed out with the injector, I like how you've approached it by tacking the namespace on the module. Martin, we're to using typescript at work now, it does (or at least you can get it to) generate AMD module definitions, some of the teams are using it in this manor, the namespacing is handy, and the tooling support (Webstorm) is decent. Having spend 10 years with C# and seeing how Anders has influenced that, good stuff is guaranteed for type script. I'm not normally one to like transpilers but for certain areas of the app (e.g. large models and isolated complex sub systems) I think it'll work nicely. Regarding browserify: if you're using node front to back I'd expect less pain with code reuse, nice win, I've researched but not spike it yet. Interesting no one mentioned google closure, it was another thing I've come across in addition to the above that offers namespacing, require-like functionality and a compiler. It's looking to be mostly used internally at google. I'm still not convened that requirejs offers a maintainable approach to module separation on a massive code base (without a transpiler and/or IDE support to do the AMD generation and/or refactoring). It may still have a place if another process owns wraping up a namespace and require JS could own delivering that namespace to the browser, I feel this would be less intrusive and you wouldn't shoehorn your entire codebase down the AMD route . I’m still tying to prove my gut feel wrong, more spikes will help. Really appreciate the answers, it's given me some food for thought and I now have a few more spikes I need to do. Specifically: ES6 with Angluar 2 and traceur, and one with browserify and type script. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
