BitCobblers Logo
Sergei GolosArticle

@script annotation and Angular.js

Note, this post has been edited on 12/11/2014 and 01/12/2015. These changes were made to keep the code base changes to handle routing and directives. A previous post talked about a general idea behind data annotation and the ability to mark up classes. But the example was far from being real world or useful. Today we are going to explore the way that data annotation can be used to decouple business logic with angular bindings. We are in search of a simpler solution to ES6 ...

Sergei GolosArticle

@script, annotation for the win

While everyone is fawning over Angular 2.0, it isn't something we can really use for a while. But Tracuer and @script are here, and--as long as you support IE9 and up--they are here for you today. The Angular team published a playground for @script: https://github.com/angular/atscript-playground So why is annotation-oriented programing so much win? The quick answer is meta programing. Buzz word alert: The basic idea is that you can mark up some object in your code with a...