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
110
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.6k
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
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
140
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
260
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
270
UI State設計とテスト方針
rmakiyama
2
660
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
850
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
100
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
170
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
110
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
280
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Why Our Code Smells
bkeepers
PRO
335
57k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
What's in a price? How to price your products and services
michaelherold
243
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Being A Developer After 40
akosma
87
590k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
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