Mobile Development with PhoneGap and Ruby

2,006 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,006
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Mobile Development with PhoneGap and Ruby

  1. 1. MOBILEDEVELOPMENTWITH RUBY ANDPHONEGAPDeveloping your product formultiple formats, easily!Jesse Smith5/15/12
  2. 2. Familiar / FastDevelopment(Ruby / HTML / CSS / JS)• Accessibility (AppStore) or Mobile Web• Native capabilities (when on native version)• PhoneGap Plugins (cool idea, hope for more maturity!)
  3. 3. Project Structure• Content Repo• iPhone Native• Android Native• Mobile Web• Others (Windows phone...)• Submodule in the content repohttp://underpantsgnome.com/2011/01/05/how-to-install-private-gems-on-heroku A sample git platform repo – www is a submodule!
  4. 4. CONTENT REPO (HTML / CSS / JS)Tricks for the content repo:• Minimal structure (Rails vs Sinatra)• Configuration for behavior based on client. - Keep in Application repo (where possible) Keep a flat content structure!
  5. 5. Create Repos: Update• mkdir ProjectXXX • Submodule: git submodule update• mkdir ProjectXXX/ProjectXXX_IOS • cd www• mkdir ProjectXXX/ProjectXXX_Android • git checkout master• Create XCode project in • git pull ProjectXXX_IOS directory• A www folder is created for you in • cd .. the ProjectXXX_IOS directory • git commit ./www -m "pulling• create a repo at www newest www code"• clone the www repo into the parent dir at a shared location.• delete ProjectXXX_IOS/www• create an IOS repo in deadprogrammersociety.blogspot.com/20 ProjectXXX_IOS 10/01/crossing-phonegap-for-• in ProjectXXX_IOS, git submodule add multiplatform.html git@github.com:gitid/ProjectXXX_w ww www
  6. 6. TECHNOLOGY COMPARISON jQuery Mobile vs Themes @ JQTouch http://themeforest.net/ Sinatra vs. Rails (pipeline)
  7. 7. ContactJesse Smithsteelcorelabs.comhttp://techhunting.wordpress.com/http://www.linkedin.com/in/jesses16

×