Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://48975]
[Discipulus]: new $workstation is arrived: SSD 250, sata 1TB, 16G RAM, only i5 CPU.. seems a good one: guess what first user installation will be?
[Corion]: Discipulus: Notepad++, or Perl ;)
[marto]: xubuntu or lubuntu
[Corion]: :-D
[marto]: my desktop is a core2 duo, 120GB SSD, 4GB RAM, boots to (GUI) login in less than 10 seconds from cold start
[Discipulus]: mah, winbuntu 10...
[marto]: whent he boys start school I'll build myself as new machine, ryzen based

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-07-27 08:50 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (407 votes). Check out past polls.