Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: OO-style question

by footpad (Monsignor)
on Dec 30, 2000 at 09:27 UTC ( #48975=note: print w/replies, xml ) Need Help??


in reply to OO-style question

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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://48975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-08-31 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (426 votes). Check out past polls.