![]() |
A scheme of ROA based applications |
In a world where datas and resources need to be accessed by different applications, designed and coded in different ways, the only chance we have to survive is to use Resource Oriented Architetures (ROAs). In this kind of architecture, datas and resources are exposed to clients (such as iOS and Android applications, Javascript webapps, etc...) via ReST API. Obviously, every type of these clients has to be designed using design patterns, frameworks, etc…One of the most known architectural design pattern is the Model View Control pattern (MVC).
Because the model can’t be part of a client in this kind of architecture, we have to substitute it with a surrogate. This surrogate has to be synchronized with the real model through the ReST APIs. So, why don’t we use a framework and let do all the dirty job to it?
There are a lot of Javascript MV* framework,
such as Backbone.js, Angular.js (sponsored by Google), Ember.js, etc…Any of these frameworks has its
own peculiarities. So, how can we choose the one that best fits our needs? Todo
MVC (http://todomvc.com/) will help us! Todo MVC is a site in
which we can find a simple TODO application developed in each of the best
Javascript MV* frameworks.
That's great!
Bell'articolo, seguirò con interesse il blog.
RispondiElimina