Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Ovid,
With respect, it sounds like you need an additional class. A will handle the raw data access. B will return the data in one format and C returns it in another. Document the class you're most comfortable with the user having, privatize the rest. Also, keep the MVC (model, view, controller) model in mind. One data model, alternate views, controllers vary according to need. --f</p? In reply to Re: OO-style question
by footpad
|
|