Implementing a DSM in SqMondrian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Implementing a DSM in SqMondrian

Alexandre Bergel-4
Hi!

I was wondering what the best strategy to implement a DSM will be. I  
see two different strategies:
        1 - Building the matrix with a formsBuilder. Each shape contained in  
the builder is therefore a cell of the DSM.
        2 - Having an MONode for each cell.

I would favor option 2, but a special layout need to be defined right?

Doru, you said once that Mondrian may not be adapted to build DSM. I  
do not understand (or even feel) why.  May you comment on this?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Implementing a DSM in SqMondrian

Tudor Girba-3
Hi Alex,

I guess this mail was supposed to go to moose-dev :).

> I was wondering what the best strategy to implement a DSM will be. I
> see two different strategies:
> 1 - Building the matrix with a formsBuilder. Each shape contained in
> the builder is therefore a cell of the DSM.
> 2 - Having an MONode for each cell.
>
> I would favor option 2, but a special layout need to be defined right?

In VW, you can already do that through "formsBuilder asLayout". I used  
this to build an evolution matrix that can be align nicely both  
vertically and horizontally.

> Doru, you said once that Mondrian may not be adapted to build DSM. I
> do not understand (or even feel) why.  May you comment on this?

You can, but it won't be optimal. The reason is that for any  
significantly sized matrix you will not want to represent each cell as  
an object, but rather treat the complete matrix as one smart object  
that optimizes the display.

Cheers,
Doru


> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



--
www.tudorgirba.com

"Beauty is where we see it."




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] Re: Implementing a DSM in SqMondrian

Alexandre Bergel-4
> I guess this mail was supposed to go to moose-dev :).

Yes. Apologies to my Pharo fellows.

>> I was wondering what the best strategy to implement a DSM will be. I
>> see two different strategies:
>> 1 - Building the matrix with a formsBuilder. Each shape contained in
>> the builder is therefore a cell of the DSM.
>> 2 - Having an MONode for each cell.
>>
>> I would favor option 2, but a special layout need to be defined  
>> right?
>
> In VW, you can already do that through "formsBuilder asLayout". I  
> used this to build an evolution matrix that can be align nicely both  
> vertically and horizontally.

Ah yes! thanks!

>> Doru, you said once that Mondrian may not be adapted to build DSM. I
>> do not understand (or even feel) why.  May you comment on this?
>
> You can, but it won't be optimal. The reason is that for any  
> significantly sized matrix you will not want to represent each cell  
> as an object, but rather treat the complete matrix as one smart  
> object that optimizes the display.

Yes, it makes sense.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project