Post a Comment
This is very similar to other technologies that have existed for a while. For example, I contribute to Vexi:
http://vexi.sourceforge.net/
It has similar properties with 1 major difference; brand power. Mozilla brand is strong, and they have a large infrastructure (and as such many developers) behind them, whereas as most projects like Vexi suffer from being too loosely presented to the world - not because they're not good or not well-featured, but because the final push (documentation, demos, marketing) takes a full time effort and we don't have the manpower to do that.
Is Prism good? Probably. Anything special? I doubt it.
Well essentially, it bears absolutely no relation to them! :p
It's a couple of things. It's a tool for creating a link that will launch a browser for a particular site with custom settings for that site, and it's a set of APIs that allow sites to interact with the desktop a little, like minimizing to the task tray, and creating a pop-up right-click menu for minimized apps.
I'm sure there's some more to it but AFAICT that's about it.
If the websites look at all "app-liked" rather than "website-like," to do even what you describe you need some kind of HTTP-based control protocol (e.g., SOAP) and a portable runtime (in this case, XUL).
So with all this infrastructure, you might as well do more than simply having smart links and a few custom settings!
But they're not app-like, they're just websites in their own frame with some extra Firefox JS API for interfacing with some desktop functionality. This has nothing to do with XUL except that it uses xulrunner as essentially a low overhead container for Gecko.
You can of course create apps in XUL + JS, but that's not what this is.
So, you could associate mailto: links with a web-email interface if you used such, and you can create links to those "web applications" (just some new fancy trend word for websites that fulfill a specific need), but haven't you always been able to? I sure can create links to any website I wish just fine. And they are still just websites no matter how fancy frames you put them in.
Maybe I just am not part of the target group. I don't use e-mail at all except if absolutely forced to, and I just can't for the life of me imagine how you could turn MMO-Champion, OSNews or Slashdot to anything else than what it is: a website.
It's mostly an easy interface to do such things and a few more as mentioned bij slight. Also read the other OSNews-article from today: "ODF, Net Apps, Netbooks Will Invigorate the OS Landscape".
Personally I think they should just finish Prism and integrate it with Firefox so people will actually start using it.
This whole "web application" trend really is a bad egg in my opinion.
The last thing we need is to turn our multi-GHz dual-core computers into 486s because of excessive use of web scripting languages that require multiple additional interpretation layers on top of the existing OS.
I mean, even Visual Basic 6 runs more efficiently than some of these web applications I've seen of late (and it's a hell of a lot quicker and more fun to program in too).
And it not even as if there's a void of lower-level (relatively speaking) languages that compile to run cross-platform binaries (Java, .net) or powerful scripting languages with an already extensive API set and refined interpreters (Ruby, Python, etc)
Bar a few select applications, this trend strikes me as pandering to lazy developers.
Edited 2009-05-12 11:18 UTC
I mean, even Visual Basic 6 runs more efficiently than some of these web applications I've seen of late (and it's a hell of a lot quicker and more fun to program in too).
You must both be IE users, hey?
Check out Squirrelfish extreme:
http://en.wikipedia.org/wiki/WebKit#JavaScriptCore
and tracemonkey:
http://en.wikipedia.org/wiki/Tracemonkey
Both of these are JIT compilers for javascript
http://en.wikipedia.org/wiki/JIT_compiler
Check out the demo:
http://arstechnica.com/open-source/news/2009/02/mozilla-demos-impre...
Motion detection within a running video, all inside of a web browser.
Edited 2009-05-12 11:41 UTC
You must both be IE users, hey?
Check out Squirrelfish extreme:
http://en.wikipedia.org/wiki/WebKit#JavaScriptCore
and tracemonkey:
http://en.wikipedia.org/wiki/Tracemonkey
Both of these are JIT compilers for javascript
http://en.wikipedia.org/wiki/JIT_compiler
No matter what browser you're using, it's still interpreted language and will always be slower than precompiled one. I myself am using FireFox and I can happily say that I hate using websites with lots of javascript and such. They are noticeably slower than websites with very little or no javascript at all and there's no way you can get around that.
Check out Squirrelfish extreme:
http://en.wikipedia.org/wiki/WebKit#JavaScriptCore
and tracemonkey:
http://en.wikipedia.org/wiki/Tracemonkey
Both of these are JIT compilers for javascript
http://en.wikipedia.org/wiki/JIT_compiler
No matter what browser you're using, it's still interpreted language and will always be slower than precompiled one. I myself am using FireFox and I can happily say that I hate using websites with lots of javascript and such. They are noticeably slower than websites with very little or no javascript at all and there's no way you can get around that.
A JIT compiler is not an interpreter.
Firefox does not include tracemonkey as yet. It is included for the first time in Shiretoko, which is due for release sometime soon as Firefox version 3.5.
http://en.wikipedia.org/wiki/Mozilla_Firefox#Version_3.5
First check out what tracemonkey can do in the video of this article:
http://arstechnica.com/open-source/news/2009/02/mozilla-demos-impre...
and then comment about the speed.
Edited 2009-05-12 11:55 UTC
I still don't think we should be pushing a poorly-adhearded to scripting language.
The smarter thing would be to build a new language - one that all teh browsers have to strictly adhear to. One that properly integrates document formating and scripting rather than the tangled mess that is CSS, HTML and javascript.
The browsers could send an additional a HTTP request header specifiying it supported "web3.0" (or whatever the hell you want to name it) so webservers could push out the right language for the right browsers (HTML for old browsers and the new language for new browsers).
Sure, it would mean that you would need two pages for each site during the interim transition period. But the headache on this could still be minimized through dynamically generated pages (eg, messageboards store the core of the data in a DB so all you'd need to build would be the frontend).
HTML was good for it's day, but it's time to move on.
As the saying goes: "You can't polish a turd as you only end up with sh!t on your hands"
Edited 2009-05-12 12:24 UTC
It is only poorly adhered to by one of the browsers in common use.
The others all pass conformance tests AFAIK.
http://en.wikipedia.org/wiki/Acid_3#Standards_tested
(Conformance subtests 81-96)
http://en.wikipedia.org/wiki/ECMAScript
It is a pretty well-defined standard. Most browsers don't have any trouble with it at all.
http://en.wikipedia.org/wiki/Acid_3#Standards_tested (Conformance subtests 81-96) http://en.wikipedia.org/wiki/ECMAScript It is a pretty well-defined standard. Most browsers don't have any trouble with it at all.
Even if it is just IE that doesn't conform, IE is still the majorety browser so it still equates to millions of pages scripts executing incorrectly or being perpose hacked to run on one specific platform.
Besides, wouldn't it make more sense to redesign HTML from the ground up? Obviously it won't technically be HTML, but you get what I mean.
Every broswer (even some which use the same rendering engine) scores differently on the Acid3 test.
HTML is a real mess. It's been bodge after bodge getting it as content rich as it currently is.
I say it's time we draw a line in the sand and build a whole new web language developed with scripting and document formatting in mind. Something that's actually designed for the connected, multi-media age rather than the hacked together mess that is HTML.
Edited 2009-05-12 14:58 UTC
First check out what tracemonkey can do in the video of this article:
http://arstechnica.com/open-source/news/2009/02/mozilla-demos-impre.....
and then comment about the speed.
It looked to me like the computer running the javascript application was down on its knees, the webcam video was so jerky on it. And it also looked to me like they were seriously wasting CPU-time on a task that would be a lot better to run natively. But oh well..
Check out Squirrelfish extreme:
http://en.wikipedia.org/wiki/WebKit#JavaScriptCore
and tracemonkey:
http://en.wikipedia.org/wiki/Tracemonkey
Both of these are JIT compilers for javascript
http://en.wikipedia.org/wiki/JIT_compiler
No matter what browser you're using, it's still interpreted language and will always be slower than precompiled one. I myself am using FireFox and I can happily say that I hate using websites with lots of javascript and such. They are noticeably slower than websites with very little or no javascript at all and there's no way you can get around that.
I agree. To see how much faster the web runs, install NoScript. JavaScript, Flash, etc. really gunk up the web, and often for no reason.
Personally I've seen more sites with stupid flash then with stupid Javascript, the website builders seem to be getting a better grasp of things now to. Also because there is a lot more less-powerfull mobile devices which are the new trend. Small, simple, efficient 'applets' or webapps, or whatever they are called this week are starting to arise.
Far from it. I don't even have Windows installed on any of my computers (bar a music studio desktop, but that doesn't have a network connection).
My browser of choice is Opera (with plug-ins disabled) and Firefox (for the rare occations I need Flash).
So please don't make assumptions about me because you happen to disagree with my points.
Far from it. I don't even have Windows installed on any of my computers (bar a music studio desktop, but that doesn't have a network connection).
My browser of choice is Opera (with plug-ins disabled) and Firefox (for the rare occations I need Flash).
So please don't make assumptions about me because you happen to disagree with my points. "
AFAIK Opera doesn't have a javascript JIT compiler, IE certainly doesn't have one, and Firefox doesn't have one YET. I think Webkit does, so that means Google Chrome and Safari would be the only current browsers where one could experience one in action on one's system (but it therefore would have to be a Mac).
A JIT compiler will make some applications using javascript run up to 30 TIMES faster compared with a javascript interpreter. That is not a matter of agreeing or disagreeing with opinions, that is a benchmarked fact.
That is game-changing <= and that was an opinion.
Edited 2009-05-12 13:55 UTC
30 times faster is still significantly slower than .net, Java and Python.
So my original point still stands: why would you want to build a desktop application in javascript?
It's slow, the language lacks uniformity in 3rd party adhearence to standards and it is hugly lacking the power and flexibility of the aforementioned languages.
.net, Java and Python have been used as cross platform desktop application languages for years now. So surely it would make more sense to use them rather than re-inventing the wheel with an inferior product?
TraceMonkey seems quite competitive with Python:
http://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=...
I wouldn't be so quick to dismiss it. JavaScript hasn't been considered a "real" language until recently, but it's not all that far from Python in reality.. dynamic languages on the whole aren't hugely fast when compared to statically typed ones (C#, Java).
I'm no IE user either... I'm primarily a Firefox user, or Safari when I'm on OS X. My oses are Ubuntu and OS X, no Windows here except on a VM, which I run for the soul purpose of fixing others' screwed up Windows boxes and don't use IE in there either.
Don't be surprised, though, all Lemur 2 ever does is make assumptions about people when their views don't coincide with his own.
the example I always point to is cappucino and obj-J. http://280slides.com/Editor/
In a browser with a good javascript implementation, it is better then a lot of desktop apps I have used. Only this is accessible from any computer, cross platform, and zero cost deployment.
Edited 2009-05-12 15:10 UTC
"this trend strikes me as pandering to lazy developers."
Yes, their are many. But I've also seen a lot more understanding by developers how to actually build the apps. What should be done on the server and what in the browser.
We've seen a few stupid ones, but I think it's improving.
Seems to be Windows/MacOS X only at this time. Couldn't find anything about non-MS/non-Apple OSes anywhere on the site, and there's nothing in the downloads areas.
Having something better than Prism 0.9 for Linux, which has horrible issues with SSL and plugins, would be very useful for us.



