Re: struct2cfml (dynamic cfml generation)

2001-12-27 Thread Roger B .

On Tue, 25 Dec 2001 23:48:46 +0100, in cf-talk you wrote:

I know that it is possible with wddx but I think that my solution would
be faster.

The solution you describe *is* WDDX. Serialize the structure, CFFILE
the resulting variable, and later reload and deserialize it.

--
Roger
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



struct2cfml (dynamic cfml generation)

2001-12-25 Thread Martin Orth

Hi,

I am searching for a solution(custom tag) to generate dynamic cfml code
that is stored in a simple variable. The custom tag should do the
following. Maybe there is an dymacaly generated array of
structures(shopping cart) in the memory and I want to generate the cfml
code that has created this structure and write it on the harddisk. Later
on I can use it with an cfinclude to genaerate the same array of
strucures again.

I know that it is possible with wddx but I think that my solution would
be faster.

Best regards from Germany

Martin Orth

-- 
cfsolutions - Martin Orth
Hornstrasse 127  - 51465 Bergisch Gladbach - Germany
Tel. +49 (0)2202 86 25 12  - Fax +49 (0)2202 86 25 13
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: struct2cfml (dynamic cfml generation)

2001-12-25 Thread Jeffry Houser

  I want to point out that both structures and arrays are complex 
variables, not simple variables.

  Other than that...
  I'm a bit confused as to what you want to do.
  How would the array of structures be created if you did not already have
 
CFML code to create it?
  Or perhaps you have generic, 'add to cart' functionality, but want to 
keep track of someone's additions to a cart, and then will want to create a
 
cart later (that has the same items) ?



At 11:48 PM 12/25/2001 +0100, you wrote:
Hi,

I am searching for a solution(custom tag) to generate dynamic cfml code
that is stored in a simple variable. The custom tag should do the
following. Maybe there is an dymacaly generated array of
structures(shopping cart) in the memory and I want to generate the cfml
code that has created this structure and write it on the harddisk. Later
on I can use it with an cfinclude to genaerate the same array of
strucures again.

I know that it is possible with wddx but I think that my solution would
be faster.

Best regards from Germany

Martin Orth

--
cfsolutions - Martin Orth
Hornstrasse 127  - 51465 Bergisch Gladbach - Germany
Tel. +49 (0)2202 86 25 12  - Fax +49 (0)2202 86 25 13

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists