I looked at doing this earlier when I was implementing the proxy
mechanism for elephant. The assumption of persist values on each slot
access is pretty baked into Elephant. You'd have to get inside the
slot access protocols, initialization protocols and who knows what
else. If you can se
Sorry, instance creation should look like this:
(setf banana (make-instance 'banana :deferred t))
or
(setf banana (make-deferred-instance 'banana))
Leslie
___
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailma
It would be nice to be able to say:
(defpclass banana () (:index t))
(setf banana (make-instance 'banana))
; do stuff with banana, then later optionally:
(store-indexed-object banana)
We could then do without proxy objects in Weblocks.
I can't see any immediate problems with this approac