On Sat, 18 Sep 2004 22:31:20 +0100, Tony Bowden wrote
> On Sat, Sep 18, 2004 at 12:26:02PM +0100, Simon Flack wrote:
> > I'd argue that the list of formats available to books is intrisic to the
book
> > class since it's a relationship defined in the database. But I'm still
finding
> > my feet in MVC, and you know your app better than I do :)
>
> Well, in traditional OO design, a book would probably only know its own
> format, rather that all the formats it could conceivably be. I guess
> this would be more something that a Publisher would know - what formats
> of books they produce...
That sounds fair. I didn't say 'a book' though. I was thinking of 'the book
class' as a factory for books. But I suppose that's what the Publisher is.
> But RDBMS->OO doesn't usually follow good OOAD :)
Yes, but Class::DBI is a particularly nice square peg.
--simonflk
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT