First Look At Palm's Mojo SDK
snydeq writes "Peter Wayner puts Palm's Mojo SDK through its paces and finds the general outline of the system solid and usable despite 'numerous rough edges and dark, undocumented corners.' The main draw, of course, is the reliance on HTML, CSS, and JavaScript, which lower the barriers to entry, though with Mojo, HTML and JavaScript do at times work against each other, with JavaScript occasionally 'wiping out anything you do with HTML.' But more than anything, Wayner sees the current version of Mojo as 'merely the start of access to a very fertile platform. 'Developers are actively digging into the Linux foundations of the Pre and finding they can build tools that work with the raw guts of the machine. Some are talking about writing Java services underneath,' Wayner writes, pointing to sites such as PalmOpenSource.com and PreCentral.net that are cataloging dozens of apps that come complete with the source code. 'I know people are doing similar things with the iPhone — such as selling the source to people who must install it themselves — but the entire scene emerging around Palm has a much more organic and creative vibe. It's not getting hung up on parsing and reparsing the App Store rules.'"
Seems like it was this same type of development culture that helped to launch the first Palm Pilots to popularity.
Palm doesn't like this, but it's awesome so do it.
http://forums.precentral.net/homebrew-apps/191213-my-tether-tether-over-wifi-usb-bt.html
I know people are doing similar things with the iPhone â" such as selling the source to people who must install it themselves â" but the entire scene emerging around Palm has a much more organic and creative vibe.
What does this even mean? Are we measuring mobile phones against each based on "vibes" now? And how is doing the same thing on a different device somehow more creative?
Wish they'd support some decent languages like C/C++ and Python or even regular Java. because JavaScript is the most awful excuse for a scripting language I have ever tried to work with
Since when does something that is technically better mean it's a viable competitor to Apple? History is *full* of technically better failures.
I've come to the inflammatory conclusion regarding the iPhone. The crazy rules of the app store and the phone's 'jail' are a demand accellerant. The intricate craziness of the Apple culture wins out over a vendor developing a relatively open phone OS.
http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
"numerous rough edges and dark, undocumented corners"
They found it!! they finally found my Mojo!!!
I think this will gain steam overtime... they needed to just get it out there and get customer-driven direction from developers....
Hey, beats the piss out of the last Palm OS SDK approach.
HTML, CSS, and JavaScript are three separate programming language/syntaxes (JQuery syntactic sugar would add yet one more pseudo syntax). To design graphical applications with them for the Pre, I'd have to use a text editor. And if I read the article right, I would have to fiddle with the command line to do development.
The Cocoa API is essentially one programming language/syntax. And I can design graphical interfaces with a graphical application (Interface Builder). And I never have to touch the command line.
No contest.
I've been developing applications for the Palm Pre for about a month and this article does a pretty good job of summarizing the state of the SDK. I was never a Javascript fan and was disappointed at first to learn that it would be the language for developing apps. However, I've since discovered that there's actually quite a bit of power in Javascript. One of the big hurdles for 'traditional' developers approaching the Palm Pre is that you have to learn up to five new technologies at once: Javascript, HTML, CSS, the Mojo framework and, optionally, Prototype. None of these is difficult on their own. Diving head first into all of them leads to a bit of confusion at first as you wrap your brain around them.
I have set up a blog where I discuss some of the more user-facing aspects of the Palm Pre: Pre101.com. I hope to bring out a more developer oriented site later.
Author of Enyo: Up and Running from O'Reilly Media
Dashboard widgets, Dashcode IDE.
you had me at #!
"Tethering"? I don't need to "tether" my Pre.
It's just an ordinary Linux computer that runs iptables and iproute2 like any other Linux computer. If I want to forward traffic over it, I can do it in exactly the same way I would forward packets through any other Linux machine. (Hint: the wifi interface is called eth0. The cellular interface is called ppp0. And it supports USB networking.)
The Pre is mind-bogglingly banal. We're so accustomed to twisted, badly-designed platforms in the mobile world that when we're confronted with what's more or less a boring old Linux system, our jaws drop in flabbergasted amazement.
yeah, the G1 isn't as sleek/sexy as the new Palm...
Have you actually used a Pre? It may look sleek and sexy in pictures, but actually holding the thing it feels completely flimsy, the keyboard is shit (and I say that as someone who really likes my Treo keyboard), and the application interface is frustratingly slow (half the time I couldn't even get the touch screen to work when I played with it). I didn't find it sleek or sexy at all.
Microsoft at least has one thing it knows: cross language APIs/SDKs are a good thing. I wanted to perform some data mining on an Excel Spread sheet, I just popped open Python file and imported COM support -- tah-dah, Excel access in the language of my choice, with as many supporting features as the Java/C#/C++/PHP/Ruby approaches.
"Sorrow is better than laughter, for by sadness of face the heart is made glad." [Ecclesiastes 7:3]
http://en.wikipedia.org/wiki/Just-in-time_compilation
Short answer: your Java program will run natively, as it gets compiled at runtime.
The problem with Java isn't the speed, it's the memory overhead and startup time of the runtime.