On Tue, Nov 29, 2016 at 3:45 PM, Esteban Lorenzano <[hidden email]> wrote:
> > On 29 Nov 2016, at 00:00, Ben Coman <[hidden email]> wrote: > > > > On Tue, Nov 29, 2016 at 5:29 AM, Esteban Lorenzano <[hidden email]> > wrote: >> >> Hi, >> >> On 28 Nov 2016, at 21:32, stepharo <[hidden email]> wrote: >> >> Hi >> >> - Could we rename FastTable into Table? >> >> >> not for Pharo 6 but Pharo 7 yes… in fact, I think it should be called >> TableMorph. >> (Also we need to refactor a lot, to eliminate the FT prefix, etc.) >> >> >> - Then I miss an important design point. Why datasource returns Morph? >> >> I do not get get why a data source should return UI element. To me it >> violates layers. >> >> >> no, because that’s its purpose: to provide the table with the cell >> elements (which are by definition Morphs… any kind of morphs). >> a TableDataSource is not a spec, is the provider of cells. >> >> > > so maybe TableCellSource / TableCellProvider ? > > > I’m not against changing its name, in general the family of names are > “DataSource”, “Store”, etc. so I imagine that “Provider” fits (even if I > tend to hate names style “Manager”, “Factory”, “Provider”, because there are > too generic… sometimes is that what you have :P) > But is not just a “cell provider”, it does something more, is a general > model of the TableMorph: it provides cells, headers and interaction > capabilities (like drag&drop)… so it is more like a "table data provider”, cool. I was only reflecting back your first description (and so I learnt something more about it) > TableDataSource, TableStore, TableProvider are then better names, IMO… /refers to thesaurus TableWidgetSource, TableComponentSource, TableElementSource, TablePartProvider, TableAspectProvider, TableFacetProvider cheers -ben > > this changes will impact Pharo 7… is very good that we can have a discussion > like this now, that we have the time to reach a consensus :) > > Esteban > > > cheers -ben > > |
In reply to this post by EstebanLM
Ok so I never understand it that way. What a bad name. Stef
-- Using Opera's mail client: http://www.opera.com/mail/ |
In reply to this post by EstebanLM
On Mon, 28 Nov 2016 22:29:08 +0100, Esteban Lorenzano <[hidden email]> wrote:
Hi, What a ugly name then... Why this is not a CellMorphFactory or something like that.
-- Using Opera's mail client: http://www.opera.com/mail/ |
In reply to this post by EstebanLM
Please please please. So I was always confused.
-- Using Opera's mail client: http://www.opera.com/mail/ |
In reply to this post by EstebanLM
TableMorphStore? Because I was really shocked to see that it returned Morph.
-- Using Opera's mail client: http://www.opera.com/mail/ |
In reply to this post by Aliaksei Syrel
On Tue, 29 Nov 2016 09:58:41 +0100, Aliaksei Syrel <[hidden email]> wrote:
who said that. I could say exactly: DataSource is responsible to cut data so that they are delivered by row or columns.
Store in the sense of serving something.
Clearly not
-- Using Opera's mail client: http://www.opera.com/mail/ |
In reply to this post by Aliaksei Syrel
On Tue, 29 Nov 2016 10:46:09 +0100, Aliaksei Syrel <[hidden email]> wrote:
If dataSource does not return view then you are right for the name. Now in Pharo the name is wrong and may be the design too :)
-- Using Opera's mail client: http://www.opera.com/mail/ |
Free forum by Nabble | Edit this page |