Login:
Password:

Mozilla: Firefox is our RIA platform

By Scott M. Fulton, III, BetaNews

July 7, 2008, 5:53 PM

"This is where we think the future of the Internet is going -- you can start to see these applications breaking out of the confines of the browser space, and try to move onto the desktop," a key Mozilla engineer told BetaNews.

The term "rich Internet application" is almost becoming a misnomer; there truly is no worthy Internet application that, in at least some respect, isn't rich. The original idea of "richness" was in describing a function that justifies the use of technology above and beyond what is typically used for laying out HTML Web pages. Any more, if you're using AJAX, Flash (especially with Adobe's AIR), or Microsoft's Silverlight to develop your application, you've automatically crossed into the zone of "rich."

But the question Web services architects are asking is this: In so doing, do we leave the browser behind? Specifically, if a rich Web application can be run from the desktop, then does the browser's purpose become more relegated to something on the side that you use to check the blogs, read BetaNews, and keep up on world events?

These are questions that the Mozilla organization is exploring, literally, from both sides. Its Mozilla Labs is working simultaneously on two projects: one called Prism which enables you to run some Web services or JavaScript-based applications from the desktop as though they were stand-alone apps, and another called Weave whose aim is to give Web applications a more feature-rich mechanism for connecting to the browser.

In a recent interview, BetaNews talked with Mozilla's own staff "phenomenologist" (that's literally his job title), Mike Beltzner, and its director of engineering, Damon Sicore, about how their organization intends to be intentionally evolving Firefox into an RIA platform in its own right -- one which itself is written in JavaScript.

MIKE BELTZNER, Phenomenologist, Mozilla: The entire mission of the Mozilla Corporation is to promote innovation and choice and development of modern Web applications, and we've got these fundamental beliefs that a Web application can be as interactive and as immersive and as functional as any desktop application. So JavaScript is a full-featured language, and the browser being written in JavaScript is a point of proof. I don't think anybody would believe that the browser that they're using is any less responsive than any other application on their system.

So I think there's a bit of fear, uncertainty, and denial about interpreted languages being as fast as compiled languages. What we're seeing is that that's not necessarily true, and that JavaScript can be just as fast as things like Java, which is top-down, byte-code compiled. I don't think at any point it feels like we're limiting ourselves by working in JavaScript. I think what it does is, it pushes us to make sure that JavaScript is better.

DAMON SICORE, Director of Engineering, Mozilla: Interpreters have come a long way, and there are real-world applications...Even if you look at the Java world, Eclipse -- which is an IDE that developers use day in and day out, and it's very, very snappy -- it's the same type of concept that we use within Firefox. The language has really reached a level of maturity of implementation...it's snappy enough that we can build some exciting Internet applications with it.

But I think the proof is in the pudding, because Gmail's built in JavaScript. If you look at it now, especially within Firefox, it's so much faster, you're seeing instant response times. I think that really proves that JavaScript has reached a level that it needs to be to build exciting applications.

SCOTT FULTON, BetaNews: Mike, you said it was a fundamental belief of the Mozilla Organization that a Web application can be as functional as any desktop application. There's a lot of people who would agree with you there. One of them would be Adobe. As you know, Adobe is building their own functional application platform based on AIR and Flash. If they have things their way, they'd be able to sidestep the browser [to] develop a Web application [framework] that functions and communicates on its own without the overarching framework of a Web browser. If Web applications evolve in that direction, as time goes on, what do you gentlemen think is going to be the justification for maintaining that "File|Edit|View|History|Bookmarks|Options" framework of the Firefox Web browser?

MIKE BELTZNER: This is where we think the future of the Internet is going --you can start to see these applications breaking out of the confines of the browser space, and try to move onto the desktop. There's already a couple of players that have released their own proprietary, closed technology stacks to help people do this, and they require that the user download a runtime [framework]. Really, you can almost think of that runtime as another version of the browser; it's just that you never see the frame, it doesn't come with bookmarks, it doesn't come with history, and it's also not based on standard Web technologies that millions of developers are already trained on, and that millions of people can actually help improve and iterate on.

So what we believe is, the same sorts of things that you can accomplish with the AIR platform or Silverlight, or any of these rich Internet applications platforms, you can also do with standard Web technologies: SVG, Canvas, JavaScript, DOM, HTML -- all of these technologies [that] exist today have very, very rich and engrained cultures of development, [and] have rich online resources for helping people develop these applications. So the real question then is, how do they break out of that browser frame?

That's something that we're experimenting with to a project that's available on Mozilla Labs, called Prism. What Prism does -- it's available as a stand-alone [component] or as an add-on to Firefox -- 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 one of the things that we've done in Firefox 3 is, we've built in support for a new HTML standard for offline applications.

Next: The browser as add-on?

Continued. . .
1 | 2 | Next >>

Add a Comment (8 Comments)

BetaNews reserves the right to remove any comment at any time for any reason. Please keep your responses appropriate and on topic. Foul language and personal attacks will not be tolerated.

Name (required):

E-mail (required):

Enter Your Comment:

By PC_Tool

posted Jul 8, 2008 - 9:51 AM

Haven't tried Prism...

Weave, for now, is more annoying than functional. I'm testing it on three machines and while, when done, it will likely be extremely useful, right now the login servers are down *way* too frequently and (if the last release is any indication) your settings and data may not be transferable to the next version/release.

Score: 0

By Aires

posted Jul 8, 2008 - 4:44 AM

Do you know what, this is going to sound like such a personal attack and it really isn't meant as such, it really isn't.

I started to read this article and within a few sentences all I could read was blah blah blah blah blah. Such looooong sentences that weren't actually saying anything. I know I thought, I bet I know who's written this article so I look up to the top and yep - Scott.

Now you either need to go and do some sort of journalism course, or BetaNews really need to pay some proper journalists to write their stories. What seems like an interesting story gets bogged down in blah blah blah and I'm afraid I just lose interest because it isn't really saying anything to me.

I'm sorry but there it is and I bet I'm not the only person to be thinking this. Like I say it's not a personal attack because others who write for BetaNews are just as equally uninteresting you know, so it's not just you. Sometimes being more concise and to the point is much better, you would never be able to waffle like this when writing for a newspaper you can be sure.

Score: 0

By Gungistoker

posted Jul 8, 2008 - 7:35 PM

This isn't a personal attack because you are not alone in criticizing this site, but why do you keep reading BetaNews?

Score: 0

By PC_Tool

posted Jul 9, 2008 - 8:53 AM

Two words:

Morbid Curiosity.

Score: 0

By Aires

edited Jul 9, 2008 - 6:17 PM

Because I've visited this website for many years and I've seen a sad decline over the last couple of years. I guess I just remeber fondly that the quality just used to be better really. Given that the nature of the stories and the content of the stories has changed so much, you can see that BetaNews have aspirations to be taken seriously. However to be taken seriously, you have to take yourself seriously and this is why I genuinely suggest that the writers should either go on a journalism course, or do work experience for a newspaper. If you're going to act like you're the next Cnet in waiting, then you've really got to step up and walk the walk. Cosying up to Microsoft to get exclusive stories doesn't in and of itself make you a better website.

EDIT:
____
I did some research and my God, the man's actually been writing for more than 20 years and what's more, has actually written books! I'm absolutely gobsmacked because he actually writes like an inexperienced 20 year old. Now I'm really mad that someone could write so terribly and yet still sell books.

Score: 0

By echohead

posted Jul 8, 2008 - 2:53 AM

i really didnt find prism to be that impressive. to me it seemed to be firefox w/o the address bar, loading a specific bookmark.

Score: 0

By AntiochMedia

posted Jul 7, 2008 - 11:59 PM

If you're using Silverlight, you're actually using 'niche' not 'rich' =)

Score: 0

By tigger4046

posted Jul 7, 2008 - 7:17 PM

I have already test driven "Prism", and following the script instructions made a auto connection to Gmail.com that loaded directly from the desktop without even opening Firefox or Internet. Was impressive, I would not be surprised if this becomes implemented into our next release candidate for the firefox platform. There is no telling what is to come next.

Score: 0