Your SlideShare is downloading. ×
  • Like
  • Save
Automating PhoneGap Build
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Automating PhoneGap Build

  • 4,834 views
Published

The slide deck from my session at PhoneGap Day EU 2012 - "Au

The slide deck from my session at PhoneGap Day EU 2012 - "Au

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Hi Matt,

    Thank you for posting your experience using Jenkins, web hooks and Hydra! I am also examining this type of workflow for a personal project and find your presentation inspiring.
    Are you sure you want to
    Your message goes here
  • Nice presentation... anything you'd want to share with the Community? A slimmed down deck...with the juicy bits of code or the screenshots?
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
4,834
On SlideShare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
0
Comments
2
Likes
5

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \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

Transcript

  • 1. AutomatingPhoneGap BuildMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd
  • 2. I build stuffand I write about building stuff, too
  • 3. http://www.flickr.com/photos/alancleaver/2661425133/
  • 4. http://www.kylebean.co.uk
  • 5. Compiling an app for everyplatform had the potential to be... ...a pain in the ass
  • 6. LIFE WASMUCH EASIERWHEN AppleAND BlackBerryWERE JUSTFRUITS
  • 7. build.phonegap.com
  • 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. http://www.flickr.com/photos/spierisf/4258461086/
  • 10. Why automate PhoneGap Build processes? * Streamline development processes * Enhance your workflow * It can be fun
  • 11. Can PhoneGap Build be automated...? YES!!! (kind of)
  • 12. Who can benefit from automated processes?
  • 13. App management within the IDE (very cool)
  • 14. The config.xml file
  • 15. LET’S SEE IT IN ACTION
  • 16. The PhoneGap Build API
  • 17. The PhoneGap Build API * Create / Delete projects * Upload code * Force a build * Build status information * Download compiled applications
  • 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. LET’S SEE IT IN ACTION
  • 20. Hydrate with Hydra
  • 21. Voodoo magic...AWESOME sexyvoodoo magic!!
  • 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. Try it yourself... http://autobuild.monkeh.me username / password / appIDhttp://autobuild.monkeh.me/me%40me.com/password/12345
  • 24. So... what’s the answer? * Design a workflow that suits your needs * Reduce repetition * Maintain your sanity * Enhance your development process
  • 25. Thank youMatt Gifford@coldfumonkehwww.mattgifford.co.ukmonkehWorks Ltd