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
アプリとサーバを良い関係に保つためのサーバ設計について
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuichiro MASUI
May 27, 2014
Programming
490
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
アプリとサーバを良い関係に保つためのサーバ設計について
ニフティクラウド mobile backend勉強会 #01 〜 アプリ連携のサーバサイド設計の最適解とは? 〜
http://www.zusaar.com/event/10397005
Yuichiro MASUI
May 27, 2014
More Decks by Yuichiro MASUI
See All by Yuichiro MASUI
Coding Agent用チケットシステム - ticket.sh
masuidrive
0
68
Vue/Nuxt tutorial for Sendai
masuidrive
0
230
ハッカソンで 作ったアプリを売却した話
masuidrive
0
720
DJ hands on for IT Engineers
masuidrive
1
220
自分の棚卸をして レジュメを書こう
masuidrive
5
2.1k
0から1ヶ月で DJになるまで
masuidrive
4
1.7k
Google Apps Scriptでbotを作る話
masuidrive
1
1.8k
Rails loves React
masuidrive
1
550
トレタの存在理由
masuidrive
0
260
Other Decks in Programming
See All in Programming
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.8k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
220
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
180
Jetpack Compose メカニズム
skydoves
0
450
Heart of Swift Concurrency
koher
0
920
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
The Rails Doctrine Decade
koic
2
160
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
200
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
360
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
520
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
7.6k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
310
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Done Done
chrislema
186
16k
We Have a Design System, Now What?
morganepeng
55
8.3k
Raft: Consensus for Rubyists
vanstee
142
7.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Paper Plane
katiecoart
PRO
4
53k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
Become a Pro
speakerdeck
PRO
31
6.3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Facilitating Awesome Meetings
lara
57
7.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
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