SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |© 2011 Medullan, Inc. |© 2012. Prepared by Medullan, Inc. |
Ing. Jhon Samamé Gómez
Septiembre 10, 2013
Simple Page Web Applications
con
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Agenda
1. AngularJs: Qué es? Por qué
usarlo?
2. Expresiones y Directivas
3. Modulo
4. Enrutador
5. Controlador
6. Modelo
7. Simple Page Applications
8. Vistas Parciales
9. Comunicacion REST
10. Servicios
11. Demo
12.Recursos
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Qué y Por qué AngularJs?
• Open Source Javascript MVC Framework
(como Backbone.js, Ember.js)
• Mejora la Organizacion(Modulos y Servicios).
• Modelos POJO(Plain Old JavaScript Objects).
• Extiende el HTML(Directivas).
• Inyeccion de Dependencia.
• Facil de Testear (Mocking).
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Expresiones
• Usadas para pequeñas operaciones.
• Usadas como {{ expresion }}
• Dinamicas.
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Directivas (Directives)
• Usadas para grandes operaciones.
• Extienden el HTML.
• Permiten crear componentes.
• Comunes: ng-model, ng-repeat, ng-switch,
etc.
http://bit.ly/15MQt2E
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Componentes (Basico)
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Componentes (Orden de Implementacion)
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Modulo
• Aplicaciones organizadas en modulos.
• Pueden depender de otros modulos.
• Contienen controladores, directivas, filtros,
servicios, etc.
• angular.module(…)
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Enrutador
• Configuracion de las rutas de nuestra
aplicacion web.
• Asocia la Url a una vista parcial y un
controlador especifico.
• $routeProvider.
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Controlador
• Definen el comportamiento.
• Construyen el modelo que sera renderizado
en la vista parcial.
• No deben contener acceso a la UI.
• Se comunican con la vista a traves del
objeto $scope.
• angular.controller(…)
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Modelo
• Propiedad del $scope dentro del
controlador.
• Cada vez que cambia, actualiza la vista.
• Puede ser enlazado a la UI (textbox, labels,
etc).
• $scope.miModelo = [{…}];
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Simple Page Applications
• SPA o SPI (Interface)
• Mejoran la experiencia del usuario
(desktop).
• Habilidad de cambiar la UI sin obtener el
HTML desde el servidor nuevamente.
• JSON, Ajax, REST,etc.
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Vistas Parciales
• Porcion de HTML que es embebido.
• Se cargan dinamicamente (Ajax).
• Generalmente asociadas a un Controlador.
• Renderizan informacion del Modelo.
• Son mantenidas en memoria por el
explorador como templates.
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
REST
• Representational State Transfer.
• Usa HTTP simple.
• GET and POST convencionales.
• GET/POST/PUT/DELETE.
• Simple CRUD llevado a la web.
• Autenticacion antes de ejecutar.
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Servicios en AngularJS
• Fabricas de objetos reusables.
• Usa la Inyeccion de Dependencia.
• Son inyectados al Controlador.
• Faciles de testear.
• Usados para obtener los datos desde el
servidor y que seran transformados en el
Modelo.
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Demo
• Servidor: nodeJs, ExpressJs
• Cliente: Simple HTML, Vistas Parciales,
AngularJS.
• Modulo, Enrutador, Vistas Parciales,
Controladores, Servicios.
• Interface REST simple en NodeJs.
(GET/POST)
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Recursos
•http://angularjs.org/
•https://plus.google.com/u/0/+AngularJS/posts
•http://tecnimedios.com/blog/programacion/jquery/single-
page-application-spa-una-tendencia-creciente/
•http://expressjs.com/guide.html
•http://nodejs.org/
•http://jhonpierre.blogspot.com/
•https://jhonpierre.wordpress.com/
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Medullan
• Soluciones a medida.
• Rubro: Cuidado de la Salud, Bienestar Social.
• Career Manager. Ultimas Tecnologias.
• Developer, Project Manager, QA Tester.
• Trinidad y Tobago / USA.
• Visita http://medullan.com/
• CV a careers@medullan.com
• O a jsamame@medullan.com
© 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |
Gracias

Mais conteúdo relacionado

Mais procurados

Introducing Pebble SDK 2.0
Introducing Pebble SDK 2.0Introducing Pebble SDK 2.0
Introducing Pebble SDK 2.0
Cherie Williams
 
AngularJS = Browser applications on steroids
AngularJS = Browser applications on steroidsAngularJS = Browser applications on steroids
AngularJS = Browser applications on steroids
Maurice De Beijer [MVP]
 

Mais procurados (20)

What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
 
Angular App Presentation
Angular App PresentationAngular App Presentation
Angular App Presentation
 
AngularJS
AngularJSAngularJS
AngularJS
 
Mastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksMastering angular - Dot Net Tricks
Mastering angular - Dot Net Tricks
 
What’s new in angular 2 - From FrontEnd IL Meetup
What’s new in angular 2 - From FrontEnd IL MeetupWhat’s new in angular 2 - From FrontEnd IL Meetup
What’s new in angular 2 - From FrontEnd IL Meetup
 
AngularJs (1.x) Presentation
AngularJs (1.x) PresentationAngularJs (1.x) Presentation
AngularJs (1.x) Presentation
 
What’s new task due date, active guest users, and more enhancements released
What’s new  task due date, active guest users, and more enhancements releasedWhat’s new  task due date, active guest users, and more enhancements released
What’s new task due date, active guest users, and more enhancements released
 
Lecture 32
Lecture 32Lecture 32
Lecture 32
 
JahiaOne - Jahia7: Query and Search API under the Hood
JahiaOne - Jahia7: Query and Search API under the HoodJahiaOne - Jahia7: Query and Search API under the Hood
JahiaOne - Jahia7: Query and Search API under the Hood
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Angular vs React : A Detailed Comparision
Angular vs React : A Detailed ComparisionAngular vs React : A Detailed Comparision
Angular vs React : A Detailed Comparision
 
AngularJS
AngularJSAngularJS
AngularJS
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
Introduction to Angularjs : kishan kumar
Introduction to Angularjs : kishan kumarIntroduction to Angularjs : kishan kumar
Introduction to Angularjs : kishan kumar
 
Introducing Pebble SDK 2.0
Introducing Pebble SDK 2.0Introducing Pebble SDK 2.0
Introducing Pebble SDK 2.0
 
Angular crash course
Angular crash courseAngular crash course
Angular crash course
 
JahiaOne - MVC in Jahia 7 Using Spring Web Flow
JahiaOne - MVC in Jahia 7 Using Spring Web FlowJahiaOne - MVC in Jahia 7 Using Spring Web Flow
JahiaOne - MVC in Jahia 7 Using Spring Web Flow
 
Angular%201%20to%20angular%202
Angular%201%20to%20angular%202Angular%201%20to%20angular%202
Angular%201%20to%20angular%202
 
AngularJS = Browser applications on steroids
AngularJS = Browser applications on steroidsAngularJS = Browser applications on steroids
AngularJS = Browser applications on steroids
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorial
 

Destaque

Destaque (6)

Palestra mídias sociais (EaD)
Palestra mídias sociais (EaD)Palestra mídias sociais (EaD)
Palestra mídias sociais (EaD)
 
Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)Reuters: Pictures of the Year 2016 (Part 2)
Reuters: Pictures of the Year 2016 (Part 2)
 
What's Next in Growth? 2016
What's Next in Growth? 2016What's Next in Growth? 2016
What's Next in Growth? 2016
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 
32 Ways a Digital Marketing Consultant Can Help Grow Your Business
32 Ways a Digital Marketing Consultant Can Help Grow Your Business32 Ways a Digital Marketing Consultant Can Help Grow Your Business
32 Ways a Digital Marketing Consultant Can Help Grow Your Business
 

Semelhante a Angularjs y Simple Page Applications

Inthiyaz-4.6Years-SharePoint
Inthiyaz-4.6Years-SharePointInthiyaz-4.6Years-SharePoint
Inthiyaz-4.6Years-SharePoint
Inthiyaz Pathan
 

Semelhante a Angularjs y Simple Page Applications (20)

AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
 
Module2
Module2Module2
Module2
 
Angular
AngularAngular
Angular
 
Inthiyaz-4.6Years-SharePoint
Inthiyaz-4.6Years-SharePointInthiyaz-4.6Years-SharePoint
Inthiyaz-4.6Years-SharePoint
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
 
Angular patterns
Angular patternsAngular patterns
Angular patterns
 
Angular js
Angular jsAngular js
Angular js
 
Angular presentation
Angular presentationAngular presentation
Angular presentation
 
Building share point apps with angularjs
Building share point apps with angularjsBuilding share point apps with angularjs
Building share point apps with angularjs
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
The A1 "AngularJS 1 Kick Start"
The A1 "AngularJS 1 Kick Start"The A1 "AngularJS 1 Kick Start"
The A1 "AngularJS 1 Kick Start"
 
The A1 by Christian John Felix
The A1 by Christian John FelixThe A1 by Christian John Felix
The A1 by Christian John Felix
 
Angular Interview Question & Answers PDF By ScholarHat
Angular Interview Question & Answers PDF By ScholarHatAngular Interview Question & Answers PDF By ScholarHat
Angular Interview Question & Answers PDF By ScholarHat
 
Knockout js
Knockout jsKnockout js
Knockout js
 
Anjular js
Anjular jsAnjular js
Anjular js
 
Introduction to Angularjs
Introduction to AngularjsIntroduction to Angularjs
Introduction to Angularjs
 
AngularJS in Production (CTO Forum)
AngularJS in Production (CTO Forum)AngularJS in Production (CTO Forum)
AngularJS in Production (CTO Forum)
 
The future of web development write once, run everywhere with angular js an...
The future of web development   write once, run everywhere with angular js an...The future of web development   write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular js an...
 
The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Angularjs y Simple Page Applications

  • 1. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. |© 2011 Medullan, Inc. |© 2012. Prepared by Medullan, Inc. | Ing. Jhon Samamé Gómez Septiembre 10, 2013 Simple Page Web Applications con
  • 2. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Agenda 1. AngularJs: Qué es? Por qué usarlo? 2. Expresiones y Directivas 3. Modulo 4. Enrutador 5. Controlador 6. Modelo 7. Simple Page Applications 8. Vistas Parciales 9. Comunicacion REST 10. Servicios 11. Demo 12.Recursos
  • 3. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Qué y Por qué AngularJs? • Open Source Javascript MVC Framework (como Backbone.js, Ember.js) • Mejora la Organizacion(Modulos y Servicios). • Modelos POJO(Plain Old JavaScript Objects). • Extiende el HTML(Directivas). • Inyeccion de Dependencia. • Facil de Testear (Mocking).
  • 4. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Expresiones • Usadas para pequeñas operaciones. • Usadas como {{ expresion }} • Dinamicas.
  • 5. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Directivas (Directives) • Usadas para grandes operaciones. • Extienden el HTML. • Permiten crear componentes. • Comunes: ng-model, ng-repeat, ng-switch, etc. http://bit.ly/15MQt2E
  • 6. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Componentes (Basico)
  • 7. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Componentes (Orden de Implementacion)
  • 8. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Modulo • Aplicaciones organizadas en modulos. • Pueden depender de otros modulos. • Contienen controladores, directivas, filtros, servicios, etc. • angular.module(…)
  • 9. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Enrutador • Configuracion de las rutas de nuestra aplicacion web. • Asocia la Url a una vista parcial y un controlador especifico. • $routeProvider.
  • 10. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Controlador • Definen el comportamiento. • Construyen el modelo que sera renderizado en la vista parcial. • No deben contener acceso a la UI. • Se comunican con la vista a traves del objeto $scope. • angular.controller(…)
  • 11. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Modelo • Propiedad del $scope dentro del controlador. • Cada vez que cambia, actualiza la vista. • Puede ser enlazado a la UI (textbox, labels, etc). • $scope.miModelo = [{…}];
  • 12. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Simple Page Applications • SPA o SPI (Interface) • Mejoran la experiencia del usuario (desktop). • Habilidad de cambiar la UI sin obtener el HTML desde el servidor nuevamente. • JSON, Ajax, REST,etc.
  • 13. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Vistas Parciales • Porcion de HTML que es embebido. • Se cargan dinamicamente (Ajax). • Generalmente asociadas a un Controlador. • Renderizan informacion del Modelo. • Son mantenidas en memoria por el explorador como templates.
  • 14. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | REST • Representational State Transfer. • Usa HTTP simple. • GET and POST convencionales. • GET/POST/PUT/DELETE. • Simple CRUD llevado a la web. • Autenticacion antes de ejecutar.
  • 15. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Servicios en AngularJS • Fabricas de objetos reusables. • Usa la Inyeccion de Dependencia. • Son inyectados al Controlador. • Faciles de testear. • Usados para obtener los datos desde el servidor y que seran transformados en el Modelo.
  • 16. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Demo • Servidor: nodeJs, ExpressJs • Cliente: Simple HTML, Vistas Parciales, AngularJS. • Modulo, Enrutador, Vistas Parciales, Controladores, Servicios. • Interface REST simple en NodeJs. (GET/POST)
  • 17. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Recursos •http://angularjs.org/ •https://plus.google.com/u/0/+AngularJS/posts •http://tecnimedios.com/blog/programacion/jquery/single- page-application-spa-una-tendencia-creciente/ •http://expressjs.com/guide.html •http://nodejs.org/ •http://jhonpierre.blogspot.com/ •https://jhonpierre.wordpress.com/
  • 18. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Medullan • Soluciones a medida. • Rubro: Cuidado de la Salud, Bienestar Social. • Career Manager. Ultimas Tecnologias. • Developer, Project Manager, QA Tester. • Trinidad y Tobago / USA. • Visita http://medullan.com/ • CV a careers@medullan.com • O a jsamame@medullan.com
  • 19. © 2011 Medullan, Inc. |IHS Zing Executive Checkpoint – March 29, 2011 © 2012. Prepared by Medullan, Inc. | Gracias