WDDX has NOT been dumped. In fact, Updater2 fixed some bugs that existed
with WDDX in CFMX/original. I still use WDDX as it's a quick and easy
way to serialize data. In fact, I have a simple bug tracker (written by
Nathan Dintenfas) that uses WDDX to store data to the file system. It's
not going to support a thousand users, but I can drop the file in an app
and have it running in a few seconds. No need to set up a database or
dsn.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc

Email    : [EMAIL PROTECTED]
WWW      : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Robertson-Ravo, Neil (RX) 
> [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 04, 2003 9:42 AM
> To: CF-Talk
> Subject: RE: WDDX and UDF
> 
> 
> Wouldn't something like this involve a change in WDDX?  I 
> thought MM/Allaire dumped WDDX a long time ago (as far as 
> further development is concerned.)
> 
> -----Original Message-----
> From: D. Delcomminette [mailto:[EMAIL PROTECTED]]
> Sent: 04 February 2003 15:37
> To: CF-Talk
> Subject: RE: WDDX and UDF
> 
> 
> -----Original Message-----
> From: webguy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 6:10 PM
> To: CF-Talk
> Subject: RE: WDDX and UDF
> 
> * I am not really convinced about the explanation,
> 
> Why not?
> * As Raymond says in a further message if I am able to 
> serialize it without getting any error, I shoul be able to 
> de-serialize it as well
> 
> > the deserialized packet
> > shows the function name, access hint, output and array of 
> parameters 
> > ..
> 
> i.e. the same stuff you get when you cfdump it. All those 
> things are "simple" values, or built in object types. The 
> code logic would be a complex "type" or hidden etc.
> * not really, the serialized packet also contains a full 
> reference to the page where my UDF is defined, which should 
> be sufficient to make a link to it ... Why do you want to 
> serialize the function code anyway? Are you going to have 
> "custom" or runtime function code?
> * I do not want to serialize the function code,  but a 
> reference to a function. By  the way if you specify a 
> function as a structure member the struct contains a ref to 
> the function, not the code. The serialized packet also 
> contains a kind of reference to my function, but 
> unfortunately is not de-serialized properly.
> 
> I'm a little confused as to what you are trying to do.
> * I can understand that, I will more specific in a further message.
> 
> if you do a = myfunction(a,b,c);  ... "a" will contain the 
> return code, unless you return the struct of array of struct 
> (as a struct), which you should be able to store as wddx
> 
> > I thought about the CFC solution but can't see exactly how to 
> > implement it
> 
> Tell us what you are trying to do, and we can comment further
> 
> 
> > Thanks anyway
> 
> Welcome WG
> 
> > -----Original Message-----
> > From: webguy [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 04, 2003 5:13 PM
> > To: CF-Talk
> > Subject: RE: WDDX and UDF
> >
> > Thats because "function" is not a "type" so cf doesn't know how to 
> > serializes it. Why not use a CFC that has your functions + 
> the Data , 
> > create a function that returns converts your data into WDDX 
> and also 
> > has a function that can take your wddx and populate you cfc again .
> >
> > WG
> >
> > > -----Original Message-----
> > > From: DDE [mailto:[EMAIL PROTECTED]]
> > > Sent: 04 February 2003 12:32
> > > To: CF-Talk
> > > Subject: WDDX and UDF
> > >
> > >
> > > Looks like you can't save a reference to a UDF to a WDDX 
> packet ??? 
> > > If I do that when I de-serialize the packet I don't have my UDF 
> > > anymore. Any explanations or other suggestion to work it out.
> > >
> > > I use a struct of array of struct containing information about a 
> > > kind of cfgrid object. These struct contain amongst other 
> formatting
> > function for
> > > the columns and I want to save these settings to the database 
> > > between sessions.
> > >
> > > Thanks,
> > >
> > > Dominique
> > >
> > >
> > >
> >
> >
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to