Linked by Thom Holwerda on Fri 18th Mar 2011 19:00 UTC, submitted by anonymous
GTK+ I've been ragging on GNOME a little bit lately, so let's balance things out by talking about something I found quite fascinating: the Gtk+ HTML back-end. This will enable you to run any Gtk+-application inside Firefox 4.0 (only Firefox 4.0 is supported at the moment).
Thread beginning with comment 466874
To read all comments associated with this story, please click here.
Morin
Member since:
2005-12-31

Web apps basically come in two flavors: public, like Facebook, and private in-house apps.

Apps like facebook won't be based on this because it will never run decently on the majority of browsers. Even if we take IE6 out of the equation, which is not yet done today. There are more modern solutions to web app development that do not lack the problems of boatloads of PHP and JS that work cross-browser (Wicket being my favorite).

Private in-house apps don't suffer from this problem, as you can usually count on a single browser to be used everywhere. And let's for a second assume that there are no other forces that prevent this from being Firefox 4. Then there is no reason not to write such applications as Java applets, which is much much easier and works flawlessly.

The only web-app case I could imagine would be already-existing GTK apps.

However, I could very well imagine this as a replacement for X11-over-SSH, as others already said. At least until using an X11-capabale SSH client is a no-brainer on all platforms.

Reply Score: 2

Lennie Member since:
2007-09-22

Did you really mention Java-applets ? This isn't the 1990's you know ? It is not something I would recommend to anyone. Java-applets are such a horrible experience for users. I've never heared anyone say: I liked it

The java-plugin is the browser plugin which currently gets exploited most of all. More than the browser itself, the Flash or Acrobat Reader plugin. Probably not due to the mistakes of Java itself, but ofcourse is caused by people not updating. Security updates from Oracle (before that Sun) also seem slow to me, but I could be wrong.

I think most people just prefer not to even install java or atleast disable the browser-plugin.

I would never recommend plugins or activex or any other proprietary technology anyway. :-) The current flock of new browsers allows for so many new things I think by the end of next year anything development for in the browser can probably just use HTML/CSS/JS. They are even adding a subset of OpenGL support to the browser (called WebGL).

Adobe has released the first beta of a flash2html5 converter.

So far I know of only one reason to still use Java-applets, which is this:

http://netalyzr.icsi.berkeley.edu/learn.html

Because the user can give the applet access to the 'OS'-API (well Java's own abstraction of the OS) which is normally not available to plugins. It can be used to test your network connection, including test for IPv4 and IPv6 and DNS without going through the browser.

But I'm really glad I didn't have to write it. As I understand it from people IPv6 in Java is a big mess.

Reply Parent Score: 2

werterr Member since:
2006-10-03

*shrugs* java applets... has that not died already ?

It should... really it should... maybe the EU should ban java and the jvm all together if it's not possible to kill this horrible evil thing call java applets.

Reply Parent Score: 1

Morin Member since:
2005-12-31

At least bother reading what I wrote... hint: I was talking about highly specialized in-house apps.

When it comes to public apps then you use HTML+CSS+JS, or flash. And by that I mean HTML pre-5 and CSS pre-3, because HTML5 and CSS3 support won't be built into the majority of browsers. Certainly not into IE6, which still *is* a major browser, and I'm not holding my breath for IE7 or IE8 either.

Edit: I'd like to add the fact that this guy made a fortune by writing a rather crappy Java applet:

http://www.minecraft.net/

Edit 2: By "using HTML+CSS+JS" I was talking about what happens on the client side; on the server you'd either use Java servlets + one of the advanced web frameworks, .NET equivalent, a good web scripting language, or if you're a masochist, PHP.

Bottom line is still that web apps aren't what this technology is useful for; it could be an X11-over-SSH replacement though.

Edited 2011-03-19 17:38 UTC

Reply Parent Score: 3