Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Architecture logicielle #4 : mvc


Published on

Architecture logicielle #4 : mvc

Published in: Software
  • Be the first to comment

  • Be the first to like this

Architecture logicielle #4 : mvc

  1. 1. Architecture logicielle : MVC
  2. 2. 1. Theory
  3. 3. Real MVC vs Fake MVC
  4. 4. Fake MVC MVC is a software architecture that separates business logic from the rest of the user interface. It does this by separating the application into three parts: the model, the view, and the controller. Source : Dave Jarvis,
  5. 5. Fake MVC - Components & collaboration User Controller ViewModel HTTP HTML Render Ask Datas
  6. 6. Real MVC - definition Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user. Source :
  7. 7. Real MVC - Components & collaboration User ControllerView Model UsesSees Updates Manipulates
  8. 8. Le Model Game of thrones - The wall
  9. 9. Rôle du Model Gérer le stockage des données Assurer l’intégrité des données Répondre aux requêtes du controller Notifier les changements d’états
  10. 10. La view Game of thrones - Final Season 3 Scene
  11. 11. Rôle de la view Afficher les données Gestion du format d’affichage Gestion de la logique d’affichage
  12. 12. Le controller Game of thrones - The Iron Throne Room in King's Landing
  13. 13. Rôle du Controller Traiter les interactions avec l’utilisateur Collecter les informations pour le Model Charger et alimenter la view
  14. 14. 2. Practice
  15. 15. Exemples d’implémentation PHP framework-part-1/
  16. 16. To be continued …