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.

WebApp #4 : Consuming REST APIs

465 views

Published on

WebApp #4 : Consuming REST APIs

Published in: Software
  • Be the first to comment

WebApp #4 : Consuming REST APIs

  1. 1. WebApp : Consuming REST APIs
  2. 2. 1. Le problème
  3. 3. Architecture Website App mobile Requête http API JSON / XML Requête http JSON / XML App hybride Requête http JSON / XML
  4. 4. mais alors … Comment faire communiquer le client et l’API ?
  5. 5. JavaScript !
  6. 6. mais pourquoi ? Ajax - Compatibilité - Standard
  7. 7. 2. A JavaScript journey
  8. 8. Old JS & DOM
  9. 9. JS & library
  10. 10. JS & OOP Source : http://stackoverflow.com/questions/17118956/clarifying-javascript-prototype-nomenclature-and-mechanism
  11. 11. JS & frameworks (1)
  12. 12. JS & frameworks (2) Source : http://todomvc.com
  13. 13. 3. WebApp and JavaScript components
  14. 14. Organiser le code MV*
  15. 15. Utilisation des données Ajax & binding
  16. 16. Afficher les données Templating
  17. 17. Gestion des urls Routing
  18. 18. Gestion des événements Event Handlers
  19. 19. Merci pour votre attention.
  20. 20. Bibliographie Understanding MVVM – A Guide For JavaScript Developers - Addy Osmani http://addyosmani.com/blog/understanding-mvvm-a-guide-for-javascript-developers/ When does it make sense to use an MVC framework for JavaScript? - Quora http://www.quora.com/When-does-it-make-sense-to-use-an-MVC-framework-for-JavaScript Journey Through The JavaScript MVC Jungle - Addy Osmani http://www.smashingmagazine.com/2012/07/27/journey-through-the-javascript-mvc-jungle/ TodoMVC - Addy Osmani, Sindre Sorhus, Pascal Hartig, Stephen Sawchuk & Colin Eberhardt http://todomvc.com

×