Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
falcor-serverless
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yosuke Kurami
August 11, 2016
Programming
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
falcor-serverless
Yosuke Kurami
August 11, 2016
More Decks by Yosuke Kurami
See All by Yosuke Kurami
TypeScript LSP の今までとこれから
quramy
1
2.2k
フロントエンドテストの育て方
quramy
12
3.9k
App Router 悲喜交々
quramy
8
760
上手に付き合うコンポーネントテスト
quramy
6
2.4k
Patched fetch did not work
quramy
6
810
GraphQL あるいは React における自律的なデータ取得について
quramy
18
6k
Next.js App Router
quramy
15
4k
Fragment Composition of GraphQL
quramy
17
4.9k
reg-viz VRT tools
quramy
4
1.8k
Other Decks in Programming
See All in Programming
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
570
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
120
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
410
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
4
2.8k
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
240
Go のフラットな パッケージに 「ファイル単位の private」を 〜Linter “declscope” を作った話〜
mpyw
0
320
Jetpack Compose メカニズム
skydoves
0
420
Family mrubyの進捗
kishima
1
120
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
550
How I Stole PSI from Android Studio - DroidKaigi2026
worker8
0
130
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
240
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.3k
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Designing for Timeless Needs
cassininazir
1
480
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Automating Front-end Workflow
addyosmani
1369
210k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Optimising Largest Contentful Paint
csswizardry
37
4k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
720
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Transcript
Falcor + serverless 2016.08.09 #microserve
About me • @Quramy (Yosuke Kurami) • Frontend Web Developer
at WACUL INC. • develop SPA with Angular(1 and 2) • झຯͰTypeScript༻ͷVimϓϥΪϯ։ൃ͠·͢ • http://vimawesome.com/plugin/tsuquyomi
Falcorͬͯ·͔͢ʁ
Falcorͬͯʁ Netflix͕։ൃͨ͠API IntegrationͷΈ FacebookͷGraphQL + RelayͱࣅͨϨΠϠ
None
ʮཉ͍͠ͷΛཉ͍͚ͩ͠ʯ ΫϥΠΞϯτʹฦ͢Έ (Demand Driven Architecture)
Falcor: Access as the JSON way import { Model }
from "falcor"; import { dataSource } from "./dataSource"; import assert from "assert"; new Model({ source: dataSource, }).get( "article['123']['id', 'title']", "article['123'].author['id', 'name']" ).subscribe(response => { assert.deepEqual(response.json, { article: { "123": { id: "123", title: "graph api", author: { id: "u0001", name: "quramy" } } } }); });
Backends For Frontends (BFF) The BFF is tightly coupled to
a specific user experience, and will typically be maintained by the same team as the user interface. http://samnewman.io/patterns/architectural/bff/#bff
ཁ͢Δʹ৽͍͠αʔό͕ඞཁ
FalcorͷͨΊʹ৽͘͠ج൫ ༻ҙ͢Μͷ໘ͤ͐͘
͜ΕɺLambdaͰΑ͘Ͷʁ
࡞ͬͨϒπ(એ) • https://github.com/Quramy/falcor-lambda • FalcorͷdataSourceΛLambdaͷhandlerʹ ͢Δ܅ • https://github.com/Quramy/serverless- falcor-starter •
Serverless Framework༻Project
ࢥ͍ͬͯΔ͜ͱ • FalcorʹݶΒͣɺDemand Driven Architecture ͕͋·Γྲྀߦͬͯͳ͍(Α͏ʹݟ͑Δ) • ཧ༝1:ඞͣ͠ඞཁͳΈͰͳ͍ • ཧը໘ܥͱ͔ͳΒશવཁΒͳ͍
• Ϟσϧͷ͕গͳ͍ͱ͖خ͘͠ͳ͍
• ཧ༝2:Client, ServerͦΕͧΕʹ৽͍͠Έ Λಋೖ͢Δඞཁ͕͋ΔͷͰɺෑډ͕ߴͦ͏ • ͦΕͰ៉ྷͳAPIઃܭޮతͳϦΫΤετ ͳͲɺಘΒΕΔϝϦοτ৭ʑ͋Δͣ • BaaSͱ͔ग़࢝ΊͯΔ͠ɺօා͕Βͣʹ৮ͬ ͯΈͨΒྑ͍ͱࢥ͏ʂ
݁ • Microservicesͱ͔API Integrationͱ͔࣮ફ͠ ͍ͯΔਓୡGraphQLFalcorΛੵۃతʹ ৮ͬͯਓபn ϊϋΛڞ༗ͯ͠ཉ͍͠ʂ