[Pharo-project] Toward MVP: SimpleGridExample vs. ClassListExample, etc.
stephane.ducasse at inria.fr
Sat Jun 4 12:23:11 EDT 2011
On Jun 4, 2011, at 6:08 PM, Schwab,Wilhelm K wrote:
> I have a couple of GUIs to create, and took another look at my (very) slowly evolving MVP package. A small update appears below, but the question of the day is one of performance of MorphTreeMorph in its various incarnations.
> ClassListExample is very impressive and reasonably quick. SimpleGridExample is very nice, but quite slow. Profiling its opening reveals that it spends a lot of time making morphs, but that's not super surprising. It's the total time that is of concern. Any takers on why?
did you check on 1.3 because igor and ben spent some time optimizing it a bit.
> I ask, because I am trying to create basic presenter classes for lists, trees, (more or less working), text (will be easy - I *think*), and another big item is multi-column lists. My objective is to be able to easily construct things that (unless told to do otherwise) automatically deal with the selected index, updates, etc. None of this stuff is terribly difficult to do when following the Polymorph examples, PharoCasts, etc., but hopefully we can have MVP and stop repeating ourselves at the same time.
I'm interested in that MVP framework.
Do you have some code somewhere?
With igor we discussed about killing pluggable.... but for now one step at the time.
> The next thing I am missing is a grid. Any strong thoughts on examples to follow/reuse, or things that should NOT be used for any reason?
did you check HPI library or void nullpointer widgets?
I would love to have a gorup of people pushing that.
More information about the Pharo-dev