HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero
-
Upload
marcocasario -
Category
Technology
-
view
457 -
download
1
description
Transcript of HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero
![Page 1: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/1.jpg)
Cesare Rocchi
Back-end ecosystems for your applications
@baasbox
Claudio Tesoriero
Monday, February 25, 13
![Page 2: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/2.jpg)
SWIPE CONFERENCE 2012
• Needs when choosing a backend
• Features
• Overview of different approaches
Outline
Monday, February 25, 13
![Page 3: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/3.jpg)
SWIPE CONFERENCE 2012
Who am I?
Monday, February 25, 13
![Page 4: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/4.jpg)
SWIPE CONFERENCE 2012
UX designer and developer
Monday, February 25, 13
![Page 5: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/5.jpg)
SWIPE CONFERENCE 2012
Who are you?
Monday, February 25, 13
![Page 6: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/6.jpg)
SWIPE CONFERENCE 2012
Quick version
Monday, February 25, 13
![Page 7: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/7.jpg)
SWIPE CONFERENCE 2012
It’s complicated
Monday, February 25, 13
![Page 8: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/8.jpg)
SWIPE CONFERENCE 2012
Thank you!
Monday, February 25, 13
![Page 9: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/9.jpg)
SWIPE CONFERENCE 2012
• Not apps where mobile is “just a view”
• Apps which are inherently mobile
• From web to app
• App needs a back-end
App Target
Monday, February 25, 13
![Page 10: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/10.jpg)
SWIPE CONFERENCE 2012
Examples
Monday, February 25, 13
![Page 11: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/11.jpg)
SWIPE CONFERENCE 2012
dayoneapp.com
Monday, February 25, 13
![Page 12: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/12.jpg)
SWIPE CONFERENCE 2012
culturedcode.com/things
Monday, February 25, 13
![Page 13: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/13.jpg)
SWIPE CONFERENCE 2012
Questions
Monday, February 25, 13
![Page 14: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/14.jpg)
SWIPE CONFERENCE 2012
Have I to manage it?
Monday, February 25, 13
![Page 15: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/15.jpg)
SWIPE CONFERENCE 2012
• At which level?
• Am I able to do it?
• Have I time to learn?
• Is it worth it?
Have I to manage it?
Monday, February 25, 13
![Page 16: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/16.jpg)
SWIPE CONFERENCE 2012
What’s the synch model?
Monday, February 25, 13
![Page 17: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/17.jpg)
SWIPE CONFERENCE 2012
• Does it match my goals?
• Can I change it if needed?
•What about protocols?
What’s the synch model?
Monday, February 25, 13
![Page 18: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/18.jpg)
SWIPE CONFERENCE 2012
Have I to pay?
Monday, February 25, 13
![Page 19: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/19.jpg)
SWIPE CONFERENCE 2012
Have I to pay?
Monday, February 25, 13
![Page 20: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/20.jpg)
SWIPE CONFERENCE 2012
Who is to pay?
Monday, February 25, 13
![Page 21: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/21.jpg)
SWIPE CONFERENCE 2012
Impact on UX?
Monday, February 25, 13
![Page 22: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/22.jpg)
SWIPE CONFERENCE 2012
• Does it break any flow?
• How frequently?
• is it “ok” with that?
Impact on UX?
Monday, February 25, 13
![Page 23: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/23.jpg)
SWIPE CONFERENCE 2012
Lock-in?
Monday, February 25, 13
![Page 24: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/24.jpg)
SWIPE CONFERENCE 2012
• How to migrate data?
• Switching cost?
• Effort
• Code front-end
• Data compatibility
• Cash
Lock-in?
Monday, February 25, 13
![Page 25: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/25.jpg)
SWIPE CONFERENCE 2012
• iCloud
• Dropbox
• Custom
• Back-end as a Service (BaaS)
Options
Monday, February 25, 13
![Page 26: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/26.jpg)
SWIPE CONFERENCE 2012
What is iCloud?
Monday, February 25, 13
![Page 27: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/27.jpg)
SWIPE CONFERENCE 2012
Stores and synchs stuff
Monday, February 25, 13
![Page 28: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/28.jpg)
SWIPE CONFERENCE 2012
It just works ...
Monday, February 25, 13
![Page 29: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/29.jpg)
SWIPE CONFERENCE 2012
... when it works.
Monday, February 25, 13
![Page 30: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/30.jpg)
SWIPE CONFERENCE 2012
Monday, February 25, 13
![Page 31: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/31.jpg)
SWIPE CONFERENCE 2012
Monday, February 25, 13
![Page 32: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/32.jpg)
SWIPE CONFERENCE 2012
Monday, February 25, 13
![Page 33: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/33.jpg)
SWIPE CONFERENCE 2012
Monday, February 25, 13
![Page 34: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/34.jpg)
SWIPE CONFERENCE 2012
• Have I to manage it?
•What’s the synch model?
•Who’s to pay?
• Impact on UX?
• Lock-in?
Questions
Monday, February 25, 13
![Page 35: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/35.jpg)
SWIPE CONFERENCE 2012
• Learn the API
• Apple takes care of
• installation
• scalability
Have I to manage it?
Monday, February 25, 13
![Page 36: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/36.jpg)
SWIPE CONFERENCE 2012
What’s the synch model?
Monday, February 25, 13
![Page 37: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/37.jpg)
SWIPE CONFERENCE 2012
•Monitors changes
•Works on metadata
• Shreds files
• Supports conflict resolution
Daemon
Monday, February 25, 13
![Page 38: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/38.jpg)
SWIPE CONFERENCE 2012
Special folder, synched
Monday, February 25, 13
![Page 39: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/39.jpg)
SWIPE CONFERENCE 2012
Synched when “appropriate”
Monday, February 25, 13
![Page 40: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/40.jpg)
SWIPE CONFERENCE 2012
• Key-value
• Documents
• CoreData
Types of Information
Monday, February 25, 13
![Page 41: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/41.jpg)
SWIPE CONFERENCE 2012
• The final user
• Your app will use his quota
• 5Gb for free
Who’s to pay?
Monday, February 25, 13
![Page 42: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/42.jpg)
SWIPE CONFERENCE 2012
Impact on UX?
Monday, February 25, 13
![Page 43: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/43.jpg)
SWIPE CONFERENCE 2012
• User expectation
• No control on upload
• “Why isn’t there?”
• Open the app to synch
• User turns off iCloud?
Impact on UX?
Monday, February 25, 13
![Page 44: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/44.jpg)
SWIPE CONFERENCE 2012
Lock-in• Huge
• Only on iOS
• No way to migrate
Monday, February 25, 13
![Page 45: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/45.jpg)
SWIPE CONFERENCE 2012
Dropbox
Monday, February 25, 13
![Page 46: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/46.jpg)
SWIPE CONFERENCE 2012
• File-based
• Special folder
• Synchronized across devices
• Supports other platforms
Dropbox
Monday, February 25, 13
![Page 47: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/47.jpg)
SWIPE CONFERENCE 2012
• Already set up
• installation
• bandwidth
• scalability
Have I to manage it?
Monday, February 25, 13
![Page 48: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/48.jpg)
SWIPE CONFERENCE 2012
• Desktop synchronizes continuously
•Mobile apps have to query the backend
• HTTP API
• SDKs for iOS, Android, Ruby, Python
What’s the synch model?
Monday, February 25, 13
![Page 49: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/49.jpg)
SWIPE CONFERENCE 2012
• No conflict resolution (revision #)
• Data serialization is up to you
• No file shredding
What’s the synch model?
Monday, February 25, 13
![Page 50: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/50.jpg)
SWIPE CONFERENCE 2012
• The final user
• Your app will use his disk quota
• 2 Gb for free
Who’s to pay?
Monday, February 25, 13
![Page 51: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/51.jpg)
SWIPE CONFERENCE 2012
• Authentication the first time
• User might modify files
• Control on the upload
Impact on UX?
Monday, February 25, 13
![Page 52: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/52.jpg)
SWIPE CONFERENCE 2012
Lock-in• None
• Each user owns his data
• Personal/team usage
• ... but nothing more
Monday, February 25, 13
![Page 53: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/53.jpg)
SWIPE CONFERENCE 2012
• box.net
• sugarsync.com
• google drive
• amazon S3
Similar
Monday, February 25, 13
![Page 54: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/54.jpg)
SWIPE CONFERENCE 2012
Custom
Monday, February 25, 13
![Page 55: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/55.jpg)
SWIPE CONFERENCE 2012
Monday, February 25, 13
![Page 56: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/56.jpg)
SWIPE CONFERENCE 2012
IaaS PaaS SaaS
Monday, February 25, 13
![Page 57: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/57.jpg)
SWIPE CONFERENCE 2012
• Data
• Application
IaaS PaaS SaaS• Data
• Application
• Runtime
•Middleware
• OS
Monday, February 25, 13
![Page 58: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/58.jpg)
SWIPE CONFERENCE 2012
• Data
• Application
IaaS PaaS SaaS• Data
• Application
• Runtime
•Middleware
• OS
AWS, Rackspace, ... Heroku, Appfog, ... Baasbox
Monday, February 25, 13
![Page 59: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/59.jpg)
SWIPE CONFERENCE 2012
• Data
• Application
• Data
• Application
• Runtime
•Middleware
• OS
IaaS PaaS
AWS, Rackspace, ... Heroku, Appfog, ...
Monday, February 25, 13
![Page 60: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/60.jpg)
SWIPE CONFERENCE 2012
• Data
• Application
PaaS
Monday, February 25, 13
![Page 61: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/61.jpg)
SWIPE CONFERENCE 2012
•Which language?
•Which DB?
PaaS Questions
Monday, February 25, 13
![Page 62: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/62.jpg)
SWIPE CONFERENCE 2012
Heroku
Monday, February 25, 13
![Page 63: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/63.jpg)
SWIPE CONFERENCE 2012
• Ruby
• Python
• Java
• Scala
• Closure
• Node.js
Languages
Monday, February 25, 13
![Page 64: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/64.jpg)
SWIPE CONFERENCE 2012
• Postgres
•MySQL (via addon)
•MongoDB (via addon)
DBs
Monday, February 25, 13
![Page 65: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/65.jpg)
SWIPE CONFERENCE 2012
• Essentially a process
•Web
•Worker
• # of dynos + db profile + addons = backend cost
Dyno
Monday, February 25, 13
![Page 66: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/66.jpg)
SWIPE CONFERENCE 2012
• Data
• Application
IaaS PaaS• OS
•Middleware
• Runtime
• Data
• Application
Monday, February 25, 13
![Page 67: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/67.jpg)
SWIPE CONFERENCE 2012
• OS
•Middleware
• Runtime
• Data
• Application
IaaS
Monday, February 25, 13
![Page 68: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/68.jpg)
SWIPE CONFERENCE 2012
•Which OS?
•Which language?
•Which DB?
• How many machines?
Questions
Monday, February 25, 13
![Page 69: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/69.jpg)
SWIPE CONFERENCE 2012
Amazon Web Services
Monday, February 25, 13
![Page 70: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/70.jpg)
SWIPE CONFERENCE 2012
• CDN
• Storage
• Networking
• DBs
• Services: email, queue managers
• Con: cost estimation
Amazon Web Services
Monday, February 25, 13
![Page 71: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/71.jpg)
SWIPE CONFERENCE 2012
• Buy a server
• pick the hardware
• install OS
• rent space/bandwidth in a farm
Good old way
Monday, February 25, 13
![Page 72: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/72.jpg)
SWIPE CONFERENCE 2012
Server side frameworks
Monday, February 25, 13
![Page 73: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/73.jpg)
SWIPE CONFERENCE 2012
• http://rubyonrails.org
• http://www.sinatrarb.com
• http://www.padrinorb.com
Ruby
Monday, February 25, 13
![Page 74: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/74.jpg)
SWIPE CONFERENCE 2012
• https://www.djangoproject.com
• http://www.pylonsproject.org
• http://flask.pocoo.org
Python
Monday, February 25, 13
![Page 75: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/75.jpg)
SWIPE CONFERENCE 2012
• http://expressjs.com
• http://geddyjs.org
• http://flatironjs.org
• http://railwayjs.com
• http://towerjs.org
Node.js
Monday, February 25, 13
![Page 76: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/76.jpg)
SWIPE CONFERENCE 2012
• ActiveRecord
• DataMapper
• Sequel
• SQLAlchemy
ORM
Monday, February 25, 13
![Page 77: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/77.jpg)
SWIPE CONFERENCE 2012
BaaS
Monday, February 25, 13
![Page 78: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/78.jpg)
SWIPE CONFERENCE 2012
• Backend for mobile apps
• Files, key-value
• API SDK
• Push notifications
Baas
Monday, February 25, 13
![Page 79: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/79.jpg)
SWIPE CONFERENCE 2012
• User management
• account creation/verification
• Login with Twitter/Facebook
• ACL
Baas
Monday, February 25, 13
![Page 80: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/80.jpg)
SWIPE CONFERENCE 2012
• Time to market
• Focus on the front-end
Baas
Monday, February 25, 13
![Page 81: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/81.jpg)
SWIPE CONFERENCE 2012
• cloudmine.me
• stackmob.com
• kinvey.com
• parse.com
• buddy.com
• sencha.io
Services
Monday, February 25, 13
![Page 82: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/82.jpg)
SWIPE CONFERENCE 2012
Blood pact
Monday, February 25, 13
![Page 83: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/83.jpg)
SWIPE CONFERENCE 2012
Claudio Tesoriero
Monday, February 25, 13
![Page 84: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/84.jpg)
SWIPE CONFERENCE 2012
• No application server
• No database server
• JVM only requirement
• Runs everywhere
BaasBox
Monday, February 25, 13
![Page 85: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/85.jpg)
SWIPE CONFERENCE 2012
• User management
• ACL
• Assets
• Collections
BaasBox
Monday, February 25, 13
![Page 86: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/86.jpg)
SWIPE CONFERENCE 2012
• Download
•./start
BaasBox
Monday, February 25, 13
![Page 87: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/87.jpg)
SWIPE CONFERENCE 2012
BaasBox on OpenShift
rhc app create pizzabox diy-0.1cd pizzaboxtar xvfz baasbox-openshift-xx.tar.gzgit add .git commit -m "init"git push
Monday, February 25, 13
![Page 88: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/88.jpg)
SWIPE CONFERENCE 2012
BaasBox on CentOS
yum install java-1.7.0-openjdk
scp baasbox-xx.tar.gz user@host:remotepath
cd remotepath
./start
Monday, February 25, 13
![Page 89: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/89.jpg)
SWIPE CONFERENCE 2012
PizzaBox
BaasBox
Pizzaiolo Clienti
Dev
Monday, February 25, 13
![Page 90: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/90.jpg)
SWIPE CONFERENCE 2012
BaasBox Console
Monday, February 25, 13
![Page 91: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/91.jpg)
SWIPE CONFERENCE 2012
BaasBox Web app
Monday, February 25, 13
![Page 92: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/92.jpg)
SWIPE CONFERENCE 2012
BaasBox iPhone app
Monday, February 25, 13
![Page 93: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/93.jpg)
SWIPE CONFERENCE 2012
Asset
curl --form [email protected] --form name=margherita --user admin:admin -H X-BAASBOX-APPCODE:1234567890 http://localhost:9000/admin/asset
Monday, February 25, 13
![Page 94: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/94.jpg)
SWIPE CONFERENCE 2012
Menu
curl -d "name=menu&meta=[ { \"name\": \"Margherita\", \"id\" : \"margherita\", \"price\": 5, \"ingredients\": \"Pizza con pomodoro e mozzarella\" }, ... ]" --user admin:admin -H X-BAASBOX-APPCODE:1234567890 http://localhost:9000/admin/asset
Monday, February 25, 13
![Page 95: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/95.jpg)
SWIPE CONFERENCE 2012
Orders
curl -d "" -H X-BAASBOX-APPCODE:1234567890 --user admin:admin http://localhost:9000/admin/collection/orders
Monday, February 25, 13
![Page 96: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/96.jpg)
SWIPE CONFERENCE 2012
Create ordercurl -d "{ \"list\": {\"margherita\": 2,\"quattrostagioni\": 2}, \"user\": { \"name\": \"Cesare\", \"surname\": \"Rocchi\", \"address\": \"Via delle vie 12, Roma\", ... }, \"time\": \"2013-01-02Z14:21\", \"total\": 12.5, }"
-H X-BAASBOX-APPCODE:1234567890 --user cesare:cesare http://localhost:9000/document/orders
Monday, February 25, 13
![Page 97: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/97.jpg)
SWIPE CONFERENCE 2012
Demo
Monday, February 25, 13
![Page 98: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/98.jpg)
SWIPE CONFERENCE 2012
Migration
Monday, February 25, 13
![Page 99: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/99.jpg)
SWIPE CONFERENCE 2012
Now we are working on• Push Notification
• SDK (iOS, Android, JS)
• 3rd party authentication
• Business analytics
Monday, February 25, 13
![Page 100: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/100.jpg)
SWIPE CONFERENCE 2012
Federico PacilliCEO BaasBox
Monday, February 25, 13
![Page 101: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/101.jpg)
SWIPE CONFERENCE 2012
How can we help each other?
Monday, February 25, 13
![Page 102: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/102.jpg)
SWIPE CONFERENCE 2012
Video Tutorials
Monday, February 25, 13
![Page 103: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/103.jpg)
SWIPE CONFERENCE 2012
How can YOU
make money?
Monday, February 25, 13
![Page 104: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/104.jpg)
SWIPE CONFERENCE 2012
Marketplace
Monday, February 25, 13
![Page 105: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/105.jpg)
SWIPE CONFERENCE 2012
PizzaBox
BaasBox
Pizzaiolo Clienti
Dev
Monday, February 25, 13
![Page 106: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/106.jpg)
SWIPE CONFERENCE 2012
Marketplace• Referral program (30%)
• 35% if non-exclusive
• 50%-70% if selling exclusive
Monday, February 25, 13
![Page 107: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/107.jpg)
SWIPE CONFERENCE 2012
We have 3 ideas
Monday, February 25, 13
![Page 109: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/109.jpg)
SWIPE CONFERENCE 2012
We provide back-end support
Monday, February 25, 13
![Page 110: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/110.jpg)
SWIPE CONFERENCE 2012
70% for the first year(+ 30% referral)
Monday, February 25, 13
![Page 111: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/111.jpg)
SWIPE CONFERENCE 2012
1000€ upfront
Monday, February 25, 13
![Page 112: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/112.jpg)
SWIPE CONFERENCE 2012
Contacts• http://www.baasbox.com
• twitter.com/baasbox
• facebook.com/baasbox
• github.com/baasbox
Monday, February 25, 13
![Page 113: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/113.jpg)
SWIPE CONFERENCE 2012
Monday, February 25, 13
![Page 114: HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Claudio Tesoriero](https://reader034.fdocuments.in/reader034/viewer/2022052601/558a5753d8b42a88468b464b/html5/thumbnails/114.jpg)
SWIPE CONFERENCE 2012
youtube.com/user/LiveSeeweb
Lunedi 25 alle 18.30
Monday, February 25, 13