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
falcor-serverless
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
2k
フロントエンドテストの育て方
quramy
12
3.8k
App Router 悲喜交々
quramy
8
730
上手に付き合うコンポーネントテスト
quramy
6
2.3k
Patched fetch did not work
quramy
6
780
GraphQL あるいは React における自律的なデータ取得について
quramy
18
5.8k
Next.js App Router
quramy
15
3.9k
Fragment Composition of GraphQL
quramy
17
4.8k
reg-viz VRT tools
quramy
4
1.7k
Other Decks in Programming
See All in Programming
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
390
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
Lessons from Spec-Driven Development
simas
PRO
0
170
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
160
dRuby over BLE
makicamel
2
330
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
Oxlintのカスタムルールの現況
syumai
6
1.1k
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
660
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
120
net-httpのHTTP/2対応について
naruse
0
470
Featured
See All Featured
Believing is Seeing
oripsolob
1
140
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Everyday Curiosity
cassininazir
0
230
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Designing for Timeless Needs
cassininazir
1
250
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
210
The agentic SEO stack - context over prompts
schlessera
0
810
We Have a Design System, Now What?
morganepeng
55
8.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
How to train your dragon (web standard)
notwaldorf
97
6.7k
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 ϊϋΛڞ༗ͯ͠ཉ͍͠ʂ