Thursday, November 14, 2013

Angular.js future

Break the framework in smaller pieces, modularity.
Separate data binding, routing, dependency injection, ...
Asynchronous DI, merge code loading and dependency injection.
Zones: to attach context to callbacks. This is AOP for promise/callback programming.
Will take advantage from ES6 (modules, annotations and contracts). They will start soon using traceur-compiler, which transforms code from ES6 to ES5. Instead of static typing, ES6 introduces contracts which allow to associated a function to validate the type at declaration time. This is actually a glorified assert() that are ignored in production.

1 comment:

  1. they are really defining a complete platform for programming the web.
    Like you say above, Google power is astonishing, should we be worried?

    maybe a little, but ES6 is for sure a great step in the future and being able to use it before browsers are ready sounds very interesting news to me :-)
    thanks for the hint!

    ReplyDelete