News for hackers. Stuff that matters.
Re:Analysis of the conflict among Canonical, GNOME, and KDE by gord on Friday March 11, 2011 @07:47PM (#2315567)
I [obviously] disagree.. while HTML DOM may be a mess, I think SVG + Javascript is a really nice way to do UI.

The pain is almost all in the area of browser compatibility.

I kind of agree with your point, in that I think there is a layer missing [ eg. to make resizable UI work well ]. But I think that layer is best implemented in Javascript upon SVG/DOM.

As a comparison : I've used XCode's Interface Builder, and then thrown it away and written iOS UI Layouts by hand, and apparently Im not alone in this. Then I compare that to how much less code I'd need to write in Javascript for the same UI. [ I have implemented HTML5+js UI for iPad that looks like native Cocoa]

Dont get me wrong, I think Cocoa is a good traditional API. But compared to SVG+js APIs such as Cocoa/QT/GTK feel incredibly verbose, slow to iterate and brittle, IMO.

Re:Analysis of the conflict among Canonical, GNOME, and KDE by drdaeman on Saturday March 12, 2011 @09:55AM (#2316832)
> But I think that layer is best implemented in Javascript upon SVG/DOM.

Could you, please, elaborate on this choice?

Why not, for example, Tcl/Tk? For a simple example, take a look at http://www.tkdocs.com/tutorial/firstexample.html. I doubt it would be simpler in any combination of HTML+CSS+SVG+JS (and, for example, it would be problematic to have system-wide look-and-feel)