Re: [Maypole] Access to has_a data from template?

From: Tony Bowden (tony-maypole at kasei.com)
Date: Sat Sep 18 2004 - 22:31:20 BST


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...

But RDBMS->OO doesn't usually follow good OOAD :)

Tony

_______________________________________________
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