On Feb 21, 2007, at 6:10 AM, Adrian Howard wrote:
> Reasonable? Is there a better way (for some definition of "better")?

personally, i use wrappers for all my rdb objects

my  'page objects' can only write to 'data objects'

the data objects handle loading / unloading rose objects as internal  
stashes, provide a layer for other objects to read the rose data, and  
handle the write / update logic

in a tree structure, the modules are organized like this:

        /DataObject/
        /Page/
        /RoseDB/
        
it works out pretty well.  if i ever needed to abandon rose ( that  
would never happen though ! ) , everything that hits  rose is  
consolidated in the DataObject tree

all the hooks , pre processing / whatever can also happen within  
update modules in DataObject

its not a better solution, but it works :)



// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to