Quantcast
Channel: Planet Apache
Viewing all articles
Browse latest Browse all 9364

Ugo Cei: The Model-View-Controller pattern and Configuring Web Scripts with Alfresco

$
0
0

Another article, excerpted from our book, Alfresco 3 Web Services, is available now on Packt’s website. Here is the introduction:

One way of looking at the Web Scripts framework is as a platform for implementing RESTful Web Services. Although, as we have seen, your service won’t actually be RESTful unless you follow the relevant guiding principles, Web Scripts technology alone does not make your services RESTful as if by magic.

Another way of looking at it is as an implementation of the Model-View-Controller, or MVC pattern. Model-View-Controller is a long-established pattern in Computer Science, often used when designing user-facing, data-oriented applications. MVC stipulates that users of the application send commands to it by invoking the controller component, which acts on some sort of data model, then selects an appropriate view for presenting the model to the users.

You can read the rest of the article online, here.



Viewing all articles
Browse latest Browse all 9364

Trending Articles