[Solar-talk] extending app classes
Jeff Surgeson
solar at 3hex.com
Mon Jul 10 05:11:03 PDT 2006
Hi
Up until now all my solar based apps where extended from Solar_App, had a
single data model that it called on and preformed basic list/edit/add/delete
actions, nothing fancy.
However I am trying to create a Vendor_App_Class that as before extends from
Solar_App but I am able to extend, I think I need to give an example to
explain.
If for instance if I have Vendor_App_Product app with associated data model
which is a class that describes a product (obvious) and in true OOP style I
would like to extend it so I can describe differant products types,
CdProduct, BookProduct, DvdProduct as apposed to creating a new app class
with data model for each differant product.
Is this possible in a Solar_App enviroment? if so what is the best way to go
about it and how would I design a Solar data model to represent this?
Any help would be appreciated.
--
Jeff Surgeson
More information about the solar-talk
mailing list