Currently, you'll have to persist the two CFCs separately. Vince
On Thu, Nov 5, 2009 at 6:04 PM, Bassil Karam <[email protected]> wrote: > Oh nice. How do you handle CFC dependencies to other CFC's? What happens if > another CFC is stored in the variables scope, is that then serialized or is > the process recursive? > Baz > > On Thu, Nov 5, 2009 at 2:57 PM, Vince Bonfanti <[email protected]> wrote: >> >> No, we're not serializing CFC's anymore, so there shouldn't be a >> problem with versioning. Basically, the CFC "variables" scope is >> persisted to the datastore; when the CFC is retrieved from the >> datastore, a new instance is constructed and the "variables" scope >> initialized with the persisted values. >> >> Our plans are to implement syntax that's compatible with the CF9 ORM >> feature for persisting CFCs, in which case the current syntax for >> persisting CFCs may be deprecated. >> >> Vince >> >> On Thu, Nov 5, 2009 at 2:36 PM, Bassil Karam <[email protected]> wrote: >> > I noticed the datastore can still store and save CFC's (as well as >> > structs, >> > which is awesome) does that mean they are still being serialized and if >> > their signature changes there will be errors? >> > Cheers, >> > Baz >> > >> > > >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
