> -----Original Message-----
> From: wolf2k5 [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 17, 2005 1:39 PM
> To: CF-Talk
> Subject: Re: Ajax and CFCs
> 
> On 8/17/05, Jim Davis <[EMAIL PROTECTED]> wrote:
> > All of the implementations are just old (and, because they don't take
> > advantage of any of the modern capabilities, slower than you'd expect) -
> but
> > most still work fine.
> >
> > There's also a minor issue (depending on how you feel about standards)
> that
> > the WDDX standard is incompatible with XSD (you can't generate an XSD to
> > describe WDDX).
> >
> > But the long and short of it is: it still works.
> 
> This way I still have a SOAP interface (I could use a Flash client to
> connect to it in the future, or even Lazlo) and a local interface (I
> will use CFML code for regular forms, for browser with JS disabled or
> that don't support the AJAX interface) without duplication of code!
> 
> That looks great to me, am I missing something? :-)

Not really.  I can see a few things worth remembering, but in general - if
it works for you, do it.

+) Of course it goes without saying that this kind of flexibility is pretty
much unique to CF.  You can't (and I know you know this) expect to consume
none-CF web services in the same way.

+) It doesn't really address the issue of passing structured data BACK to
the server from the client.  Of course you may not need to do this, but
being able to would be nice.

For example if you wanted to pass a JavaScript array up to the server you'd
still have to come up with some sort of translation method.  This could be
as simple as creating a WDDX packet and putting it in a specifically named
field... but it still has to be considered and documented.

But it is a nice capability...

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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

Reply via email to