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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
200
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.2k
bifrost 物資管理系統
yurenju
4
340
Gaia Build System introduction
yurenju
2
220
Open Data Initiatives for Taiwan
yurenju
0
390
Other Decks in Technology
See All in Technology
本番に近いテストをもっと手軽に - Postmanで広がるAPIテストの世界 / Expanding the World of API Testing with Postman
yokawasa
1
240
深夜のクラウド懺悔室 1:29:300 or 1:0:0
kazzpapa3
0
120
Level Up Your CDK DX: 5 Tools I’ve Been Building
gotok365
2
190
[RSJ26] NarrativeFlow: Flow-Based Vision-Language-Action Model Using Robot Velocity Fields
keio_smilab
PRO
0
150
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
140
20260906 「AWS運用入門」著者が教える、運用業務への生成AI活用入門
masaruogura
0
220
いかに伝えるか 〜新卒エンジニアの教育のための、ライトノベル活用の一例
ikedon
1
180
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
300
AIで実装は速くなった。なのにプロダクトは速くならない。職能の壁を越えて価値のフローを設計する
nwiizo
6
6.7k
AIで開発は速くなったのに、なぜ現場は楽にならないのか 〜あなたの組織のボトルネックを突き止めるワークショップ〜
jacopen
1
250
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
100
2026-09-04 SRE Tech Talk #15 怠惰なTerraform / Lazy Terraform
masasuzu
0
170
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
4
560
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
970
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
The Invisible Side of Design
smashingmag
301
52k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
410
Making the Leap to Tech Lead
cromwellryan
135
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
Ruling the World: When Life Gets Gamed
codingconduct
0
320
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
720
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