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
BaaS -appiaries- 概要
Search
gabunomi
January 18, 2013
Technology
3
450
BaaS -appiaries- 概要
gabunomi
January 18, 2013
Tweet
Share
More Decks by gabunomi
See All by gabunomi
BaaS概要
gabunomi_
1
130
Other Decks in Technology
See All in Technology
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
150
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
120
20250116_自部署内でAmazon Nova体験会をやってみた話
riz3f7
1
100
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
250
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.5k
dbtを中心にして組織のアジリティとガバナンスのトレードオンを考えてみた
gappy50
0
290
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.5k
AWS Community Builderのススメ - みんなもCommunity Builderに応募しよう! -
smt7174
0
180
デジタルアイデンティティ人材育成推進ワーキンググループ 翻訳サブワーキンググループ 活動報告 / 20250114-OIDF-J-EduWG-TranslationSWG
oidfj
0
540
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
160
AWS re:Invent 2024 recap in 20min / JAWSUG 千葉 2025.1.14
shimy
1
100
【NGK2025S】動物園(PINTO_model_zoo)に遊びに行こう
kazuhitotakahashi
0
240
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Producing Creativity
orderedlist
PRO
343
39k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Code Reviewing Like a Champion
maltzj
521
39k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Transcript
appiaries B-1 2
2 • • • appiaries API • twitter @gabunomi_ •
– Java – – – –
3 BaaS, NTT PARM ※ URL http://www.pcp.co.jp/works/index.php
appiaries API 4
appiaries API 5
appiaries 6 appiaries BaaS Backend as a Service β 2012/03/22
2012/11/27 StackMob 2010/10 Kinvey 2010/12 Parse 2011/06
appiaries 7 appiaries JSON , CRUD / / / CRUD,
OAuth appiaries , CRUD REST API
appiaries 8 appiaries JSON , CRUD / / / CRUD,
OAuth appiaries , CRUD SDK SDK REST API Wrap SDK HTTP SDK HTTP SDK URI REST API
appiaries API 9
10 β β m(_ _)m
11 20MB A A 1 , , , ID, /
10764 3MB
appiaries API 12
13
14 _sandbox oauth_pb offices oauth_cb function offices station Windows ,
15 datastore datastore
16 datastore “ ” ” ”
17 datastore
18 datastore JSON PNG
appiaries API 19
1. 2. ID Read Only / 3. datastore manager 4.
5. / / / 20
21 datastore manager -JSON -
22 datastore manager -JSON -
23 JSON datastore manager – JSON -
24 JSON datastore manager – JSON -
25 datastore manager – -
appiaries API 26
27 JSON JSON API _sandbox ID sample_app_abe json file ID
ID ID
28 JSON JSON API _sandbox ID sample_app_abe json ID ID
https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json/- JSON
29 https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json/- API – JSON - JSON JSON _sandbox sample_app_abe
json ID 1 JSON API API
30 https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json/- API – JSON - JSON JSON _sandbox sample_app_abe
json ID datastore, , ID API
31 https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json/- API – JSON - JSON JSON _sandbox sample_app_abe
json ID ”-” API
32 API – - /shibuya ⇒ ID ”shibuya” JSON API
33 /shibuya/name ⇒ ID ”shibuya” JSON name API – -
API
34 /tokyo/address ⇒ ID ”tokyo” JSON address API – -
API
35 /shibuya?sel=road,name ⇒ ID ”shibuya” JSON road, name ※ ”sel”
”excpt” API – - API
36 /11-20 ⇒ JSON 11 20 • _total _total _total
_total 29 29 29 29 • _ _ _ _objs objs objs objs JSON JSON JSON JSON • _start _start _start _start 11 11 11 11 • _end _end _end _end 20 20 20 20 • _ _ _ _prev prev prev prev true true true true 11 11 11 11 • _next _next _next _next true true true true 20 20 20 20 ) ) ) ) ※ ”-20” 1 20 ※ “11-” 11 110 API – - API
37 /1-3?sel=_id&order=_id ⇒ _id JSON + sel ※ ※ ”-”
_id API API – -
38 /-;name.eq. ?sel=road,name ⇒ name ” ” JSON + road,
name API API – -
39 /-;< 1>;< 2>; ⇒ JSON 1 2 wib km
wic < 1>, ,< n> in < > ( ) sw (nsw) < > ( ) gt (gte) < > ( ) lt (lte) < > ( ) eq (neq) / exist /-;name.eq. API API – - Matrix URI
40 Google API
41 $.ajax({ “type”:”get”, “url”:”https://.../-;_coord.wib.139.689...,35.653...,139.715...,35.667...”, “success”: function(res) { $.each GoogleMap }
}); Google API
42 API Google
43 $.ajax({ "type":"get", “url”:”https://.../-;_coord.wic.139.702...,35.659...,0.5”, “success”: function(res) { , $.each GoogleMap
} }); API Google
44 API –JSON - JSON JSON _sandbox sample_app_abe json ID
API datastore, , ID https://api-datastore.appiaries.com/v1/dat/_sandbox/sample_app_abe/json JSON
45 HTTP POST • JSON • Content-Type ”application/json” $.ajax({ "type":"post",
“url”:”https://.../<datastore ID>/< ID>/< ID>”, "headers":{"Content-Type":"application/json"}, “data”:”<JSON >”, }); API API –JSON -
46 HTTP PATCH (POST ) • JSON • Content-Type ”application/json”
• HTTP PATCH ”proc=patch” HTTP POST POST $.ajax({ "type":"post", “url”:”https://.../<datastoreID>/< ID>/< ID>/<JSON ID>?proc=patch”, "headers":{"Content-Type":"application/json"}, “data”:”<JSON >”, }); API API –JSON -
47 /< ID>/<JSON ID> DELETE /< ID>/<JSON ID> PATCH /<
ID>/-;< 1>; PATCH DELETE PUT POST GET GET /< ID>/-;< 1>; /< ID>/<JSON ID> /< ID> /< ID>/-;< 1>; /< ID>/<JSON ID> /dat/<datastore ID>/< ID> ※ /dat/ ⇒ /bin/ API API –JSON -
appiaries API 48
49 _sandbox ID sample_app_abe ID https://api-datastore.appiaries.com/v1/usr/_sandbox/sample_app_abe/- _user ID API 1
ID
50 API – - /< ID>/< ID> DELETE /< ID>/<
ID> PATCH PATCH DELETE PUT POST GET GET /< ID> /< ID>/-;< 1>; /< ID>/< ID> /usr/<datastore ID>
51 API ”access_token” ”X-Appiaries-Token” ID
52 $.ajax({ “url”:”https://.../<datastore>/< >/< >?access_token=< ID>”, }); $.ajax({ “url”:”https://.../<datastore>/< >/<
>”, “headers”:{“X-Appiaries-Token”:”< ID>”, } });
53 _sandbox ID sample_app_abe ID https://api-datastore.appiaries.com/v1/tkn/_sandbox/sample_app_abe _token ID API 1
ID
54 /tkn/<datastore ID> API – - /< ID>/< ID> DELETE
PATCH PATCH DELETE PUT POST GET GET /< ID> /< ID>/< ID> ※ ID
55 URL
appiaries API 56
57 API – - ADMIN OWNER SIGNIN ALL datastore manager
/ / /
58 API – - / / datastore manager ADMIN SIGNIN
ADMIN ADMIN
59 API – - / SIGNIN ALL OWNER OWNER
appiaries API 60
61 iOS , Android SNS Facebook, Twitter BaaS
62 HTML GET JSON HTML 2 GET HTML API BaaS
63 JSON / datastore manager appiaries datastore manager CMS datastore
manager
B-1 2