From: Benny M. <ben...@gm...> - 2009-07-24 06:29:59
|
2009/7/23 Gerald Britton <ger...@gm...>: > Ok, but for me, "nicely grouped" could be by object type (my > preference by a little) or by function type. I'm not sure which > approach you favor. When hunting for a bug, grouped functionality is what I prefer. But things keep working when grouped by object, as long as the functions list has some logic so you do not need to search for functions in a sidebar. Eg, first the repeated stuff is done for all objects, and then the specific stuff, that is, things are grouped per object but this per block, where a block can be get methods or iter methods or private functions. In the case of the db, if you change it, then I would prefer that you do something like root functions get_object_by_handle get object_by_gid .... person functions same as above + those basic repeat functions without a root family functions same as above specific person functions eg get_surname_list, get_researcher, which might be considered 'Person' functions, but break the repeat structure between the objects private functions __check_by_handle Benny |