
Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!

Model: manages data and the business logic View: presentation of information Controller: accepts the input and converts it to commands for model or view User sends a request to a server (controller-INPUT LOGIC), the controller manipulates the model(there is the database that interact with the model) (BUSINESS LOGIC: how to keep data consistent, what to do next) Then the model updates the view(UI LOGIC), so the presentation of information, which is then viewed by the user The model never takes the initiative, they are always the view and the controller Router matches the request (URL), and then the controller handles the request ORM (object relational mapping): different objects within your application, what objects you want to make consistent REST-API (Representational State Transfer) One of the first mashup applications (Google Maps) REST is an architectural style based on the principles of Client-Server communication Statelessness Cacheable responses Uniform interface