[Cuis-dev] Is anyone working on Morphic-free Cuis?

Luciano Notarfrancesco luchiano at gmail.com
Thu Apr 21 23:00:07 PDT 2022


Hi Stephen,
I think Morphic will continue evolving in Cuis.

Morphs could be lightweight too, for example (thinking out loud) it might
make sense to have a superclass ProtoMorph for lightweight morphs with no
submorphs and no properties, etc. Not sure if at some point it will make
sense to make the dot in i a morph, but it’s not impossible. Many years ago
in Squeak I had morphs with thousands of submorphs and it worked fine, I
made a 3D earth with submorphs for airplanes, earthquakes, volcanos, etc,
with real-time data I retrieved from the web… I had to use quadtrees to
make it fast tho, but it was not hard.

Also, you don’t need to make every display object a morph, as Juan already
pointed out, just like TextMorph doesn’t add a morph per character or
stroke, and I’m guessing right now you don’t have a view for each music
event, right?

Anyway the main problem might be that you just don’t like Morphic, and
that’s fine too, it’s always nice to have alternatives and it would be
great if someone ported some MVC framework to Cuis.


About morphs with thousands of submorphs

On Fri, 22 Apr 2022 at 1:00 AM stephen--- via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

>
> Hi again all,
>
> Yeah, I’m still tracking Cuis, and loving the lack of bloat.
>
> My issues with Morphic are that it’s not MVC and it’s not well-designed.
>
> First, views and controllers are merged, which hurts reusability of
> components and hinders the development of new interaction methods like
> multi-touch screens or voice input.
>
> Second, the base classes (Morph et al.) are pretty heavy-weight; Morph has
> 6 instance variables, and you’re up to 10 or more by the time you get to
> the interesting classes.  This makes it hell on the garbage collector for
> complex UIs (like music notation) where you might have thousands of display
> objects on the screen, and want to scroll or page quickly.
>
> I really want to port my Music framework (Siren =
> https://github.com/stpope/Siren9) off of VisualWorks, but I refuse to use
> Morphic, so I’m looking at the new UI frameworks being built in Pharo.
> Pharo is way bloated, though, which is why I was hoping somebody was
> porting Sparta/Block/Brick to Cuis...
>
> Keep up the great work!
>
> Stephen
>
>
> --
>
>                     Stephen Travis Pope   Ojai, California, USA
>           http://HeavenEverywhere.com        http://FASTLabInc.com
>                        https://vimeo.com/user19434036/videos      *http://heaveneverywhere.com/Reflections
> <http://heaveneverywhere.com/Reflections>*
>
> --
>
>
>
>
> On Apr 20, 2022, at 6:43 PM, Juan Vuletich via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
> Hi Stephen
>
> Nice to see you around!
>
> On 4/20/2022 8:00 PM, stephen--- via Cuis-dev wrote:
>
>
> Hello Cuis-dev!
>
> Is anyone working on Morphic-free Cuis, i.e., porting the
> Sparta/Block/Brick work in order to make a new GUI framework available?
> I’ve been looking at it in Pharo, and it’s getting pretty mature.
>
>
> Not that I'm aware of. It would be an interesting project to learn about!
>
> In any case, what value do you see over Morphic, in particular for Cuis? I
> don't know much about Sparta/Block/Brick, and the README in the repos
> contain no description about, but just install instructions.
>
> What's your view / opinion on them? (besides them getting mature)
>
> stp
>
> --
>
>                     Stephen Travis Pope   Ojai, California, USA
>           http://HeavenEverywhere.com <http://heaveneverywhere.com/>
>   http://FASTLabInc.com <http://fastlabinc.com/>
>                        https://vimeo.com/user19434036/videos      *http://heaveneverywhere.com/Reflections
> <http://heaveneverywhere.com/Reflections>*
>
>
>
> Thanks,
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3https://independent.academia.edu/JuanVuletichhttps://www.researchgate.net/profile/Juan-Vuletichhttps://patents.justia.com/inventor/juan-manuel-vuletichhttps://twitter.com/JuanVuletich
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220422/ee7e7494/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 2442 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220422/ee7e7494/attachment-0001.tiff>


More information about the Cuis-dev mailing list