找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 1101|回复: 3

[新闻评论] Why developers should be pumped for webOS 2.0

[复制链接]
发表于 2010-9-1 08:20 | 显示全部楼层 |阅读模式
Why developers should be pumped for webOS 2.04 ]- v/ X( m/ }+ `
By Dieter Bohn | Tuesday, Aug 31, 2010 | 30 comments »" N. H, m% n3 m
        & G9 \8 `% i: ^, t6 e4 v% }7 \5 K
http://www.precentral.net/why-developers-pumped-webos
" Z; N: O. E$ _
8 g6 y6 c" L* }% FWe've covered the new features (that we know about) coming in webOS 2.0 from a user-perspective with a side of development. But the real focus of today's announcement is the webOS 2.0 Beta SDK availability. This new SDK is a Big Deal for two reasons:
" |; u7 I# r% h# N% u' h! Z6 s- o: P0 S1 j
webOS is even more compatible with web-technology$ L3 A: N& K9 }
It's easier than ever to create differentiating features that can only happen on webOS 2.0
; a4 `1 G6 p' EThe former is a big deal for bringing more developers into the fold. The latter is a big deal for any developers who want to see webOS succeed. Read on for our thoughts on what opportunities for cool apps and features can be found in the new APIs coming with webOS 2.0./ q/ ]( N# x; f  U; i4 s
% Q- G7 M2 @9 c* c  d
webOS 2.0 makes it ridiculously easy to turn web apps into native apps# H7 ~* e6 S' P% o) g4 E
We won't know for awhile whether it's fair to say that webOS 2.0 leads the smartphone pack in terms of compatibility with the latest HTML5 technologies we're seeing on desktop browsers like Chrome, Firefox, and Safari. We do know that Palm is packing in as much as they can in the time between now and release: hardware-accelerated CSS transitions, Applicaiton Cache, Offline Mode, Geolocation.) P. Y' R% b3 g/ i$ [! ?

: h, w& S' [; A$ m+ zIf Palm's transition from Java to Node.js-based Javascript for background tasks doesn't excite you, take a look at some of the stuff Palm's own Dion Almaer writes about here. Then think about this: webOS makes it ridiculously easy to turn a web app into a native app. While Google is busy creating interesting web apps for Android and iPhone - for the time being they're still relatively annoying to use as they get relegated to the browsers in those platforms. With webOS 2.0, web developers can create webOS apps based on their web apps with very little work and very little changes to their original code.! _/ f6 o6 n% n: ]

) Y- q$ ^2 T5 p$ J. qThe magic happens with Mojo Core, which is a set of APIs designed to allow standard web-app code to talk to Palm's own webOS/Mojo code. Instead of recoding portions of web code to work on webOS, developers can keep their curent engines and just add a few small calls to Mojo Core APIs to turn their apps into fully-native webOS apps.0 K) Z" @% V% g
8 I- \- t0 f8 K8 j6 t8 O8 }. U0 q
Add in the earlier-mentioned HTML5 features coming in webOS 2.0 and functionality like geolocation and local storage shouldn't need to be rewritten either.5 m, w% T0 a9 v5 z0 _/ X
3 ?. P" s3 U+ h) F/ }% j
Basically: any site with a decent HTML5 web app designed for mobile webkit browsers should require very little work to turn their page into a native webOS App and supporting that app shouldn't be a large additional burden as the mobile site is updated./ H& s3 O' `- X/ `. E

. ^3 @- ]( Q  kWe're looking at you, Google, justsaying.3 g4 K$ d5 m3 V! l1 O
% J4 l& G$ Y1 W- Y# V& ^
webOS 2.0 offers a unique set of features that aren't matched on other platforms
; e/ S( b9 M7 g' S! z) J& F1 TWhile we're excited by the possibility of seeing more web apps and PDK apps ported over to webOS, what's really exciting for the platform is the possibility of seeing apps that take advantage of functionality that simply can't be reproduced on other platforms. Unique features can drive adoption and adoption drives more development and all of the sudden we're looking at a virtuous cycle of developers and users flocking to the platform. That's the idea, anyway. So what does webOS 2.0 bring to potentially jumpstart this cycle? 6 j: Z/ g5 S( H6 O

8 X. J" f  V+ [1 z0 ~Synergy is now open: Palm is letting any developer create Synergy services for Contacts, Calendar, and Messaging (though not, as of yet, access to data brought in by other Synergy streams). Developers looking to make webOS the premier phone for, say, SalesForce or Lotus Notes or any other custom contact service could find a big opportunity here. Developers looking to hook up users with calendar/service sites like Upcoming or Eventful should also sit up and take note. Most of all: developers looking to integrate more instant communication like Twitter or PingChat should take a long, hard look at how they can integrate into both Contacts and Messaging now.
. P6 Q& V1 }- A1 \
  q* W  z2 [! Z7 F* t$ `Exhibition could bigger than you think: We're not sure whether we'll be wowed or underwhelmed by Palm's Touchstone-mode, but the more we think about it the more we're warming up to what developers might come up with. In Exhibition mode, you know that the device is powered, so pinging Twitter and Facebook and what-have-you as often as you like shouldn't pose a significant problem. An exhibition that pulls from a configurable set of services and displays their info in a real-time stream, well, that sounds pretty keen to us.( m: b, d( P- m) o: j5 m
0 `% q  h* l6 f' Y4 s& P/ \
Quick Actions make your app part of the OS: Just Type is both the rebranding of Universal Search and, we think, the most important philosophy behind webOS 2.0. For most users, this is how a typical action goes:$ ^6 {& M- _" b
  b/ G2 b& a( G4 J8 N' w0 B0 ?
I want to do Action X. I need to open App Y for that. Where is App Y? Ah, there is App Y. Ok, App Y open. How do I initiate Action X in App Y? Ah yes, here is the button for Action X. Action X begun. ...And done.
1 P7 x. }# x' N& g' }1 @$ A9 M& ]6 A5 z
This is how it can happen with Quick Actions:
/ s  M! L7 V( @  ^
% P' b2 d8 t- ]' q2 u2 V: KI want to do Action X. Action X begun. Let's execute it with App Y. ...And done. & F2 `3 G9 V7 y
! q5 e9 ^8 D# k) r! |  ]
This is a 'Command Line Interface' (CLI) philosophy and until you've used it on a desktop with something like Quicksilver or Google Quick Search, it's hard to describe how powerful it can be.
4 Z/ @6 \, l3 m9 a0 M$ B) K) u/ F9 |) w$ v/ c3 s8 _" Z" f
When your app supports Quick Actions, it's essentially the same as making it a service available across the entire device. Your app will be as natural and immediate as the Just Type feature itself. Your users won't be able to imagine using webOS without it.
* ?+ |) P3 `; M' f2 i- L9 f
$ J0 t: G9 f* l9 g0 `5 K1 d( S& FHybrid PDK Apps combine speed and power: You'll be able to code up parts of your app in the standard webOS app with the standard webOS speed and ease of development without having to give up native code and you'll be able to have the power of native code (compiled pretty much however you'd like - Palm's not too picky here) without giving up the speed and simplicity of standard webOS code.
5 u% P$ T. y& K& A; J* D7 u
8 I3 b; M; X' e2 d3 uWhat else?5 ?; k; x, l, l5 V6 h: R
We're still expecting more robust support for some of the standard stuff: Microphone, Camera, Media Indexer, etc. Those sorts of APIs should come and soon. From a developer-perspective, Palm still needs to fill a lot of API gaps and hopefully they'll be bringing plenty of development-spackle to shore up the holes between the bricks we listed above.
; O+ m; }0 a# l7 C/ `4 c- \$ B  Y, m0 w% H# E% f+ O
What we're really curious to know is this: what development possibilities do you see in webOS 2.0? Users, Developers: tell us!
回复

使用道具 举报

发表于 2010-9-1 11:56 | 显示全部楼层
希望真的可以有软件爆发的情况
回复 支持 反对

使用道具 举报

发表于 2010-9-1 12:04 | 显示全部楼层
好消息!
回复 支持 反对

使用道具 举报

发表于 2010-9-1 12:06 | 显示全部楼层
不错,希望pre可用。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2024-11-6 03:33 , Processed in 0.285222 second(s), 15 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表