The Web without the browser: Mozilla's Prism enables true Web apps
By Scott M. Fulton, III | Published May 12, 2009, 11:58 AM
Mozilla Labs has been devoted to building ideas into viable code that may or may not become products someday. For a year and a half, one of its tasks has been to build a framework for deploying Web-based applications straight to the desktop, while introducing though not necessarily mandating a new methodology or set of practices for sites to follow. In other words, if an application is already live in a browser like Firefox, let's take it out of the browser motif and move it to the desktop.
Since much of Mozilla is about the fine art of testing, the Prism project last week was able to officially exit its internal testing phase, and enter...a new phase of testing, this time what Mozilla calls the Beta 1.0 phase. So despite the fact that Prism 0.9 is now history, Prism 1.0 is now in public beta, with its developers openly inviting users everywhere to install existing Web apps as though they were just plain apps.
Last year, when Mozilla staff "phenomenologist" Mike Beltzner introduced us to Prism, he told Betanews, "What Prism does...is allow you, when you get to any one of these applications on the Web, to just click a button and say, 'I want to make this an application on my desktop.' You'll get an icon on your desktop, and you'll be able to interact with it through Alt-Tab like anything else, but it will actually just be this Web site. Now, there's a little way to go with Web technologies. You need offline support, you need to be able to use that application when you're connected or when you're not connected. So...we've built in support for a new HTML standard for offline applications."
Prism comes as a two-part set. Technically, you only need the Prism "runtime" (the Firefox browser with a little less fox and more fire), though in Betanews tests on a Windows XP SP3-based machine, we had difficulty getting the stand-alone Prism to enroll a Web application as a stand-alone app. We had much better luck with the Firefox plug-in, which lets you use Firefox to browse to the application you want to enroll, then from the Tools menu, select Convert Website to Application. A very simple dialog box gives you the only options you need for effectively bringing up an instance of Prism like a browser and loading your Web app as though it were its home page. When we checked Start Menu, Prism created a shortcut there, but conveniently in the Web Apps folder rather than in the usual mess of first-tier apps.
For now, we're noticing one curious problem: We can't run more than one Prism instance simultaneously. The multitasking problem will need to be solved if we intend to enter the Web application world intact.
Zoho Writer 2.0 is vastly improved over its predecessor, as we discovered last month. But one of its remaining dilemmas with the standard Firefox browser is that it reacts poorly with some plug-ins -- in many of our test systems, JavaScript won't size the user's choice of fonts correctly. Moving the Web app to Prism solves this problem, because it gets rid of all the excess baggage that surrounds every browser window (it's our fault for installing it all in Firefox in the first place, I suppose). Now, although you can start your Web app like an installed application, Windows itself doesn't see it that way yet; in our tests, it still groups the browser as a taskbar entry under Firefox, along with any other instances of Firefox you might have open. So the transition to the new metaphor isn't complete just yet, though we're delighted to see Web applications elevated even this much to the level of "real software," not by building up the Web browser but by stripping it down. By itself, Prism is merely 8 MB of code, making it an inoffensive and unobtrusive runtime platform -- as well as, in many ways, a development path for the future development of the Web itself.


huh..
No mention of Chrome's "Application-mode"? Isn't this what everyone dumped Prism for when the development on Prism crawled to a near stand-still a while back?
Glad to see it;s apparently picked back up, but it'd be nice to see a comparison of functionality between Prism and Chrome "App-mode" with Gears (offline, tray functionality, etc...).
Score: 0
|mozilla lab projects never were intensively developed. They are proto type ideas, i m glad chrome and safari picked it up, but doesn't mean anything.
and why exactly does this have to be a comparison?
Score: 0
|"and why exactly does this have to be a comparison?"
..and what the hell, exactly, is wrong with comparing software with "like" functionality in a forum regarding a product with that specific functionality?
Defensive much?
Score: -1
|didn't silverlight 3 enable this very same thing?
Score: 0
|From reading the Silverlight 3 Beta page, it sounds like you can run Silverlight apps outside the browser. It doesn't do outside-the-browser stuff for all pages, just Silverlight pages.
http://silverlight.net/g...lverlight3/default.aspx
"Out of Browser Capabilities. The new out of browser experience in Silverlight 3 enables users to place their favorite Silverlight applications directly onto their PC and Mac, with links on the desktop and start menu—all without the need to download an additional runtime or browser plug-in."
Score: 0
|So is this run in a "silverlight" client window? I assume "out-of-browser" implies it's not like copying a .swf (flash) file to your desktop and associating it with your browser....
Score: 0
|No, Silverlight enables the deployment of Silverlight applications outside the browser, and those apps have to be crafted with Silverlight as the platform in mind. They can still be very nice apps, but they're Silverlight. Prism is essentially the Firefox browser stripped down to a platform level, so you can deploy a Web application that uses the standard stuff -- XHTML, JavaScript, AJAX -- as a stand-alone app. Now, if Silverlight runs an app through Firefox, it can run it through Prism too, but it'll get the Prism window treatment.
-SF3
Score: 0
|Seems to work well. Would be nice if it used tabs or something instead of opening a new window when a page has a popup.
Also, I am using Windows 7 RC 64-bit and in the default taskbar the webapps actually come up as seperate applications than the browser. Running multiple webapps at once also show up as their own application (it doesn't group the webapps together either). I am using Prism standalone, not the Firefox addon and it works perfectly.
Score: 0
|Im not sure where is the problem, but I can run multiple prism webapp simultaneously, I can even open another real firefox browser along with them.
Is your problem a linux thing?
Score: 0
|