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
StackMob: Baas meets PaaS
Search
James Hughes
September 13, 2012
Technology
2
500
StackMob: Baas meets PaaS
An introduction to StackMob.
James Hughes
September 13, 2012
Tweet
Share
More Decks by James Hughes
See All by James Hughes
Functional Programming with Clojure
kouphax
1
100
Tyrannosaurus Rx
kouphax
0
110
React
kouphax
2
690
Play for (Java|Scala)
kouphax
0
110
Devops: A Case Study
kouphax
0
67
Scala for C# Developers
kouphax
5
2.5k
Dropwizard - Production Ready Web Services
kouphax
3
1.5k
Scala for Fun & Profit
kouphax
3
610
What Agile Means To Me
kouphax
0
120
Other Decks in Technology
See All in Technology
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
130
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.5k
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
7
680
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
2
230
OS 標準のデザインシステムを超えて - より柔軟な Flutter テーマ管理 | FlutterKaigi 2024
ronnnnn
1
300
強いチームと開発生産性
onk
PRO
35
12k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
200
アジャイルチームがらしさを発揮するための目標づくり / Making the goal and enabling the team
kakehashi
3
150
複雑なState管理からの脱却
sansantech
PRO
1
160
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
CDCL による厳密解法を採用した MILP ソルバー
imai448
3
180
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
43
13k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Facilitating Awesome Meetings
lara
50
6.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Being A Developer After 40
akosma
87
590k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Producing Creativity
orderedlist
PRO
341
39k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
How to Ace a Technical Interview
jacobian
276
23k
Transcript
StackMob BaaS meets PaaS
l PaaS IaaS SaaS
HTML5 n
n l
Data Storage User Management Push Notifications Social Integration Geo Awareness
yorAPI StackMob Spire Sencha.io Scotty QuickBlox Parse Open Mobster mobDB
Kinvey Kii iKnode Flurry AppCloud CloudyRec CloudMine Buddy Applicasa Appcelerator API-o-mat Apigee UserGrid
StackMob
None
[[StackMob stackmob] post:@"chatmessage" withArguments:args andCallback:^(BOOL success, id result) { if
(success) { NSDictionary *resultObj = (NSDictionary *)result; NSString *itemId = [resultObj objectForKey:@"chatmessage_id"]; } else { // handle object creation failure } }];
Map<String, String> args = new HashMap<String, String>(); args.put("message", "hello world!");
args.put("author", "johndoe"); StackMobCommon.getStackMobInstance().post("chatmessage", args, new StackMobCallback() { @Override public void success(String responseBody) { //POST succeeded } @Override public void failure(StackMobException e) { //POST failed } });
var ChatMessage = StackMob.Model.extend({ schemaName: 'chatmessage' }); var message =
new ChatMessage({ message: 'hello world!', author: 'johndoe' }); message.create({ success: function(model) { // handle success }, error: function(model, response) { // handle failure } });
None
None
class HelloWorldExample extends CustomCodeMethod { override def getMethodName: String =
{ "hello_world" } override def getParams: java.util.List[String] = { Arrays.asList() } override def execute( request: ProcessedAPIRequest, serviceProvider: SDKServiceProvider): ResponseToProcess = { val params = Map("msg" -> "hello world!").asJava new ResponseToProcess(HTTP_OK, params) } }
StackMob.customcode('hello_world', {}, { success: function(jsonResult) { //jsonResult = { "msg":
"Hello, world!" } }, error: function(failure) { //doh! } });
None
Schemas Relationships Environments Permissions
A Guy Did Tour
StackMob BaaS meets PaaS