Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Loopback + Angular.js

Yuren Ju
March 12, 2015

Loopback + Angular.js

Yuren Ju

March 12, 2015
Tweet

More Decks by Yuren Ju

Other Decks in Technology

Transcript

  1. Yuren u Mozilla (pervious) u Speed3D (now) u Open Source

    Community u COSCUP, Hacking Thursday, KaLUG u 割闌尾計畫, g0v u 60% front-end developer u 40% backend developer
  2. Loopback u Powerful Node.js framework for creating APIs and easily

    connecting to backend data sources. u Easy-to-use CLI wizard u Built-in API Explorer
  3. Let’s live demo! u Create an API service for multiple

    sites blog system u Models u User u Article u Comment
  4. Strongloop Arc u A graphical UI for the StrongLoop Platform

    that complements the slc command line tools for developing APIs quickly and getting them connected to data. Arc also includes tools for building, profiling and monitoring Node apps.
  5. DŽ

  6. DŽ API does not consist between node.js and angular.js u

    Node u article.comments.create(<comment object>, callback); u Comment.create({articleId: article.id, …}, callback); u Angular.js u Article.comments.create({id: article.id}, <comment object>, successCb); u Article.comments.create({id: article.id}, <comment object>).$promise.then(cb);