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
アプリとサーバを良い関係に保つためのサーバ設計について
Search
Yuichiro MASUI
May 27, 2014
Programming
0
470
アプリとサーバを良い関係に保つためのサーバ設計について
ニフティクラウド mobile backend勉強会 #01 〜 アプリ連携のサーバサイド設計の最適解とは? 〜
http://www.zusaar.com/event/10397005
Yuichiro MASUI
May 27, 2014
Tweet
Share
More Decks by Yuichiro MASUI
See All by Yuichiro MASUI
Vue/Nuxt tutorial for Sendai
masuidrive
0
140
ハッカソンで 作ったアプリを売却した話
masuidrive
0
650
DJ hands on for IT Engineers
masuidrive
1
160
自分の棚卸をして レジュメを書こう
masuidrive
5
1.9k
0から1ヶ月で DJになるまで
masuidrive
4
1.5k
Google Apps Scriptでbotを作る話
masuidrive
1
1.7k
Rails loves React
masuidrive
1
450
トレタの存在理由
masuidrive
0
190
18年でRubyから学んだこと - 関西Ruby会議 2017
masuidrive
3
2.2k
Other Decks in Programming
See All in Programming
ナレッジイネイブリングにAIを活用してみる ゆるSRE勉強会 #9
nealle
0
170
技術を改善し続ける
gumioji
0
180
CloudNativePGを布教したい
nnaka2992
0
120
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.9k
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
230
やっと腹落ち「スプリント毎に動くモノをリリースする」〜ゼロから始めるメガバンクグループのアジャイル実践〜
sasakendayo
0
190
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.9k
TCAを用いたAmebaのリアーキテクチャ
dazy
0
230
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
850
⚪⚪の⚪⚪をSwiftUIで再現す る
u503
0
130
Jakarta EE meets AI
ivargrimstad
0
680
AIレビュー導入によるCIツールとの共存と最適化
kamo26sima
1
940
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
115
51k
Why Our Code Smells
bkeepers
PRO
336
57k
A designer walks into a library…
pauljervisheath
205
24k
How to Ace a Technical Interview
jacobian
276
23k
Bash Introduction
62gerente
611
210k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
660
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Automating Front-end Workflow
addyosmani
1369
200k
Transcript
ΞϓϦͱαʔόΛྑ͍ؔʹอͭͨΊͷ αʔόઃܭʹ͍ͭͯ Yuichiro MASUI a.k.a. masuidrive
ΞϓϦ͚αʔόߏ Mobile App DB API Server
ΞϓϦ͚αʔόߏ • API͕ఏڙ͢ΔͷɺओʹϞσϧ෦ • ίϯτϩʔϥͱϏϡʔ෦ΞϓϦΛ࣋ͭ
RailsͰ • resourcesͱ͍͏ߟ͑ • /sign_inͰͳ͘ɺPOST /sessions • ը໘ͷߏʹ͋·Γࠨӈ͞Εͳ͍
URLઃܭRESTful • ͏ࠓ͞Βݴ͏͜ͱແ͍ • /XXX/:id/YYY͙Β͍·Ͱͷਂ͕͞Φεεϝ
ޙํޓੑ • ৗʹҙࣝ͢Δඞཁ • URLʹόʔδϣϯΛؚΊΔ͔
ςετ • APIςετΛߦ͍͍͢ • HTTPϨΠϠʔͰςετ͠Α͏ • Railsͷrack-testΛΦεεϝ
ೝূ • APIઃܭͰҰ൪Ε͍͚ͯͳ͍ • OAuth2 providerʹͳ͓ͬͯ͜͏ • ಛผͳconsumerͰೝূͨ͠߹ͷΈ֬ೝը໘Λ ग़͞ͳ͍
WebαΠτͰ • BackboneAngularJS͕Ϗϡʔͱίϯτϩʔϥ • Ϋϩʔϥ͕ಧ͖ʹ͍͘ ← SEO