Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Inside out objects and persistence

by Perl Mouse (Chaplain)
on Jan 03, 2006 at 23:22 UTC ( #520765=note: print w/replies, xml ) Need Help??


in reply to Inside out objects and persistence

It has occurred to me that I could use the scalarref's value to be the ID key for the object, which gives an added bonus of easy stringification.
That would deny any other class in the inheritance tree to pick its own implementation. One of the nice things about Inside-Out objects is that a subclass or a superclass can use traditional objects to do their implementation.

Given that Storable has hooks to deal with cases where classes have proper encapsulation, IMO, that's a heavy price to pay.

Perl --((8:>*

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2020-10-30 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (284 votes). Check out past polls.

    Notices?