[squeak-dev] Morphic on HTML+CSS

Janko Mivšek janko.mivsek at eranova.si
Wed Jun 15 17:47:51 UTC 2011

S, Bert Freudenberg piše:

>> 1. is this a clear signal that HTML5 for ALL apps, both desktop and the
>>   web is inevitable?
> Just as much as Java is inevitably the only choice for ALL apps, both desktop and the web

There is a difference. Java is product of marketing while trio
HTML+CSS+JavaScript is a product of slow progress through last 15-20
years, commming only these days everywhere on the frontline. It is not
hard to imagine which is therefore more mature.
>> 2. is this a clear signal that we need to rebuild Morphic on top of
>>   HTML+CSS, to leverage all Morphic advantages and come back
>>   to bleeding edge again?
> There already is Jens's Morphic.js:
> 	http://www.chirp.scratchr.org/blog/?p=34
> And Lively Kernel is Morphic too, even more embodying the spirit of Squeak as a personal computing environment.
>> I think yes. What Squeak/Pharo/Cuis GUI masters say?
> Well, it would be great to see more of the good ideas in Squeak and its ancestors getting wider adoption. Seeing Morphic on the web is cool, but that's somewhat unrelated to Squeak.
> Having style sheets in Squeak's Morphic would be cool too. The Sophie developers used style sheets for their Tweak UI. But I don't think HTML would be a good choice for Squeak's Morphic. Implementing a fully compliant HTML renderer is Hard, and I don't see the added complexity being worth it.

We wont need to implement our own HTML renderer but use the platform
one, like WebKit etc. Trend namely also is to put HTML5+CSS-JAvaScript
support directly into operating system. See Google's ChromeOS as a first
example, Windows 8 following, soon every operating system will have a
HTML subsystem like as file system. By puting our image on top of HTML
layer as a level higher than a plain graphics as now we'll therefore
jump one level higher too.

> What would be nice though is pursuing the idea of alternative UI kits in Squeak - being able to unload and switch between Full Morphic / SimpleMorphic / Native / HTML interfaces, all backed by ToolBuilder seems very useful. For the HTML interface you could e.g. just add a WebKit plugin.


Janko Mivšek
Smalltalk Web Application Server

More information about the Squeak-dev mailing list