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
510
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
110
Tyrannosaurus Rx
kouphax
0
110
React
kouphax
2
700
Play for (Java|Scala)
kouphax
0
110
Devops: A Case Study
kouphax
0
68
Scala for C# Developers
kouphax
5
2.6k
Dropwizard - Production Ready Web Services
kouphax
3
1.5k
Scala for Fun & Profit
kouphax
4
610
What Agile Means To Me
kouphax
0
120
Other Decks in Technology
See All in Technology
次世代KYC活動報告 / 20250219-BizDay17-KYC-nextgen
oidfj
0
250
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
2k
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
360
人はなぜISUCONに夢中になるのか
kakehashi
PRO
6
1.6k
ホワイトボードチャレンジ 説明&実行資料
ichimichi
0
130
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
16
6.6k
Building Products in the LLM Era
ymatsuwitter
10
5.4k
Cloud Spanner 導入で実現した快適な開発と運用について
colopl
1
560
N=1から解き明かすAWS ソリューションアーキテクトの魅力
kiiwami
0
130
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
130
エンジニアの育成を支える爆速フィードバック文化
sansantech
PRO
3
1.1k
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
2
350
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Bash Introduction
62gerente
611
210k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
4 Signs Your Business is Dying
shpigford
182
22k
Making Projects Easy
brettharned
116
6k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Docker and Python
trallard
44
3.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Thoughts on Productivity
jonyablonski
69
4.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Gamification - CAS2011
davidbonilla
80
5.1k
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