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
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.1k
フロントエンドテストの育て方
quramy
12
3.9k
App Router 悲喜交々
quramy
8
750
上手に付き合うコンポーネントテスト
quramy
6
2.4k
Patched fetch did not work
quramy
6
800
GraphQL あるいは React における自律的なデータ取得について
quramy
18
5.9k
Next.js App Router
quramy
15
3.9k
Fragment Composition of GraphQL
quramy
17
4.9k
reg-viz VRT tools
quramy
4
1.7k
Other Decks in Programming
See All in Programming
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
460
テーブルをDELETEした
yuzneri
0
140
メールのエイリアス機能を履き違えない
isshinfunada
0
240
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
640
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
180
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
270
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
5
1.8k
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
270
Foundation Models frameworkで画像分析
ryodeveloper
1
620
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
340
源内ハンズオン概要編
hideg
0
190
今さら聞けない .NET CLI
htkym
0
200
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
A Soul's Torment
seathinner
6
3.4k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
470
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Code Review Best Practice
trishagee
74
20k
Agile that works and the tools we love
rasmusluckow
331
22k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.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 ϊϋΛڞ༗ͯ͠ཉ͍͠ʂ