Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
StackMob: Baas meets PaaS
James Hughes
September 13, 2012
Technology
2
470
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
88
Tyrannosaurus Rx
kouphax
0
74
React
kouphax
2
650
Play for (Java|Scala)
kouphax
0
88
Devops: A Case Study
kouphax
0
55
Scala for C# Developers
kouphax
5
2.5k
Dropwizard - Production Ready Web Services
kouphax
3
1.3k
Scala for Fun & Profit
kouphax
3
600
What Agile Means To Me
kouphax
0
110
Other Decks in Technology
See All in Technology
psql, my favorite tool!
nuko_yokohama
1
180
データをコネコネ!メール配信用データ生成の仕組み
kappezoro
0
110
cobra は便利になっている
nwiizo
0
130
セキュキャンを卒業してその後
kurochan
0
450
OpenShiftのサポートを始めるぞ!高頻度で更新されるOSSを効果的にキャッチアップする仕組みを考えました!
loftkun
0
330
AWS CLI でやってみる ~ AWS Hands-on for Beginners ECS ハンズオン ~
kentosuzuki
1
370
GCCP Creator @ COSCUP 2022
line_developers_tw
PRO
0
1.4k
脆弱性スキャナのOWASP ZAPを コードベースで扱ってみる / OWASP ZAP on a code base
task4233
1
220
Backlog × RPAでいろいろ捗った話
z_tetsu
0
370
hey BOOK
heyinc
26
290k
Microsoft Data Analytics trends : ”Lakehouse” , ”Data Mesh"
ryomaru0825
2
120
Oracle Cloud Infrastructure:2022年7月度サービス・アップデート
oracle4engineer
PRO
0
170
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
35
6.8k
Web development in the modern age
philhawksworth
197
9.3k
Clear Off the Table
cherdarchuk
79
290k
It's Worth the Effort
3n
172
26k
Designing for Performance
lara
597
63k
Designing with Data
zakiwarfel
91
4k
Ruby is Unlike a Banana
tanoku
91
9.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
638
52k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
980
Bash Introduction
62gerente
598
210k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
10k
The Web Native Designer (August 2011)
paulrobertlloyd
75
2k
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