web os. basics and prospects of development
TRANSCRIPT
webOS
basics and prospects of development
Palm webOS
• Proprietary operating system• Based on Linux kernel• 4 gadgets• Multitasking• Close integration with web 2.0 concepts• Totally new comparing with Palm OS
1/20
Palm webOS : history
• First version (1.0.2) released on 5th June 2009• Long way from Palm OS
– Last working Palm OS version released in 2004– Fail of Palm OS 6 Cobalt
• Rapid platform development– Last version (1.4.5) released on 14th of July– webOS 2.0 announced in late 2010
2/20
Palm webOS : market
• 6th place on the market by share
• More than 4000 apps in Palm App Catalog
• Mostly used by men aged between 35 and 44
3/20
Development : SDK vs PDK
• SDK– Javascript– HTML5 & CSS3– Mojo
• PDK– C/C++– OpenGL– Simple DirectMedia Library (SDL)– GameDev (The Sims3, NFS, FIFA 2010)
4/20
Development : IDE & tools
• SDK– Ares web-based IDE– Eclipse add-on– Komodo integration– Command-line utilities
• PDK– Microsoft Visual Studio– XCode
5/20
Development : Ares
• Interface builder• Debugger• Built-in JSLint• Subversion,
Mercurial• Drag’n’drop
upload• Emulator support• Packaging
6/20
Development : principles
• Applications are cards. Stage-scene hierarchy• MVC pattern• Lists, lists, lists• Using server for complex operations• Asynchronism everywhere
– AJAX– Service callbacks
7/20
Development : OS services
• Accounts• Browser• Camera• Photos and videos• Email and contacts• GPS and maps• Download manager
8/20
Development : Mojo
• Stage and scene controllers support– Scene transitions– UI Widgets support– System services requests
• Persistence support• Application menu support• Debugging and testing methods
9/20
Development : JS frameworks
• Built-in Prototype 1.6• jQuery
– jQTouch– jQuery Mobile (coming soon)
• Whatever you like :-)
10/20
Development : interface
• Ares+ Interface builder+ Different screen layouts+ Simple and convenient
interface– Lots of autogenerated
code– Errors in elements
hierarchy
• HTML– DIV-based layout– Arbitrary positioning– Customizable look and
feel– Lots of widgets to learn– System CSS is difficult to
learn
11/20
Development : persistence
• HTML5 database– SQLite– Asynchronous transactions
• Mojo.Depot– Javascript object key-value storage
• Mojo.Model.Cookie– Storage for named objects
• OS Services– Accounts– Preferences
12/20
Development : network
• Prototype Ajax.Request and jQuery.ajax• Not full support of REST concepts• Download manager
– Binary upload– Asynchronous download
• Palm.Mojo.WebService• Palm.Mojo.FeedService
13/20
Development : ads & stats
• Ads– AdMob webOS SDK
(http://developer.admob.com/wiki/WebOS)• Stats
– Metrix (http://metrix.webosroundup.com)• Devices• OS versions• User notifications• Remote debugging
14/20
Prospects : HP
• Palm acquired by HP in May 2010 for $1.2 billion
• HP announces webOS support– on tablet PCs– on smartphones– on printers (!)
• webOS instead of Windows 7 on HP Slate• HP Slate is announced to appeat this autumn
15/20
Prospects : webOS 2.0
• New version is getting out of Palm labs in late 2010• Rumors about new device based on webOS 2.0 – HP
Roadrunner• Main features
– Card stacks– Exhibition– Synergy– Node.js services– Better HTML5 support
16/20
Prospects : webOS 2.0
• Better support of HTML5 standards– Enhanced Canvas support, including image data
and gradients– Support for Web Storage—both local and session
storage– Geolocation support, allowing websites to access
location information with the user’s permission– Application Cache, which lets websites cache
resources on the device for offline use
17/20
Prospects : webOS 2.0
• Node.js services– Develop your own services– Access to “low-level” programming
• Network• File system• Binary data operations
18/20
Prospects : webOS 2.0
• Exhibition– Apps that work
while device charges on Palm TouchStone
19/20