[Cuis] How layout works in Cuis morphic (Re: More...morphic)

nacho 0800nacho at gmail.com
Sat Apr 26 08:06:16 CDT 2014


Hannes,
Yes it was very useful. Browsing GitHub -especially yours and Ken's
repositories- I've discovered a lot of stuff that help me to understand a
little more about Morphic in Cuis.
The package that you mention was very helpful in seeing how LayoutMorph
actually works. 
Thanks for doing it.
My idea is to have a very good understanding of how Morphic works in Cuis,
and after that try to document an make examples. Usually, I agree with Juan
that Smalltalk is self documenting. The power to see how a method from the
Class Library is implemented is invaluable. However, Morphic is kind of
tricky and as Cuis has a very stable core, for me it makes sense to have it
documented.

I usually take a look at how morphic works on Squeak and then try to figure
out how the same code can be rewritten to run on Cuis. However, the
implementations are quiet different in general. Also, Pharo seems to be
moving away from Morphic. Not in the sense that is taking it out, but in the
sense that it has applied a new Framework on top of it -Spec-. Morphic still
works but it seems it will not be the defacto framework for UI building.
But I rather learn Morphic and I also like the fact that in Cuis Morphic has
been simplified. One has to figure out how to build, for instance, a
SimpleSwitchMorph just to run some Squeak code, but that's ok. I guess that
if one gets the knowledge of how Morphic works on Cuis, it can be
re-implemented as a package and not as a core feature.

Thanks again for posting your examples and your work in progress in GitHub.
I hope one day I can repay the Cuis community with some nice intro to
Morphic on Cuis.
Best
Nacho





-----
Nacho
Smalltalker apprentice.
Buenos Aires, Argentina.
--
View this message in context: http://forum.world.st/How-layout-works-in-Cuis-morphic-Re-More-morphic-tp4756595p4756598.html
Sent from the Cuis Smalltalk mailing list archive at Nabble.com.




More information about the Cuis mailing list