Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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


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.


Comment on Re: OO-style question

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2015-11-29 13:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls