Aspect Oriented Programming with using WinJS

JavaScript metadata descriptors Metadata programming is very handful in many scenarios, e.g. in Aspect Oriented Programming (AOP). Typical scenarios are tracing value change notifications security checks etc. Basically all scenarios where it’s necessary to write boilerplate code over methods or properties. The problem is that this boilerplate code is mixed with the business logic and it…

0

WinJS observables (Part IV) – final solution

In my previous blog posts I showed possible solutions to WinJS observables pitfalls. Let’s combine both into the one, final solution.   Goal Just repeat again what’s our goal in BDD style: AS a developer I WANT to be able to define observable properties on the class as well as other class parts: get/set properties and methods…

1

WinJS observables (Part III) – using WinJS.Binding.define

In my previous blog post I showed first possible solution to WinJS observables pitfalls. Let’s see another.   Goal Just repeat again what’s our goal in BDD style: AS a developer I WANT to be able to define observable properties on the class as well as other class parts: get/set properties and methods and I don’t want…

0

WinJS observables (Part II) – manual approach

In my previous blog post I mentioned WinJS observables and their usage and pitfalls. There are several alternative implementations which could help us to overcome that issues. Let’s see first of them.   Goal  Just repeat what’s our goal in BDD style: AS a developer I WANT to be able to define observable properties on…

0

WinJS observables (Part I)

Introduction First, lets make sure we understand what are observables. The object is observable when it’s able to notify all listeners when its property has changed.  In addition, this capabilities are applied only to the set of the properties and all that notifications are done automatically.   Implementation Automatic property change notifications are crucial part…

0