Re: (no subject)



Hi Ariel,

On Fri, 2003-01-03 at 16:13, Ariel Burbaickij mni fh-giessen de wrote:
>  The COM book I have talks about client saving
>  properties of object on its behalf. So as I see
>  Bonobo is based on the same ideas so I do allow
>  myself to pose some questions here (not to mention
>  that I surely prefer free way of development and
>  ability to look behind the curtain) I rahter
>  cannot grasp:

	Ok - so, there is no free way of development ;-)

>  1) Why object cannot and should not save its properties itself?

	Arguably - it's best for an object to have a PersistStream interface,
and be able to persist itself to a stream somehow, rather than it being
done via serializing the PropertyBag.

>  2) If indeed client is so capable guy why the idea 
>     of it storing data on someones' behalf should only
>     be restricted to properties and not to other data?

	How do you get at the 'other' data ? how do you get it's type
information to serialize it ?

>  3) As complementary to the previous. 
>     What are properties exactly? Where is the difference
>     between them and other data? (Saying that it is just
>     attribute/value pair would not help much, cause one can well
>     imagine attribute/value of the form:
>     Data/Actual Data) 

	Properties are arbitrary blobs of data that can be associated with
programmer readable string names, and 'stored' in a PropertyBag -
although storage should never be in the 'BonoboPropertyBag' but internal
to the object.

	HTH,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]