Successfully reported this slideshow.
Your SlideShare is downloading. ×

Automating PhoneGap Build

Loading in …3
×

Check these out next

1 of 36 Ad
1 of 36 Ad
Advertisement

More Related Content

Advertisement
Advertisement

Automating PhoneGap Build

  1. 1. Automating PhoneGap Build Matt Gifford @coldfumonkeh www.mattgifford.co.uk monkehWorks Ltd
  2. 2. I build stuff and I write about building stuff, too
  3. 3. http://www.flickr.com/photos/alancleaver/2661425133/
  4. 4. http://www.kylebean.co.uk
  5. 5. Compiling an app for every platform had the potential to be... ...a pain in the ass
  6. 6. LIFE WAS MUCH EASIER WHEN Apple AND BlackBerry WERE JUST FRUITS
  7. 7. build.phonegap.com
  8. 8. What do we need to do? * Upload code to PhoneGap Build service * Provide provisioning keys (if required) * Compile application (done for you) * Download and install * THAT’S IT!
  9. 9. http://www.flickr.com/photos/spierisf/4258461086/
  10. 10. Why automate PhoneGap Build processes? * Streamline development processes * Enhance your workflow * It can be fun
  11. 11. Can PhoneGap Build be automated...? YES!!! (kind of)
  12. 12. Who can benefit from automated processes?
  13. 13. App management within the IDE (very cool)
  14. 14. The config.xml file
  15. 15. LET’S SEE IT IN ACTION
  16. 16. The PhoneGap Build API
  17. 17. The PhoneGap Build API * Create / Delete projects * Upload code * Force a build * Build status information * Download compiled applications
  18. 18. What we want to achieve... * Create a new PhoneGap Build project * Upload application files to that project * Automatically build project * Download when complete * Install on device
  19. 19. LET’S SEE IT IN ACTION
  20. 20. Hydrate with Hydra
  21. 21. Voodoo magic... AWESOME sexy voodoo magic!!
  22. 22. What will happen... * PhoneGap Build project assigned to repos * Commit code to GitHub repos * GitHub delivers payload (form data) to web URL (which we don’t use in this case) * URL forces the pull request in PG Build * Application builds from latest source * Relax with a beer
  23. 23. Try it yourself... http://autobuild.monkeh.me username / password / appID http://autobuild.monkeh.me/me%40me.com/password/12345
  24. 24. So... what’s the answer? * Design a workflow that suits your needs * Reduce repetition * Maintain your sanity * Enhance your development process
  25. 25. Thank you Matt Gifford @coldfumonkeh www.mattgifford.co.uk monkehWorks Ltd

Editor's Notes

  • \n
  • \n
  • Who here wants to finish work on time, enjoy hobbies, have a life, spend time doing ‘other things’? I enjoy what I do. I love building and creating things. It makes me happy.\n
  • \n
  • \n
  • different mobile devices and operating systems needed different methods of compilation and packaging\n
  • \n
  • \n
  • PhoneGap has fixed that issue for us, which is awesome.\n
  • \n
  • Say goodbye to SDKs, compilers and hardware. Simply write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store ready apps for Apple iOS, Google Android, Palm, Symbian, BlackBerry and more.\n
  • \n
  • \n
  • The process has already been greatly simplified for us..\n
  • How can we make this easier process even easier? Streamline our development processes, enhance our workflow and make our tasks a little easier (and fun)\n
  • The build process is already automated and manages so much for you.\n
  • We still need some form of human interaction to control the workflow and manage the projects\n
  • Who can use these processes? Solo developer or teams / groups\n
  • Who can use these processes? Solo developer or teams / groups\n
  • \n
  • \n
  • The config.xml file takes a lot of the pressure away from the developer and informs the build process of assets, permissions and application version information, but for some it can still be daunting.\n
  • \n
  • I love APIs. They give access to resources and allow you to customise your workflow and projects.\n
  • \n
  • Continuous Integration servers for managing project builds fresh from the source. Perfect for some apps, but massive overkill for PhoneGap.\n
  • \n
  • \n
  • What tasks do you need to perform? Cleaning, zipping to archive...\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

×