At 01:26 PM 10/8/2001 +0100, tom smith wrote:
>So I've generated my Taxonomy db and python code.... and one of the modules
>is called Category.py.
>
>In general OO design terms, should I add a "writeBody()" method to
>Category.py, which maybe gets the id from the SEARCH_ARGS or create a
>CategoryPage.py module which calls a method in my Category class?
>
>Which would you do?

BTW When I augment my middle objects with interface related methods, I do 
so through mix-ins found in a different directory. This keeps my middle 
objects focused on what they are conceptually and makes them reusable in 
other contexts. See http://www2.linuxjournal.com/lj-issues/issue84/4540.html

-Chuck


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to