Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

mongodb
April 05, 2012

Mobilize Your MongoDB! Developing iPhone and Android Apps in the Cloud

Nam Duong, OpenShift PaaS Evangelist from RedHat

MongoDB Beijing 2012

mongodb

April 05, 2012
Tweet

More Decks by mongodb

Other Decks in Technology

Transcript

  1. 2 Mobilize MongoDB with Titanium and OpenShift Nam Duong PMM

    – PaaS Evangelist Red Hat 3/31/2012
  2. 3 Agenda l What is PaaS? - Cloud layer for

    our mobile app server l Why OpenShift? - Provider of Hosted PaaS l What is Titanium? - IDE used to write our mobile app l Beer time!!
  3. 4 What is PaaS? PaaS = Platform-as-a-Service (AKA, a Cloud

    Application Platform) Code Deploy Enjoy Save Time and Money Code your app Git push to Deploy, and your App is running in the Cloud!
  4. 6 Why PaaS? • Quickly build the Application that YOU

    need • You code the application, We run it for you • Leverage the ease, scale and power of the Cloud Code Deploy Enjoy
  5. 7 PaaS is the Future Now How to Build an

    App: 1. Have Idea 2. Get Budget 3. Submit hardware acquisition request 4. Wait 5. Get Hardware 6. Deploy framework/appserver 7. Deploy testing tools 8. Test testing tools 9. Code, test, repeat 10. Configure Prod servers (and buy them if needed) 11. Push to Prod 12. Launch 13. Order more servers to meet demand 14. Wait 15. Deploy new servers • Etc. How to Build an App: 1. Have Idea 2. Code, test, repeat 3. Launch 4. Scale “The use of Platform-as-a-Service technologies will enable IT organizations to become more agile and more responsive to the business needs.” –Gartner* *http://www.gartner.com/technology/research/cloud-computing/report/paas-cloud.jsp The Old Days
  6. 8 Why OpenShift? It's easy. •It’s Easy. It's Free!! –

    Java, Ruby, PHP, Python, Perl, Node.js – Jenkins CI Build Tools included – MongoDB, RockMongo lThe best place for Mobile, NoSQL
  7. 10 Ex: Quickly setting up a messaging application Create an

    app and embed MongoDB, RockMongo rhc app create -a twt -t python-2.6 rhc app cartridge add -a twt -c mongodb-2.0 rhc app cartridge add -a twt -c rockmongo-1.1 Your Sample App: http://twt-<namespace>.rhcloud.com See https://github.com/openshift/openshift-twt-mongo-demo cd twt git remote add upstream -m master git://github.com/openshift/ openshift-twt-mongo-demo.git git pull -s recursive -X theirs upstream master git push Your Tweet App: http://twt-<namespace>.rhcloud.com Try mine: http://twt-macdomain.rhcloud.com
  8. 11 Need Help? ñ Sign up: http://openshift.redhat.com ñ Getting started:

    http://openshift.redhat.com/app/ getting_started ñ IRC: freenode #openshift ñ Forums: http://www.redhat.com/openshift/forums ñ Email: [email protected] ñ Twitter: @openshift ñ Source code: www.github.com/gshipley ñ More quickstarts: www.github.com/openshift
  9. 12 What’s Titanium Studio? Eclipse-based IDE Build, test and deploy

    mobile apps from a single IDE HTML5, CSS3, JavaScript, Ruby, Rails, PHP and Python Source Control (Git) Code Assist Debugger Terminal Backed by Appcelerator
  10. 13

  11. 15 Sign Up Now – It’s Free, It's Easy l

    http://openshift.redhat.com l Get up to 3 applications with: l 512MB Ram l 1GB Disk Space l Use promocode: SHANGHAI l Pick up a t-shirt and a notecard on your way to break!