4 ms·
"You can think of webOS applications as native applications, but built from the same standard HTML, CSS and JavaScript that you’d use to develop web application
by jemmons 18y ago
"You can think of webOS applications as native applications, but built from the same standard HTML, CSS and JavaScript that you’d use to develop web applications."
"As shown in Figure 1-1, the original Palm OS has a typical native application model ... Ajax applications have some significant advantages over embedded applications."
"Architecturally, Palm webOS is an embedded Linux operating system that hosts a custom User Interface (UI) System Manager built on standard browser technology. The System Manager ... render[s] application HTML/CSS/JavaScript code."
"A webOS application is similar to a web application based on standard HTML, CSS, and JavaScript, but the application lifecycle is different."
"Applications are run within the UI System Manager, an application runtime built on standard browser technology, to render the display, assist with events, and handle JavaScript."
"The webOS APIs are delivered as a JavaScript framework."
"Although not formally part of the framework, the Prototype JavaScript framework is bundled with Mojo to assist with registering for events and DOM handling among many other great features."
"Outside of the built-in applications, webOS applications are deployed over the web."
"In addition, all applications will have an index.html file."
"Launching a webOS application starts with loading the index.html file and any referenced stylesheets and javascript files, as would be done with any web application or web page."
"Palm webOS supports the standard DOM Level 2 event model."
"Supporting webOS's user interface are UI Widgets and a set of standard styles for use with the widgets... you can also override the styles either collectively or individually with custom CSS."
"A widget is declared within your HTML as an empty div with an x-mojo-element attribute."
"Even limiting yourself to just webOS's System UI, application model and UI widgets, developers would have some unique opportunities for building web applications." Hear that? Up to this point, we've just been building web applications. But, "the Services functions complete the webOS platform, fulfilling its mission to bridge the web and native app worlds."
What are these magic functions that make webOS apps more than simple web apps? "You can access hardware features on webOS devices (such as location services, the phone, and the camera)." Oh. They're not web apps because they have GPS and can make phone calls. Great. Oh, and "there are functions to access data in some core applications", so I guess you can import addresses or something.
Yeah, I don't know what I was thinking.