www.wddx.org


Steve
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 5:31 AM
Subject: Re: wddx??


> Yes, I'm experimenting.
>
> I don't have the lattest Ben Forta book. The one I have I couldn't find a
> reference to wddx.
> The examples and help in CF 4.01 don't help much.
>
> The reason I started expirimenting was that I built a form that
> automatically generates forms
> by querying the table structure and creating the appropriate field type ie
> text, hidden, checkbox etc. Then submits the info to the database.
>
> That works fine for submitting data. The problem is now I want to recall a
> record and fill in the
> form with the recalled info. I got stuck there.
>
> So its kind of worthless to build automatic submission forms if there is
no
> automatic edit form:o((
>
> Jeff Craig
>
> ----- Original Message -----
> From: "Brendan Avery" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, January 12, 2001 6:57 AM
> Subject: Re: wddx??
>
>
> > first off -- what is it that you want to do with wddx?  the <!DOCTYPE...
> > header seems to be out of place here.  typically, if you're serving up a
> > page as wddx content, you don't want anything but the packet itself
(makes
> > it easier on the application making request).
> >
> > wddx is NOT a replacement for HTML code.  it is a way to format your
data
> > in a standard way so that it can be exchanged between different
> > applications and environments.  i can't think of any situation where
you'd
> > want to output a wddx directly to the end-user.
> >
> > could you be more explicit with what your goal is?  or are you just
> > experimenting with wddx to see what it is?  the simple answer to the
last
> > question is that the wddx engine eliminates the tedious task of writing
> > parser code for situations where you want/need to transfer data, usually
> in
> > the case of serving data to another machine (like another webserver).
say
> > that webserver uses <CFHTTP> to request some data from another webserver
> > which responds with a wddx packet so that the calling webserver only has
> to
> > use the built-in CF wddx parser to get the data it needs.
> >
> > that's what i use it for anyways.  an example of a system i built that
> uses
> > wddx is:
> > http://myneighborhoodbb.com21.com
> >
> > every form submission on that site actually parses the form data then
> sends
> > form data to another server (that in turn communicates with about 8+
cable
> > internet service providers via form posts and wddx) which in turn
responds
> > to the webserver with a wddx packet which is parsed and then the
end-user
> > response page is built from the parsed data.
> >
> > the site would have been hellah tedious without wddx.  (actually it
still
> > was, but it coulda been worse...)
> >
> > :)
> >
> > --brendan avery / [EMAIL PROTECTED]
> >
> > At 06:40 AM 1/12/2001 -0600, you wrote:
> > >ok I'm trying to have peace talks with wddx.
> > >Here is the code the wddx packet and the way the page looks. So now
what?
> > >Is there something majic to creating a usable webpage from here OR does
> it
> > >become an exercize in string manipulation?? OR should I go CFML2js and
> > >deal with javascript?? Any advise would be appreciated.
> > >
> > >CODE:
> > ><cfquery name="qryTest2" datasource="northwind">
> > >  select top 1 CustomerID, ContactTitle, ContactName
> > >  from customers
> > ></cfquery>
> > ><cfwddx action="CFML2WDDX" input="#qrytest2#" output="qoutput">
> > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > >#qoutput#
> > >WDDX PACKET
> > >
> > ><wddxPacket version='0.9'><header></header><data><recordset
rowCount='1'
> > >fieldNames='CUSTOMERID,CONTACTTITLE,CONTACTNAME'><field
> > >name='CUSTOMERID'><string>ALFKI</string></field><field
> > >name='CONTACTTITLE'><string>Sales Representative</string></field><field
> > >name='CONTACTNAME'><string>Maria
> > >Something</string></field></recordset></data></wddxPacket>
> > >
> > >PAGE:
> > >ALFKISales RepresentativeMaria Something
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to