Re: GeoSitesBackend update



On Sun, 2004-02-29 at 21:19, dave wrote:
> On Fri, 2004-02-27 at 17:11, Edd Dumbill wrote:
> > I'd go the other way, if you wanted to refactor...  the members I've got
> > here are debatable, but for illustration
> > 
> >   Locale (name, region, country)
> >     |
> >     +--- Point (has lat,long too)
> >     +--- PhoneDistrict (has STD code)
> >     +--- PostalDistrict (has postal code, also conceivably lat,long)
> > 
> > The Point there should probably become City.
> 
> I'm not sure if you mean that Point (I agree this should really be City)

Or maybe even Place.  I'm so fickle.

> etc. should be members or subclasses of Locale. 
...
>  Please could you clarify which you meant?

I meant subclass.  The members I meant were the things I was expressing
in parentheses.

> > However, this refactoring is likely overkill for now.
> 
> Possibly. But I have some spare time to work on dashboard for the next
> month or so, so I'm willing to take some time to get it right. It's not
> a huge amount of work, so I think it's worthwhile.

Cool!  I reckon there are probably several other areas that would
benefit from hacking love right now too.

-- Edd





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]