User talk:Rj sri

Light Weight Objects
Light Weight Objects in perl was always a indefinite discussion among the perl and XML users until it was described in detail by Sriram rajagopalan and Zaxo on the Perl Monks group. On the discussion happened September 18th on the Light Weight Objects, Sriram rajagopalan defined it as:

LDO abbreviated from Lightweight Distributed Object and it is the specification for serializing objects using XML or a binary format, for encoding remote requests as objects to be transmitted. It is an API for using the remote requests and serialization. LDO implementations are available for Python and Perl. This was previously called Lotos and listed in the XML Resource Guide on XML using it's old name. For further specifications on LDO, visit LDO

Simultaneously, Zaxo defined this as:

That's a generic term in OO. It refers to objects whose instances are uncomplicated and small. That is typically done by keeping the real data in some kind of container which does the management. A blessed scalar key to the class global container is then a lightweight object.

It's sometimes a bit of a cheat - the container and its management methods are likely just as complicated as a direct implementation would be.

There's a lot of information here, just browse the list in this link to flyweights.