Hello,

to give you a second example I will show my "class schema"...

> * PDQ::DB - Rose::DB subclass, all data sources registered here
> 
> * PDQ::DB::Object - Rose::DB::Object subclass with init_db overridden
> to return a PDQ::DB object
> 
> * PDQ::DB::Object::Cached - (Optional) subclass of
> Rose::DB::Object::Cached and PDQ::DB::Object, used as a base class for
> any cached objects.
> 
> * PDQ::DB::Object::Manager - (Optional) Rose::DB::Object::Manager
> subclass, in case you want to add methods to all your managers.

PDQ::DB    - contains data sources
PDQ::RDB   - Rose::DB subclass (maybe not needed)
PDQ::RDBO  - Rose::DB::Object subclass
PDQ::RDBOM - Rose::DB::Object::Manger subclass

PDQ::Data::Product    = PDQ::Product
PDQ::Manager::Product = PDQ::Product::Manager


The most difference is, that I separate Data (the object) and Manager,
instead of "Product" and "Product::Manager". But this is just personal
taste.


Bye, Uwe


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to