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
520
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
120
Tyrannosaurus Rx
kouphax
0
120
React
kouphax
2
720
Play for (Java|Scala)
kouphax
0
120
Devops: A Case Study
kouphax
0
78
Scala for C# Developers
kouphax
5
2.6k
Dropwizard - Production Ready Web Services
kouphax
3
1.6k
Scala for Fun & Profit
kouphax
4
630
What Agile Means To Me
kouphax
0
140
Other Decks in Technology
See All in Technology
ZOZOTOWNフロントエンドにおけるディレクトリの分割戦略
zozotech
PRO
18
5.9k
KiroでGameDay開催してみよう(準備編)
yuuuuuuu168
1
160
浸透しなさいRFC 5322&7208
hinono
0
130
AIエージェントの活用に重要な「MCP (Model Context Protocol)」とは何か
masayamoriofficial
0
210
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
180
見てわかるテスト駆動開発
recruitengineers
PRO
6
2.1k
LLMエージェント時代に適応した開発フロー
hiragram
1
460
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
4
1.7k
Kiroと学ぶコンテキストエンジニアリング
oikon48
2
280
トヨタ生産方式(TPS)入門
recruitengineers
PRO
5
1.2k
モバイルアプリ研修
recruitengineers
PRO
5
1.5k
AIエージェントの開発に必須な「コンテキスト・エンジニアリング」とは何か──プロンプト・エンジニアリングとの違いを手がかりに考える
masayamoriofficial
0
470
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
How STYLIGHT went responsive
nonsquared
100
5.8k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Building an army of robots
kneath
306
46k
Navigating Team Friction
lara
189
15k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
Building Adaptive Systems
keathley
43
2.7k
A Tale of Four Properties
chriscoyier
160
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