I'll second WDDX. I've got a tool that builds html forms and sql tables
which stores state in a bunch of text files. The only point I'd mention
about this is when putting the data back into say, the form scope, doing a
wddx2cf conversion doesn't seem to be enough. Instead I had to loop over the
resulting structure and assign each key-value pair into the form scope
again. Something like...

cfwddx wddx2cf myForm

loop collection myForm i
        FORM[i] = myForm[i]
/loop

Or something like that, it's been a while.

I would have thought that having the output variable from the wddx tag set
to FORM would be enough, but I think, and this isn't tested, all that does
is create a key named FORM in the VARIABLES scope. Hence the need to maually
put the values back into the FORM scope.

Ok, I'm done :O)

Ade

-----Original Message-----
From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED]
Sent: 27 February 2005 06:10
To: CF-Newbie
Subject: Re: Convert array to a string?


Depends on what you're doing...

I'm using a few small structs for vairious things, and I use WDDX to
write the struct to a text file for persistence. I actually use WDDX
in many situations for things like capturing counter contents, I've
got one that stores data from a simple yes/no poll, and settings in
administrator screens for applications...

It's a simple way to store structured data fast, and doesn't seem to
have any performance issues in the situations I use it.

Laterz,
J
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.0 - Release Date: 25/02/2005


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place 
for dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:668
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to