The document discusses developing cross-platform mobile chemistry apps using PhoneGap. PhoneGap allows authoring native apps with HTML5, CSS, and JavaScript, accessing device APIs. The presenter developed apps for iOS and Android simultaneously with minimal costs. Apps were built with HTML5, ChemDraw files converted to images, and native bridges for performance. Lessons included fast development with powerful tools, easy feedback, and keeping code platform-independent.
5. Single Platform? Multi-Platform?
• Developer expertise
• Multiplied time & cost
• Fragmented team/codebase
6. Reagents
• iOS & Android
• App Store
• Minimize costs
• Automate
production
7. PhoneGap
“PhoneGap is an HTML5 app platform
that allows you to author native
applications with web technologies and
get access to APIs and app stores.”
App
App App App
HTML5
rapodaca@metamolecular.com
8. HTML5
+ +
CSS3 HTML5 JavaScript
“The first major update to HTML since 2001...”
rapodaca@metamolecular.com
9. Workflow
+
Build System
Plain Text Binary ChemDraw HTML5
rapodaca@metamolecular.com
12. Deployment
desc "Deploy files to PhoneGap project"
task :deploy => :compile do
FileUtils.cp_r 'www', '..'
end
Concept to App Store in 6 weeks
rapodaca@metamolecular.com
14. Lessons Learned
Reagents
• Fast development using powerful tools
• Feedback: easy as emailing a zip file
• Six-week turnaround time
• Android version practically no cost
• No Objective-C or Java
rapodaca@metamolecular.com
15. Apps for Research
• Data management & visualization
• Advanced tooling: cheminformatics
• File I/O & System Integration
22. Lessons Learned
• Any native system call can be
made through JavaScript
• JavaScript on iPad ~20x slower
than iMac
• Cheminformatics and
application code can be kept
platform-independent
• Performance-tuning with native
code
rapodaca@metamolecular.com