I don't know how useless this would be - I can see potential for it right away.


For instance - what if I had a page that had to dynamically change or update parts of the page (i.e. search results)?  I currently do this sort of thing by calling a new page in a hidden IFrame, which will then generate new output, and use _javascript_ to replace the target DIV's innerHTML.  This makes the page look to be dynamic, and not reload (therefore saving form values and helping preserve the "user experience").  With your approach, I should be able to move the output generation into a CFC, and update the page with a simple JS call, and no page reload or call to an IFrame.  This brings business rule logic back to the server where it should be, and gives me greater control over the process.  Either way would work, but now all of a sudden, I can see where a web service is useful.  In the past, it's been a little grey....


My thoughts...


Shawn

-----Original Message-----
From: Rob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 4:39 PM
To: CF-Talk
Subject: Re: _javascript_ remoting with cfcs

On Wed, 2004-03-17 at 15:27, Nathan Strutz wrote:
> That's great, but man do you have a lot of time on your hands...
I guess - took about 2 days to do the whole thing (would've taken longer
if Dave didnt hook me up with the soap SOAPAction value )

> It's a
> cool toy for sure though, although I can't think of a use for it.
Hehehe - yeah I know me either really. I had a dream to make it a couple
days ago so I figured might as well.

>  How
> browser compatabile is the _javascript_? like will it run on IE5~ish browsers?
It works on my linux Mozilla 1.4.1 and IE 6.0. I *think* it'll work on
IE 5... I should try XP too.

Well it's kind of neat even if it is usless at present.

Cheers,
--
Rob <[EMAIL PROTECTED]>
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to