webOS MiniTalk

715 views

Published on

Joe\'s talk about webOS 3.x (enyo) at NHDNug on 8/18/2011

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
715
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

webOS MiniTalk

  1. 1. Web OS – An Introduction<br />Joseph Reynolds<br />jreynolds@eps-software.com<br />
  2. 2. About the Presenter<br />Joseph Reynolds<br />Senior Software DeveloperEPS Software Corp. <br />
  3. 3. About CODE & EPS Software Corp.<br />Custom Software, Training, and Consulting<br />.NET, SQL Server, SharePoint,…<br />Specialists in converting to .NET<br />Object and Service Oriented Development<br />Database Development<br />User Interface/ Web<br />ASP.NET, WinForms, WPF, Silverlight, iPhone<br />
  4. 4. EPS is Hiring!<br />We are currently hiring all positions!<br />Project Management, Developers, Designers<br />Employees and Contractors<br />CODE Network<br />Send us an email if you are interested or know someone!<br />jobs@eps-software.com<br />
  5. 5. Agenda<br />What is webOS?<br />Where is it headed?<br />Developing<br />Debugging<br />Things to think about<br />Code (if we have time)<br />Demo a quick app<br />
  6. 6. What is webOS?<br />Introduced by Palm in 2009<br />Acquired by HP in 2010<br />The key asset and primary motivation for the purchase of Palm by HP at this time<br />Runs on a Linux Kernel<br />Current versions<br />webOS 2.x (mojo): phones<br />webOS 3.x (enyo): tablets<br />
  7. 7. What is the Future?<br />webOS and Windows dual-booting on HP desktops and laptops<br />Sometime in 2012<br />Phones– Pre3 imminently, others soon.<br />
  8. 8. Developing in webOS<br />2 ways to develop<br />SDK<br />PDK<br />Enyo PDK<br />Plug-In Development Kit<br />Geared towards game developers<br />Utilizes CC++<br />Allows developers of games on other platforms to port their software to webOS<br />
  9. 9. Enyo SDK<br />Primary development kit for webOS developers<br />Utilizes JSON objects and JavaScript to create a UI and set up events and methods.<br />Generates HTML5 and CSS3 to support the UI<br />
  10. 10. IDE Concerns<br />Eclipse<br />Mostly useful for mojo apps<br />Can theoretically be used for enyo<br />JetbrainsWebStorm<br />Again, mostly useful for mojo<br />Somewhat more user-friendly than eclipse<br />Notepad++<br />My preferred IDE<br />Console2<br />Use to run command-line tools<br />Handle source control things<br />
  11. 11. Command-Line Tools<br />Palm-Generate<br />Limited to Mojo<br />Palm-Package<br />Generate a package file, which can be installed on webOS devices<br />Palm-Install<br />Install a package file<br />Palm-Launch<br />Launch and installed app<br />Palm-Log<br />Display Console Log info for webOS Apps<br />Palm-Run<br />Package, install, launch and app, then log all the output to the console.<br />This is the single coolest command-line tool in the debugging arsenal.<br />
  12. 12. Debugging with Chrome<br />The main tool for debugging an Enyo app is Chrome<br />Requires a couple of switches on the command line<br />"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --allow-file-access-from-files --disable-web-security --enable-file-cookies<br />I typically set up a shortcut from the desktop<br />
  13. 13. Debugging via Emulator<br />Once things are working in Chrome, you’ll want to test in an Emulator<br />Uses Oracle Vbox<br />Use Palm-Run to send to the Emulator<br />Make sure you power down the emulator after a debugging session, or you will lose network connectivity<br />Fairly fast power-up time – nothing like Android Emulator.<br />
  14. 14. Reasons to use webOS<br />HP is backing this fairly heavily<br />By 2012, all desktops, laptops, and devices will dual-boot webOS and Windows<br />The framework is easy to work with<br />There’s an awesome community of developers working on cool stuff<br />It’s a lot of FUN!!!<br />
  15. 15. Gotchas<br />Tooling is rough<br />Notepad is cool, but intellisense would be nice!<br />Palm-Generate is only for mojo<br />Not a big deal, but left me scratching my head<br />Documentation is available, but not obvious<br />The API Reference at https://developer.palm.com/content/api/reference/enyo/enyo-api-reference.html is awesome!<br />
  16. 16. Final Gotcha<br />
  17. 17. CODE Training<br />CODE Magazine is now offering training classes!<br />On-site and remotely<br />Various Topics Announced!<br />WPF & Silverlight<br />WCF<br />ASP.NET Ajax, MVC, jQuery,…<br />Azure<br />iPhone for .NET Developers<br />…<br />Custom training and mentoring also available<br />
  18. 18. CODE Training Coupon<br />Get a discount of CODE Training classes<br />See the schedule at www.codemag.com/training<br />To get the discount, email Christopher at creynolds@codemag.com<br />
  19. 19. Free CODE Consulting<br />You are also entitled to a free 1-hour consultancy if you need a recommendation as to what technologies to use in your project(s)<br />Also contact Christophercreynolds@codemag.com<br />
  20. 20. Check out our Podcast!<br />CodeCast<br />The Late Night Show for .NET Developers<br />Companion Podcast to CODE Magazine<br />codemag.com/codecast<br />
  21. 21. Q&AContact us with questions!<br />CODE/EPS Contact:<br />www.codemag.com<br />info@codemag.com<br />facebook.com/codemag<br />twitter.com/codemagazine<br />Presenter Contact:<br />jreynolds@eps-software.com<br />facebook.com/JosephMarkReynolds<br />twitter.com/iddJoe<br />
  22. 22. References<br />Enyo API Reference<br />WebOS Wikipedia Entry<br />Download the SDK PDK<br />Palm Developer Center<br />http://techcrunch.com/2011/08/18/its-official-hp-kills-off-webos-phones-and-the-touchpad/<br />

×