Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Loopback + Angular.js
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuren Ju
March 12, 2015
Technology
620
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Loopback + Angular.js
Yuren Ju
March 12, 2015
More Decks by Yuren Ju
See All by Yuren Ju
Taste Cucumber.js - JavaScript BDD Framework
yurenju
0
190
Code For America 見聞錄 - 社會安全網
yurenju
0
250
Impossible Election for recall in Taiwan
yurenju
1
530
物資管理系統與災民證
yurenju
0
1.1k
JavaScript 開發流程自動化懶人包
yurenju
38
6.1k
Code Coverage -- Javascript Frontend + Backend
yurenju
14
8.1k
bifrost 物資管理系統
yurenju
4
330
Gaia Build System introduction
yurenju
2
220
Open Data Initiatives for Taiwan
yurenju
0
390
Other Decks in Technology
See All in Technology
タクシーアプリ『GO』の実践的データ活用〜位置情報データの収集とStreamlitでの可視化〜
mot_techtalk
2
200
新しい SLO が良い感じにハマっている話
z63d
4
2.1k
Cursor Meetup Sapporo - Cursor物語 続編
cocacola917
0
110
え?フロントエンドエンジニアの ワイがインフラも!?
puku0x
0
180
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
340
現場で使える AWS DevOps Agent 活用ノウハウ - Release Management 機能の検証結果を添えて / AWS DevOps Agent Release Management and Know-How
kinunori
5
930
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
AI時代の強いチームの作り方
yuukiyo
23
15k
ガバメントクラウドでのランサムウェア対策
techniczna
1
690
[しろおび夏祭り2026] チャットするAIから、作業するAIへ - 使われ方の変化と、その裏側で起きていること
kk0n
0
1.5k
実践が先生だった— 新卒サーバーエンジニア1年目のリアル
mixi_engineers
PRO
0
250
MIRU 2026 チュートリアル
keisuke198619
0
750
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.3k
How GitHub (no longer) Works
holman
316
150k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
119
120k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How to build a perfect <img>
jonoalderson
1
5.8k
Faster Mobile Websites
deanohume
310
32k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
Building an army of robots
kneath
306
46k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
350
New Earth Scene 8
popppiees
3
2.5k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Transcript
Loopback + Angular Yuren Ju DŽ
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
None
December A new project…
Finding a backend for creating web APIs service
None
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
Easy to develop – e.g. Bifrost
Loopback app architecture example Method Model App Loopback Project find()
create() User find() ...
Use CLI for… u Model u Relationship u ACLs
Create stuffs by cli u$ slc loopback:model u$ slc loopback:relation
u$ slc loopback:acl
Let’s live demo! u Create an API service for multiple
sites blog system u Models u User u Article u Comment
DEMO…
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.
Client sdk u Angulars.js u Android u iOS
Generate Angular.js SDK $ lb-‐ng server/server.js clients/lb-‐services.js $ lb-‐ng-‐doc clients/lb-‐services.js
DŽ
DŽ lb-ng-doc Answer: Refresh page again
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);
DŽ Model hook beforeUpdate() does not work https://github.com/strongloop/loopback-datasource-juggler/issues/159
DŽ Model description is not generated by lb-ng-doc https://github.com/strongloop/loopback-sdk-angular/issues/132
DŽ Some APIs aren’t generated with “hasOne” relationship X
DŽ Remote method does not apply ACL rules http://docs.strongloop.com/display/public/LB/Defining+and+using+roles
MS SQL data source does not map right type Number
=> Integer…
Just like fog of war…
But, if I can choose again…
None