web os. basics and prospects of development

21
webOS basics and prospects of development

Upload: elena-kotina

Post on 18-Jun-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Web os. basics and prospects of development

webOS

basics and prospects of development

Page 2: Web os. 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

Page 3: Web os. basics and prospects of development

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

Page 4: Web os. basics and prospects of development

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

Page 5: Web os. basics and prospects of development

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

Page 6: Web os. basics and prospects of development

Development : IDE & tools

• SDK– Ares web-based IDE– Eclipse add-on– Komodo integration– Command-line utilities

• PDK– Microsoft Visual Studio– XCode

5/20

Page 7: Web os. basics and prospects of development

Development : Ares

• Interface builder• Debugger• Built-in JSLint• Subversion,

Mercurial• Drag’n’drop

upload• Emulator support• Packaging

6/20

Page 8: Web os. basics and prospects of development

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

Page 9: Web os. basics and prospects of development

Development : OS services

• Accounts• Browser• Camera• Photos and videos• Email and contacts• GPS and maps• Download manager

8/20

Page 10: Web os. basics and prospects of development

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

Page 11: Web os. basics and prospects of development

Development : JS frameworks

• Built-in Prototype 1.6• jQuery

– jQTouch– jQuery Mobile (coming soon)

• Whatever you like :-)

10/20

Page 12: Web os. basics and prospects of development

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

Page 13: Web os. basics and prospects of development

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

Page 14: Web os. basics and prospects of development

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

Page 15: Web os. basics and prospects of development

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

Page 16: Web os. basics and prospects of development

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

Page 17: Web os. basics and prospects of development

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

Page 18: Web os. basics and prospects of development

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

Page 19: Web os. basics and prospects of development

Prospects : webOS 2.0

• Node.js services– Develop your own services– Access to “low-level” programming

• Network• File system• Binary data operations

18/20

Page 20: Web os. basics and prospects of development

Prospects : webOS 2.0

• Exhibition– Apps that work

while device charges on Palm TouchStone

19/20

Page 21: Web os. basics and prospects of development

Questions

???

[email protected]

20/20