« Return to Thread: Json visitor and MAFileModel

Re: Json visitor and MAFileModel

by Ronaldo Ferraz :: Rate this Message:

Reply to Author | View in Thread

Hi, Lukas--

>  Yes, MAFileDescription is sort of a primitive type, mainly because in
>  the user interface it appears as a single upload/download field.

That makes sense. In fact, the way I was using it until now it didn't
matter but I will have to keep a little more state for the new
functionality I'm developing, hence the question.

>  I guess it would make sense to add these descriptions as a class
>  extension. This is one of most useful techniques of Magritte, that you
>  can attach new descriptions to any class in the system. I use this all
>  the time.

I'm a bit new to Smalltalk/Squeak/Magritte terminology and I'm not
sure what class extensions mean. May I bother you for a small example
and a pointer for more explanations?

>  I don't know if it makes sense to add these descriptions to the core
>  at the moment?

That's what I thought but I was wondering about the tight coupling.
But as you mentioned, it's likely class extensions will fit what I
need--if and when I understand them. :-)

Cheers,

Ronaldo

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

 « Return to Thread: Json visitor and MAFileModel

LightInTheBox - Buy quality products at wholesale price