Json visitor and MAFileModel
ronaldoferraz at gmail.com
Sun Feb 24 00:40:32 MET 2008
> 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. :-)
More information about the smallwiki