Palm Pre Development In the Browser
introspekt.i writes "Palm is building upon the Mozilla Bespin project to deliver an IDE for the Palm Pre entirely in the web browser. Apps can be developed on the server and then downloaded and deployed locally. It is an interesting tool, especially given that WebOS is so web-centric. This tool comes as a supplement to the existing development tools for Eclipse and the command line released by Palm earlier this year. The project is open to anyone who registers as a Palm developer, which is free to do."
A J2ME runtime will not save them. It's essentially useless for the market they are going for. I think they underestimated how much they needed to do to compete better with the likes of Apple/RIM/Windows Mobile/Android.
1) what's the security look like (I'm fairly sure they're sandboxing everything, but still... what other steps if any have they taken?)
2) Err, the Pre has Exchange connectivity and all, but can that bit be accessed, and what other kind of enterprise connections are available up in this piece?
Quo usque tandem abutere, Nimbus, patientia nostra?
Isn't that things 15 minutes up?
Do any developers actually care about the Pre?
Where on earth did you get J2ME? It's Linux running Webkit/v8 which run Javascript applications.
I can't see any reason why they can't incorporate an Android runtime for Android application compatibility - well unless there are any licensing issues for Android beyond the fact that it is open source.
Instant 20,000+ applications (mostly about manoeuvring shapes to cover areas). You don't need the launcher or all of that gubbins, just the application runtime compatibility.
This makes a lot more sense than developing their own "native" API, SDK, etc. Android is here to stay, in one way or another.
Their lack of smartphone marketshare is a definite problem; but I'm not at all sure that it is one that Java is going to help them with.
If anything, their choice of "more or less webapp languages and architecture, with a few local storage/access bits and bobs" seems fairly sensible(assuming they can get the speed issues of their first round worked out).
Because it is architecturally so similar to the webapp widgets and things that are being written, in vast quantities, to be put on the net and run on computers of all sizes, the amount of developer investment required to take existing work and bundle it up for WebOS is(comparatively) small.
Android, as an application API, is effectively J2ME-Touch-Pure-Web.
J2ME - it uses a lot of the core Java API.
Touch - it uses a custom Android UI API.
Pure - it dumps the JVM in favour of Dalvik, and it dumps a lot of legacy apps.
Web - it incorporates a lot of Java APIs from Apache, etc, for web uses.
If Sun weren't stuck in some weird place for the past five to ten years, they would have eventually come up with something like Android (but on the JVM instead of Dalvik) for the current generation of phones.
Google did the work for them, added their own twists and value-add as they deserved to do for the work they had done, and got going.
J2ME, Android, or some native API. Phone hardware has certainly gotten faster, but that's no reason to go bogging it down by requiring everything works through HTTP and web browsers. Seriously, what is that? We could have applications that flew on smartphones, if only vendors wouldn't force them to go through layers of nonsense.
Please correct me if I got my facts wrong.
vakuona was responding to the parent post, which said "Only thing that I can see save them now is to offer a Java based API and standard J2ME runtime."
creation science book
I'm not the biggest "cloud" thumper, but of all the uses I can think of, the ability to not re-configure an infinity billion path settings, dependencies, include paths, bins, etc etc etc, sounds wonderful. Old computer break? No need to re-install your IDE and spend hours reconfiguring your system, just pop open your browser and continue where you left off.
"Sorrow is better than laughter, for by sadness of face the heart is made glad." [Ecclesiastes 7:3]
I don't see why it's still taking so long for "developing browser applications" to become indistinguishable from "developing applications". The browser is just an application framework that includes a network API, rendering API, and an API to its other functions. Since the browser became the overwhelmingly primary app framework for PC development, there have been several generations of UI frameworks that have come and gone, each of which had the opportunity to be both fully functional per OS platform and with the same API across platforms.
We should just be writing applications, any of which can use a cross-platform UI API and reach the network with HTTP and other protocols using a cross-platform API. Phones have so many different OSes, GUI layers and network protocols that they should be the first to unify into a single platform. Since Java promised that but failed to deliver many years ago, we should have something else by now that does do it.
--
make install -not war
I hope they don't think they're going to pick up serious developers just for making their tools web-based, as if that was an end in itself, so I hope that they believe there is some benefit to making their tools all web based.
Reading the articles, I'm no so sure that isn't what they're doing here. According to them this is about enabling a next-generation web-based development workflow. It's different because... the IDE runs in your web browser.
The kind of developers you want to attract to your platform, who are going to build the quality apps that you want to be a reflection of the quality of your platform your platform, aren't held up on account of the "barrier to entry" of such ponderous requirements as having to install a J2ME development environment or have local storage space available.
Don't get me wrong, I'm a longtime fan of Palm and want to see them succeed. I owned many of their PDAs over the years. But this isn't the way to go about it. This sounds like marketing running their engineering organization. A next generation mobile development workflow isn't one that lets met develop in a web browser. It's one that gives me powerful APIs at multiple levels so that I have an API of appropriate richness and complexity whether I want to develop a calendaring extension, whether I want to develop a social media client, or whether I want to develop a game. This does none of those things, and it should go with out saying that my products won't be targeting any of the current webOS devices.
No kidding. I don't understand what Palm is doing here. If Palm were to offer a standard Java or .Net environment, I would start targeting their devices again. They could differentiate themselves from Android by offering a standard Java environment with value-added extensions, rather than delivering a kick to the community's groin just because they could.
I have so far refused to target the iPhone for just this reason: the platform is proprietary, and unnecessarily so. I'm betting on Android to be the next Symbian, and while Google has open sourced their non-standard parts, and so far I'm living with that, it is a let down. Java and its rich standard library is free, is open source, and is a community and industry standard with multiple compliant implementations.
Sure, Javascript is an industry standard, ECMAScript, but its standard library is downright anemic, it does not have the kind of tool support professional engineers expect, and the fact that it's tied so closely to the web browser is its greatest weakness, not strength.
So how is this different from AJAX? Does AJAX not have fancy IDE? WOuld this not let developers write applications that could run on all web standard phones? I recall a debate about how restrictive limiting apps to web apps is. Just asking.
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
Yeah! No one uses Palm platform! I mean, it's essentially HTML/CSS and Javascript, but I mean come on, who writes that anymore? No one knows or cares about html and javascript because it's useless! Nothing uses it and there's definitely no one out there who can make a living off of it.
I do hope my sarcasm tags aren't necessary, given how absurd you sound. Yes, there are plenty of Java devs out there, and yes, I do wish Palm would release a Java SDK for the phone, but the fact is that that's not the developer segment they're going after. They're aiming development for this phone toward the millions of web developers out there. I've tried writing an app for the phone when the SDK first came out, and though I had no experience with the Prototype Framework they use for Javascript, I still had a little VLC remote control app up and running within the afternoon, with a pretty decent UI. They use the HTML5 specs for a bunch of things and I've seen some pretty impressive things done on the phone.
The only major problems are the current lack of low level networking (homebrew coders have written services for the linux backend though, in Java no less, to work around this for things like an IRC client), and 3D acceleration, though apparently they're working on the latter and even hired someone a few months back as a graphics framework engineer for the phone. There's speculation that that's one of the things they'll be talking about at CES.
Now, let me be clear about something, I have a Pre, but I don't think it's the greatest phone or OS in the world. There's actually a lot that I wish it had that Android has, but at the same time, there's a lot that WebOS has that Android doesn't (let's not even discuss the iPhone, as I honestly don't care about smartphone that can't do true multi-tasking). Both platforms still have a ways to go to true maturity though, and keep in mind it's still very early in the game respectively. The Pre's been around for what, 6 months? Android's v1 was pretty bad and many thought it dead till more phones came out and the OS matured. The reason the iPhone is so popular is primarily because it was the only game in town for a long time, and it didn't even have its much touted app store when it came out, or 3D acceleration. The way I see it, the more competition, the better. And the more innovative and creative ways they can all try to pull in both users and developers, the better it'll be for everyone.
Verizon Wireless customer service reps are already getting training on WebOS. The Pre and maybe the Pixi are about to go to VZW, so Palm is looking for sales and market penetration to pick up.
Exactly what kind of tool support are you looking for? An IDE, Debuggers, Unit Testing tools? It's all there.
Being a developer that lives most of my life on the client side in JavaScript I don't get why it's bashed so badly. I build rich internet apps all the time and seasoned java developers ask "which java toolkit are you using."
WebOS is a really good platform for development. It's using known standards side by side with emerging standards like HTML5 and hopefully soon WebGL. It has all the things you need to do development for everything but 3D games (until WebGL or Flash come next year). There are about 850 apps in the catalog right now and it should hit 1000 before the end of the year and the catalog and development toolkit aren't even out of beta yet.
Remember that iPhone development started as webbased apps. The didn't even have an API or development tools until a good 8 months after the initial release. They didn't have an appstore until a full year after launch. Palm doesn't need to try to overtake the iPhone, they just need to capture a portion of the market and make a profit.
Yep, that's why the apps we have available so far are mainly crap.
Some of us have given Palm lots of feedback in the developer's program, telling them we need access to real API's and availability of making apps in C++ or Java.
Unfortunately, we are drowned out by a bunch of folks who don't know anything other than html/javascript, who claim anything in the world can be done with javascript (they have a hammer, so everything looks like a nail, and no other tool could ever be required). It's frustrating arguing with that level of ignorance.
This is why we have ~800 apps in the app store often charging $300- $500 for some simple function that you can find free on a hundred web pages out there.
The good apps are available on homebrew where folks can go ahead and write apps for the linux system using internal things that Palm doesn't seem want to let folks have access to.
The system overall has huge potential, and I love the cards interface, but Palm really need to rethink some bad decisions they've made on the developers end.
Err, that should have been $3.00 to $5.00
In the beginning (heh) the iPhone only had the possibilities to use HTML and JS for custom applications and many, many people complained about it. There wasn't even a healthy application landscape until Apple decided to give an API to (most of) the guts of the system and create a central, affordable and (in return) possibly profitable repository of apps.
That nobody even cares that Palm Pre development can only be done in HTML should be an indicator of the amount of coders that care about the Palm Pre.
Custom electronics and digital signage for your business: www.evcircuits.com
Yeah but everything had to be hosted off the phone, which makes a big difference. As much as I dislike them I can see that web UI tools are improving all the time, much faster than other ways of creating UIs.
Seriously, I can do more with 1 kb of html in ten minutes than with Swing in an hour.
http://michaelsmith.id.au
I don't see why you associate lowering the barrier to entry with attracting lower quality developers. This has benefits for attracting developers of all ranks.
Take your average programmer out there. He's probably got a Windows or Linux box at home, and probably spends his days writing web-based business/IT apps. Let's say he's got a long weekend off and he wants to play around with developing a simple little app for his phone. If he has an iPhone, he either has to cobble together a hackintosh system, or drag himself down to an Apple store and shell out around $1k for a mac before he can even get started, then has to learn ObjC, etc etc. If he's got an Android phone, he has to download and install an SDK, possibly learn Java and the android-specific quirks thereof, etc etc. If he's got a Palm phone, he just loads up the website, creates an account, and starts dragging widgets around, and regardless of what back-end language he uses to do his day job he probably has at least some experience doing javascript for the front-end.
All the rich, powerful APIs in the world won't do Palm a lick of good if they can't get developers to try things out in the first place.
Perhaps you can clear something up for me: It was my understanding that in developer mode, you have a complete Linux environment, command line and all. Doesn't that mean you can compile C and C++ code to run on the Pre? Of course I know that the UI has to be handled through HTML/JS, but is it possible for the UI to talk to back-end components running as compiled code?
The iPhone will never succeed if they only allow developers to use web technologies instead of native code. Real apps require features that only native code can provide. ...oh what? You said Palm Pre? In that case web code roxxors!
Yes, they supply a program for your desktop called novaterm which gives you a command line. The homebrew crowd has then made and ported quite a number of C/C++ apps, including a terminal app which can be run on the Pre itself.
The thing is, these are not eligible for distribution through the official app store as it stands at the moment. That should be changing as Palm is going to change the store to include links to various 3rd party app makers.
The SDK Palm supplies doesn't make use of these things, and is limited to html/javascript with some special non-standard APIs to access some of the Pre's hardware. Their SDK doesn't allow you to make a lot of the complex applications the platform is begging for.
The age of WebOS and the Pre has nothing to do with why it sucks. If the company that gave life to the PDA can't put together a decent smart phone, and the reason why it has problems aren't teething and maturity issues, maybe maturity isn't what the OS needs. It needs newer, fresher management that's not trying to go after the fringes of disappointed iPhone users. While there are disappointed iPhone users and devs, they're vastly out numbered by the number of iPhone owners and zealots.
The more competition isn't always better. Volume doesn't equate to quality.
Non impediti ratione cogitationus.
And how exactly does it "suck"? You haven't actually stated why. Have you ever used it? Or do you actually know anything about it? Or are you just parroting what some iPhone obsessed website said?
MichaelSmith's quite correct. This is Apple and Oranges, so to speak. All of the iPhone's applications in it's first gen were ACTUAL web apps hosted on a server. They weren't really even apps, just mobile versions of web pages. The Pre's apps are on the phone however, and leverage a TON of the upcoming HTML5 spec to allow them to do things like use a client side db, play video and audio, etc. These were things that the iPhone could not do through its browser. Not to mention that iPhone apps can't play with phone settings, contacts, etc, while the Pre's apps can, since they're not "web apps," they're just written like them.
javascript is (finally) starting to evolve more rapidly into a reasonable language for application development. You can already get Javascript VMs with excellent performance, and they're only getting better. With the growing adoption of Javascript for server-side work, there's a lot more support for the kind of improvements in Javascript that "real programmers" want.
ECMAscript 5 is a step in the right direction, and Harmony will build upon that. And with Google, Apple, and Mozilla now all on-board to improve Javascript's improvement, it'll get better quickly, whether Microsoft is interested in keeping up or not, will become increasingly irrelevant.
One problem with Java becoming a first-class citizen in the browser is that it's often seen as an all-or-nothing proposition. The Java language, and some of the libraries, might be useful in that context, but the Java VM, the memory model, the class loader, etc, aren't really appropriate for use in an interactive browser environment.
The official webOS SDK allows the programmer to create html pages using CSS for markup and Javascript for accessing Mojo services and implementing other logic. Given that is what the developer is going to be creating, it makes sense to allow them to use tools that simplify the development and debugging process. Plus it allows them to remain platform independent without having to write their own UI builder and Javascript debugger. They can leverage a lot of work that has already been done in the Javascript area.
Palm does need to create another level of their SDK for those that want to write services that run on the device. The webos-internals guys have shown that it is not that difficult to do that, so it's probably a case of wanting to finalize the HTML/JS UI level before starting to standardize things at the service level.
What do you call a nigger who's dating your daughter? Dead meat.