Transcript
Page 1: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley

1

Mobilize MongoDB with Titanium & OpenShift

Grant Shipley Developer Evangelist, Red Hat @gshipley

Page 2: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 2

What’s Titanium Studio?

l  Eclipse-based IDE l  Build, test and deploy mobile apps from a single IDE l  HTML5, CSS3, JavaScript, Ruby, Rails, PHP and Python l  Source Control (Git) l  Code Assist l  Debugger l  Terminal l  Backed by Appcelerator

Page 3: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 3

What is MongoDB?

l  Document-orientated l  High performance l  High availability l  Easy scalability

Page 4: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 4

Level Set •  Cloud computing will

•  Save the world •  Feed all the children •  Shelter all the homeless •  Create world peace •  Save us from the zombie invasion •  Automagically correct your terrible photos

Page 5: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 5

Software-as-a-Service

Page 6: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 6

What is Cloud Computing?

Page 7: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 7

Infrastructure-as-a-Service

“How do I use this?”

Servers in the Cloud

You must build and manage everything (OS, App Servers, DB, App, etc.)

Page 8: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 8

Software-as-a-Service

“I’m not sure this does what I need.”

You are restricted to the features of the 3rd Party application

Someone else’s app in the Cloud (CRM, etc.)

Page 9: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 9

Platform-as-a-Service •  Quickly build the Application that YOU need for

•  Your Group, your Enterprise, your next great idea! •  Big data, mobile, social

•  You code the application, We run it for you •  Leverage the ease, scale and power of the Cloud

Code Deploy Enjoy

Page 10: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 10

Why Deploy Apps to OpenShift?

l  Fast l  Free l  Easy l  Scalable

Page 11: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 11

FAST Deployments!

rhc  app  create  –a  my_app  –t  my_lang  

Page 12: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 12

Languages, Frameworks, etc.

Page 13: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 13

Work the Way YOU Want to Work

l  Eclipse plug-ins, Cloud-based IDEs, Dashboard l  REST API l  Command-line tools l  Shell access l  Support Git l  Pre/post deploy, pre/post install hooks l  Jenkins and Maven built-in l  Runs on AWS – leverage their ecosystem l  Pluggable cartridges for partners & devs (coming soon)

Page 14: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 14

Plus: MongoDB Rocks on OpenShift!

•  3 FREE Instances •  Mongo 2.0 •  Log Tailing •  Snapshots •  RockMongo •  Mongo Shell •  MMS Support

Page 15: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 15

Sign Up Already – It’s Free.

promo code: mongotoronto

Page 16: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 16

Let’s Put It All Together!

Develop. Run. You’re Awesome.

Page 17: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 17

Did I Mention OpenShift is FREE?

Page 18: An Evening with MongoDB - Orlando: Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Grant Shipley - @gshipley 18

Got Questions? We Have Answers!

l  IRC: freenode #openshift

l  Forums: http://www.redhat.com/openshift/forums

l  Email: [email protected]

l  Twitter: @openshift l  Grant on Twitter: @gshipley

l  Source code: www.github.com/BeerShift