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
490
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
97
React
kouphax
2
680
Play for (Java|Scala)
kouphax
0
100
Devops: A Case Study
kouphax
0
60
Scala for C# Developers
kouphax
5
2.5k
Dropwizard - Production Ready Web Services
kouphax
3
1.4k
Scala for Fun & Profit
kouphax
3
610
What Agile Means To Me
kouphax
0
120
Other Decks in Technology
See All in Technology
20分で完全に理解するGrafanaダッシュボード
hamadakoji
3
670
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.7k
Gitlab本から学んだこと - そーだいなるプレイバック / gitlab-book
soudai
4
440
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
170
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
530
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
160
プラットフォームってつくることより計測することが重要なんじゃないかという話 / Platform Engineering Meetup #8
taishin
1
370
DMM.com アルファ室採用案内資料
hsugita
1
160
MapLibreとAmazon Location Service
dayjournal
1
160
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
260
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
530
VS CodeでAWSを操作しよう
smt7174
8
1.7k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
How to name files
jennybc
65
93k
Ruby is Unlike a Banana
tanoku
96
10k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
Typedesign – Prime Four
hannesfritz
36
2.1k
Raft: Consensus for Rubyists
vanstee
132
6.3k
How GitHub (no longer) Works
holman
304
140k
A Tale of Four Properties
chriscoyier
151
22k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Debugging Ruby Performance
tmm1
70
11k
Product Roadmaps are Hard
iamctodd
44
9.7k
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