Consumiendo una API REST con AngularJS

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Consumiendo una API REST con AngularJS

César Suárez Ortega

February 11, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

17 slides
  1. CONSUMIENDO UNA API REST CON ANGULARJS César Suárez Ortega <[email protected]>

    II Jornadas Técnicas UEx – CIEMAT: Introducción a NoSQL con MongoDB 9 – 11 de Febrero, 2016
  2. “Dependency Injection” is a 25-dollar term for a 5-cent concept.

    James Shore http://www.jamesshore.com/Blog/Dependency-Injection-Demystified.html
  3. Inyección de dependencias public class Example { private DatabaseThingie myDatabase;

    //SIN inyección de dependencias public Example() { myDatabase = new DatabaseThingie(); } //CON inyección de dependencias public Example(DatabaseThingie useThisDatabaseInstead) { myDatabase = useThisDatabaseInstead; } public void doStuff() { myDatabase.GetData(); } }
  4. Sobre AngularJS  Framework JavaScript Extiende HTML Muchas facilidades para organizar

    nuestro front-end. Aproximación declarativa. <button ng-click="addLol()">Touch me</button> DEPRECATED
  5. $ curl –sL https://deb.nodesource.com/setup | sudo bash - $ sudo

    apt-get install nodejs build-essential ruby ruby-dev $ git clone https://github.com/csuarez/juc-mongodb-web.git $ cd juc-mongodb-web $ sudo npm –g install grunt-cli $ sudo npm –g install bower $ sudo gem install compass $ npm install $ bower install --allow-root $ grunt serve Arrancando la web https://github.com/csuarez/juc-mongodb-web

More Decks by César Suárez Ortega

Other Decks in Programming