Developing Hybrid Apps with the Salesforce Mobile SDK
The hybrid mobile app development model allows developers to quickly create mobile apps with web technologies. A new Developer Force article, 'Developing Hybrid Apps with the Salesforce Mobile SDK', walks you through creating a hybrid app that accesses the device camera and uploads photos to database.com.
Last week, at the Glue Conference in Broomfield, CO, I presented a breakout session rather cheekily titled “We Don’t Need No Stinkin App Server! Building a Two-Tier Mobile App” (slides). The main thrust of the session was that, as devices have become more capable, and databases now speak JSON over REST, we can move on from the classic three-tier web application architecture (web server/app server/database) to a two-tier architecture of an app running on a device communicating directly with a Database-as-a-Service.
Since it’s Mobile Month here at Developer Force, Steve invited me to write up my app as a ‘how to’ article, and I’ve done exactly that. Developing Hybrid Apps with the Salesforce Mobile SDK walks you, step by step, through the process of installing the Mobile SDK, running the ContactExplorer sample on an iOS or Android device or emulator, and modifying it to add the contact detail page and camera integration from the GlueCon demo app. The hybrid approach allows rapid mobile app development, especially if you already have some web programming experience; read the article and get to work on your first hybrid app!