Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?


Comment on Re: OO-style question

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 musing on the Monastery: (10)
As of 2014-12-22 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (117 votes), past polls