[Pharo-project] About simple morphic

Stéphane Ducasse stephane.ducasse at inria.fr
Sat Nov 6 14:08:46 CET 2010

Hi guys

the mail may be a bit long sorry. ESUG was supporting Morphic 3 (a new proposal) of Juan. Now it occurred that Juan realized that he will not be able to deliver what he wanted. So After discussion one idea was to get simpleMorphic (not lighMorphic) a simpler version of Morphic done by juan for Squeak and Pharo. We believe that this is good because Juan could deliver something and we could support him. 

Juan sent us the code and I published it at http://code.google.com/p/pharo/issues/detail?id=3210

Here is the original text:

> I'm really happy to tell you: SimpleMorphic for Pharo is working! The attached zip file contains a few numbered change sets, to be installed in Pharo in order.
> The contents of the change sets are as follows:
> - SMx01-PharoEnhAndPreliminaries-jmv.3.cs and SMx02-PharoEnhAndPreliminariesCoda.1.cs contain some refactoring needed to make it possible to add another GUI to Pharo. Nothing here is specific to SimpleMorphic, and I recommend integrating them into Pharo.
> - SMx03-ExtensionMethodsPart1.3.cs contains a few useful methods, not specific to SimpleMorphic, but optional anyway. You might integrate this into Pharo or consider it part of SimpleMorphic.
> - SMx04-SimpleMorphic.11.cs This change set is the big one. It includes all the new SimpleMorphic classes. It doesn't include any method for existing classes (to make review easier).
> - SMx05-ExtensionMethodsPart2.7.cs This change set includes the SimpleMorphic specific methods I added to existing classes.
> After loading them, you can evaluate 'SimpleMorphicUIManager start' to enter SimpleMorphic and 'SimpleMorphicUIManager stop' to return to regular Morphic.
> As SimpleMorphic is much simpler and easier to understand that regular Morphic, my biggest hope is that the Pharo community will adopt it, study it in detail, and be able to adapt it to Pharo's needs all way down. No need to walk away from overwhelming complexity anymore.
> I look forward for your comments!

Now after discussion with Juan: we plan to integrate SM01, 02, and 03 to be able to load SM04.
SM04 is not in a shape were we can simply migrate on it
	- Polymorph first polymorph is tight with the old Morphic 
	- Preference are still used
	- FillInTheBlank, PopUp.... are used.

Now  I suggest that we integrate 01.02.03 and package the rest to be loaded in 1.2
This way we can either update SimpleMorphic to get more pharoed or we could use it to study and fix morphic.
But all that will require some work.

Tell us what you think.

More information about the Pharo-project mailing list