Re: Low-tech asychronous call to ColdFusion

2006-07-21 Thread dcooper
CFTHREAD & CFJOIN proof of concept tags for CF7 posted:

http://www.dcooper.org/blog/client/index.cfm

Damon

> FYI, just doing some testing on these tags (cfthread and cfjoin) and I 
> hope to have them posted on my blog today or tomorow.  They'l require 
> CF7, but Standard Edition is fine (Enterprise not required).  
> 
> Using the these tags with CF7 won't give you the thread pooling and 
> other fine-grained control, such as the number of dedicated threads 
> for processing, etc that you get with the Async Gateway and Event 
> Gateway architecture, but hopefully they'll still be useful.
> 
> Glad to see our developers used their plane ride back from CFUNITED 
> constructively :)
> 
> Damon
> 
> > Not sure, "TBD" :)  (don't need to stinkin hell raining down on me! 
> :) 
> > 
> > 
> > Let me just say that there's nothing (*technically*) that ties it to 
> 
> > the gateway infrastructure...
> > 
> > Damon 
> > 
> > >So, would this still be an Enterprise only feature then? Or would 
> > the
> > >tag be usable in Standard? (You do realise that if you say Ent 
> only
> > >then all hell will reign down upon you from others currently 
> > watching
> > >this thread :)
> > >
> > >Andy
> > >
> > >On 18/07/06, dcooper @ macromedia. com dcooper @ macromedia. com
> > ><[EMAIL PROTECTED]> wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247282
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-21 Thread Tom Chiverton
On Thursday 20 July 2006 18:47, Dante Orlando wrote:
> So out of curiosity, why didn't MACR implement cfthread/cfjoin instead of
> the async gateway in the first place?

It's apples and oranges isn't it ?
Thread support is something you can do with the gateway, but the gateway also 
offers you a lot more than just that !

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247264
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-20 Thread Brandon Harper
On 7/20/06, dcooper @ macromedia. com dcooper @ macromedia. com
<[EMAIL PROTECTED]> wrote:
> FYI, just doing some testing on these tags (cfthread and cfjoin) and I hope 
> to have them posted on my blog today or tomorow.  They'l require CF7, but 
> Standard Edition is fine (Enterprise not required).
>

Awesome Damon-- this is something I've needed/wanted for quite some
time.  The applications I work with depend on multiple calls to slow,
3rd party resources.  Being able to thread these calls and have their
results returned (without depending on shared scopes) is going to make
my life a whole lot better as a developer.  Looking forward to it!

- Brandon

-- 
http://devnulled.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247257
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Low-tech asychronous call to ColdFusion

2006-07-20 Thread Dan G. Switzer, II
Andy,

>The NewAtlanta folks are adding CFTHREAD/CFJOIN to BD7. It allows you
>to fire off an asynch request and then "get it back".
>
>Looks like Damon and the CF folks are going to give us this as an
>unsupported(?) addon.

Thanks for the response, that clears it up!

_Dan


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247235
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-20 Thread Andy Allan
The NewAtlanta folks are adding CFTHREAD/CFJOIN to BD7. It allows you
to fire off an asynch request and then "get it back".

Looks like Damon and the CF folks are going to give us this as an
unsupported(?) addon.

Andy

On 20/07/06, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
> >FYI, just doing some testing on these tags (cfthread and cfjoin) and I hope
> >to have them posted on my blog today or tomorow.  They'l require CF7, but
> >Standard Edition is fine (Enterprise not required).
>
> Just out of curiosity, what is cfjoin?
>
> -Dan
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247233
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Low-tech asychronous call to ColdFusion

2006-07-20 Thread Dan G. Switzer, II
>FYI, just doing some testing on these tags (cfthread and cfjoin) and I hope
>to have them posted on my blog today or tomorow.  They'l require CF7, but
>Standard Edition is fine (Enterprise not required).

Just out of curiosity, what is cfjoin?

-Dan


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247222
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-20 Thread Dante Orlando
On 7/18/06, dcooper @ macromedia. com dcooper @ macromedia. com <
[EMAIL PROTECTED]> wrote:
>
> Yeah, we did cfthread tag in about a day...we're debating whether to toss
> it out there as an open source project...


So out of curiosity, why didn't MACR implement cfthread/cfjoin instead of
the async gateway in the first place?

-dante


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247218
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-20 Thread dcooper
FYI, just doing some testing on these tags (cfthread and cfjoin) and I hope to 
have them posted on my blog today or tomorow.  They'l require CF7, but Standard 
Edition is fine (Enterprise not required).  

Using the these tags with CF7 won't give you the thread pooling and other 
fine-grained control, such as the number of dedicated threads for processing, 
etc that you get with the Async Gateway and Event Gateway architecture, but 
hopefully they'll still be useful.

Glad to see our developers used their plane ride back from CFUNITED 
constructively :)

Damon

> Not sure, "TBD" :)  (don't need to stinkin hell raining down on me! :) 
> 
> 
> Let me just say that there's nothing (*technically*) that ties it to 
> the gateway infrastructure...
> 
> Damon 
> 
> >So, would this still be an Enterprise only feature then? Or would 
> the
> >tag be usable in Standard? (You do realise that if you say Ent only
> >then all hell will reign down upon you from others currently 
> watching
> >this thread :)
> >
> >Andy
> >
> >On 18/07/06, dcooper @ macromedia. com dcooper @ macromedia. com
> ><[EMAIL PROTECTED]> wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247168
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Low-tech asychronous call to ColdFusion

2006-07-19 Thread Bobby Hartsfield
Some would disagree ;-) heh

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 18, 2006 12:53 PM
To: CF-Talk
Subject: Re: Low-tech asychronous call to ColdFusion

Bobby Hartsfield wrote:
> If you were going to do that, couldn't you just use
> AJAX ?

Probably, but that wouldn't be "low-tech" ;)



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247125
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Dave Watts
> First, my apologies for the snooty tone of my previous 
> message (I somehow can't seem to avoid shooting myself in the 
> foot in public--it must be a personality flaw).

Personally, I always attempt to consciously discount the tone of email
messages, since it's so easy to misinterpret that.

> To answer your question: no, BD 7.0 has not been released 
> publicly yet. The public beta is planned to begin soon, as 
> announced at CFUNITED (and on my blog just prior to that). 
> I'll post a short, polite message to this list when the beta 
> is available for download.

I honestly wasn't sure if it was available yet. I heard some of your
presentation at CFUNITED, but didn't think it would be finished so soon
after that!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247011
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Vince Bonfanti
First, my apologies for the snooty tone of my previous message (I somehow can't 
seem to avoid shooting myself in the foot in public--it must be a personality 
flaw).

To answer your question: no, BD 7.0 has not been released publicly yet. The 
public beta is planned to begin soon, as announced at CFUNITED (and on my blog 
just prior to that). I'll post a short, polite message to this list when the 
beta is available for download.

Vince Bonfanti
New Atlanta Communications, LLC

>I had no idea BD 7 was already released. The latest I can find on your site
>is 6.2.1.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246997
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Mark Mandel
I just posted up my asyncHTTP caller (asyncronous GET and POST requests).

http://www.compoundtheory.com/?action=asynchttp.index

I've yet to do a blog post on it, but it's very straight forward.

Drop the lib in your webroot (or mapping), create a new asyncHTTP CFC,
and then run the get() or post() methods on it.

If you have any feedback let me know.

Mark

On 7/19/06, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Cool--you guys are good! Then it should only take you another
> > day to implement abstract CFCs and CFC interfaces (both fully
> > supported--not open source projects--in BD 7.0). And adding
> > support for the "null" keyword and IsNull function (more BD
> > 7.0 features) could probably be done before lunch; after
> > lunch you can add the onClientStart and onMissingTemplate
> > handlers to Application.cfc (yet more BD 7.0 enhancements).
> > Maybe someone else could hack out the CFIMAGE and CFIMAP tags
> > (currently in BD 6.2.1) over the weekend? Since you only have
> > to worry about implementing in Java (and not both Java and
> > .NET, like BD), it shouldn't be too hard.
>
> I had no idea BD 7 was already released. The latest I can find on your site
> is 6.2.1.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246993
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Dave Watts
> Cool--you guys are good! Then it should only take you another 
> day to implement abstract CFCs and CFC interfaces (both fully 
> supported--not open source projects--in BD 7.0). And adding 
> support for the "null" keyword and IsNull function (more BD 
> 7.0 features) could probably be done before lunch; after 
> lunch you can add the onClientStart and onMissingTemplate 
> handlers to Application.cfc (yet more BD 7.0 enhancements). 
> Maybe someone else could hack out the CFIMAGE and CFIMAP tags 
> (currently in BD 6.2.1) over the weekend? Since you only have 
> to worry about implementing in Java (and not both Java and 
> .NET, like BD), it shouldn't be too hard.

I had no idea BD 7 was already released. The latest I can find on your site
is 6.2.1.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246985
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Rick Root
Vince Bonfanti wrote:
> Cool--you guys are good! Then it should only take you another day to 
> implement abstract CFCs and CFC interfaces (both fully supported--not open 
> source projects--in BD 7.0). And adding support for the "null" keyword and 
> IsNull function (more BD 7.0 features) could probably be done before lunch; 
> after lunch you can add the onClientStart and onMissingTemplate handlers to 
> Application.cfc (yet more BD 7.0 enhancements). Maybe someone else could hack 
> out the CFIMAGE and CFIMAP tags (currently in BD 6.2.1) over the weekend? 
> Since you only have to worry about implementing in Java (and not both Java 
> and .NET, like BD), it shouldn't be too hard.

hah.  Been a while since I've seen a good flame war that wasn't about 
frameworks ;)

Rick

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246962
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Vince Bonfanti
Cool--you guys are good! Then it should only take you another day to implement 
abstract CFCs and CFC interfaces (both fully supported--not open source 
projects--in BD 7.0). And adding support for the "null" keyword and IsNull 
function (more BD 7.0 features) could probably be done before lunch; after 
lunch you can add the onClientStart and onMissingTemplate handlers to 
Application.cfc (yet more BD 7.0 enhancements). Maybe someone else could hack 
out the CFIMAGE and CFIMAP tags (currently in BD 6.2.1) over the weekend? Since 
you only have to worry about implementing in Java (and not both Java and .NET, 
like BD), it shouldn't be too hard.

Cheers,

Vince

> Yeah, we did cfthread tag in about a day...we're debating whether to 
> toss it out there as an open source project...
> 
> Damon
> 
> > Hmmm...sounds like a perfect use of the new CFTHREAD tag in BD 7.0:
> > 
> > http://blog.newatlanta.com/index.
> > cfm?mode=entry&entry=152A1ECC-B7C2-5C0D-4269B203A722C055
> > 
> > Vince Bonfanti
> > New Atlanta Communications, LLC
> > 
> > > I am aware (somewhat!) of the asynchronous Web services capability 
> 
> > > with CFCs in ColdFusion. What would listers recommend if I simply 
> 
> > want 
> > > to call a ColdFusion action page asynchronously. The asychronous 
> > call 
> > > is a one-way trip and does not require data back to the caller.
> > > 
> > > Here's the scenario briefly: I have a sign-up form that calls an 
> > > action page, but the action page does a lot of heavy lifting with 
> 
> > > numerous queries and loops. The page takes about 15 seconds to run, 
> 
> > 
> > > the result of which is an autogenerated e-mail link with an 
> > autologin 
> > > to an application environment.
> > > 
> > > I echo back an acknowledgement page immediately while processing 
> > > continues on the action page. What I have will work since the 
> thread 
> > 
> > > will continue to run even if the user click away from the page, 
> but 
> > I 
> > > would prefer that the thread would run asychronously and not 
> appear 
> > to 
> > > be tying up the page.
> > > 
> > > I would prefer to not go the CFC route, but I am open to 
> persuasion.
> > 
> > > 
> > > Thanks.
> > > 
> > > Paul Fraser

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246954
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Andy Allan
You'll make lots of CF Std people happy and you'll probably gets lots
of beer out it too :)

That would be the clincher for me lol

On 18/07/06, dcooper @ macromedia. com dcooper @ macromedia. com
<[EMAIL PROTECTED]> wrote:
> Not sure, "TBD" :)  (don't need to stinkin hell raining down on me! :)
>
> Let me just say that there's nothing (*technically*) that ties it to the 
> gateway infrastructure...
>
> Damon
>
> >So, would this still be an Enterprise only feature then? Or would the
> >tag be usable in Standard? (You do realise that if you say Ent only
> >then all hell will reign down upon you from others currently watching
> >this thread :)
> >
> >Andy
> >
> >On 18/07/06, dcooper @ macromedia. com dcooper @ macromedia. com
> ><[EMAIL PROTECTED]> wrote:
> >>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246923
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Rick Root
Robertson-Ravo, Neil (RX) wrote:
> Don't debate - do.

I agree.  I was pretty much drooling at the thought of CFTHREAD when 
Vince talked about it at CFUNITED.

rick


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246922
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread dcooper
Not sure, "TBD" :)  (don't need to stinkin hell raining down on me! :) 

Let me just say that there's nothing (*technically*) that ties it to the 
gateway infrastructure...

Damon 

>So, would this still be an Enterprise only feature then? Or would the
>tag be usable in Standard? (You do realise that if you say Ent only
>then all hell will reign down upon you from others currently watching
>this thread :)
>
>Andy
>
>On 18/07/06, dcooper @ macromedia. com dcooper @ macromedia. com
><[EMAIL PROTECTED]> wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246920
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Rick Root
Bobby Hartsfield wrote:
> If you were going to do that, couldn't you just use
> AJAX ?

Probably, but that wouldn't be "low-tech" ;)

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246919
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Andy Allan
So, would this still be an Enterprise only feature then? Or would the
tag be usable in Standard? (You do realise that if you say Ent only
then all hell will reign down upon you from others currently watching
this thread :)

Andy

On 18/07/06, dcooper @ macromedia. com dcooper @ macromedia. com
<[EMAIL PROTECTED]> wrote:
> I should add:
>
> 1) This was built by one of our developers in his personal time, so it'd be 
> unsupported by us officially, etc, but we'll see if it makes sense to post on 
> something like the Adobe Exchange, etc, and/or roll into the product in a 
> future update.
>
> 2) Customers using CF7 Enterprise have this capability now with the Async 
> Gateway, but this might be a nice add-on to simplify things.
>
>
> Damon
>
>
>
> > Yeah, we did cfthread tag in about a day...we're debating whether to
> > toss it out there as an open source project...
> >
> > Damon
> >
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246918
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread dcooper
I should add: 

1) This was built by one of our developers in his personal time, so it'd be 
unsupported by us officially, etc, but we'll see if it makes sense to post on 
something like the Adobe Exchange, etc, and/or roll into the product in a 
future update. 

2) Customers using CF7 Enterprise have this capability now with the Async 
Gateway, but this might be a nice add-on to simplify things.


Damon 



> Yeah, we did cfthread tag in about a day...we're debating whether to 
> toss it out there as an open source project...
> 
> Damon
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246911
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Robertson-Ravo, Neil (RX)
Don't debate - do.






"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: CF-Talk 
Sent: Tue Jul 18 17:23:22 2006
Subject: Re: Low-tech asychronous call to ColdFusion

Yeah, we did cfthread tag in about a day...we're debating whether to toss it
out there as an open source project...

Damon

> Hmmm...sounds like a perfect use of the new CFTHREAD tag in BD 7.0:
> 
> http://blog.newatlanta.com/index.
> cfm?mode=entry&entry=152A1ECC-B7C2-5C0D-4269B203A722C055
> 
> Vince Bonfanti
> New Atlanta Communications, LLC
> 
> > I am aware (somewhat!) of the asynchronous Web services capability 
> > with CFCs in ColdFusion. What would listers recommend if I simply 
> want 
> > to call a ColdFusion action page asynchronously. The asychronous 
> call 
> > is a one-way trip and does not require data back to the caller.
> > 
> > Here's the scenario briefly: I have a sign-up form that calls an 
> > action page, but the action page does a lot of heavy lifting with 
> > numerous queries and loops. The page takes about 15 seconds to run, 
> 
> > the result of which is an autogenerated e-mail link with an 
> autologin 
> > to an application environment.
> > 
> > I echo back an acknowledgement page immediately while processing 
> > continues on the action page. What I have will work since the thread 
> 
> > will continue to run even if the user click away from the page, but 
> I 
> > would prefer that the thread would run asychronously and not appear 
> to 
> > be tying up the page.
> > 
> > I would prefer to not go the CFC route, but I am open to persuasion.
> 
> > 
> > Thanks.
> > 
> > Paul Fraser
Minneapolis



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246907
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread dcooper
Yeah, we did cfthread tag in about a day...we're debating whether to toss it 
out there as an open source project...

Damon

> Hmmm...sounds like a perfect use of the new CFTHREAD tag in BD 7.0:
> 
> http://blog.newatlanta.com/index.
> cfm?mode=entry&entry=152A1ECC-B7C2-5C0D-4269B203A722C055
> 
> Vince Bonfanti
> New Atlanta Communications, LLC
> 
> > I am aware (somewhat!) of the asynchronous Web services capability 
> > with CFCs in ColdFusion. What would listers recommend if I simply 
> want 
> > to call a ColdFusion action page asynchronously. The asychronous 
> call 
> > is a one-way trip and does not require data back to the caller.
> > 
> > Here's the scenario briefly: I have a sign-up form that calls an 
> > action page, but the action page does a lot of heavy lifting with 
> > numerous queries and loops. The page takes about 15 seconds to run, 
> 
> > the result of which is an autogenerated e-mail link with an 
> autologin 
> > to an application environment.
> > 
> > I echo back an acknowledgement page immediately while processing 
> > continues on the action page. What I have will work since the thread 
> 
> > will continue to run even if the user click away from the page, but 
> I 
> > would prefer that the thread would run asychronously and not appear 
> to 
> > be tying up the page.
> > 
> > I would prefer to not go the CFC route, but I am open to persuasion.
> 
> > 
> > Thanks.
> > 
> > Paul Fraser
Minneapolis

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246903
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Bobby Hartsfield
If you were going to do that, couldn't you just use
AJAX ?

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 12:10 PM
To: CF-Talk
Subject: Re: Low-tech asychronous call to ColdFusion

Tom Chiverton wrote:
> On Monday 17 July 2006 16:07, Paul Fraser wrote:
>> I would prefer to not go the CFC route, but I am open to persuasion.
> 
> The poor mans version could fire off a CFHTTP request to a page to do the 
> heavy lifting, and then print the 'all OK' message.
> 

That wouldn't be asynchronous though.  Because his page would wait for 
the CFHTTP to complete.

One alternative would be to call a cfm file in an iframe, and then use 
javascript to redirect the main page.

The request in the inline from would continue to run even though the 
browser isn't attached to it anymore.

Rick




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246889
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Tom Chiverton
On Monday 17 July 2006 17:10, Rick Root wrote:
> That wouldn't be asynchronous though.  Because his page would wait for
> the CFHTTP to complete.

Not if you set a low timeout value :-)

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246854
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Nick de Voil
> I am aware (somewhat!) of the asynchronous Web services capability with CFCs
in ColdFusion. What would listers recommend if I simply want to call a
ColdFusion action page asynchronously. The asychronous call is a one-way trip
and does not require data back to the caller.

The really simple solution is to create a JavaScript Image object and set its
"src" attribute to the URL of the action page. The user has no sure way of
knowing that the request even got to the server, let alone whether there was a
processing error. But  it works.

Nick




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246850
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-18 Thread Robertson-Ravo, Neil (RX)
Post when it's complete. Be good to have a look.




"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Mark Mandel <[EMAIL PROTECTED]>
To: CF-Talk 
Sent: Tue Jul 18 05:41:26 2006
Subject: Re: Low-tech asychronous call to ColdFusion

In about 2 days I've got a really light weight Asyncronous HTTP caller
lib coming out.

It allows you to make asyncronous GET and POST requests to any given URL.

I haven't finished writing up the documentation for my website, but
contact me offlist if you want a copy, and I can walk you through
using it - it's pretty simple.

Regards,

Mark



On 7/18/06, James Holmes <[EMAIL PROTECTED]> wrote:
> Can you just use AJAX and specify a dummy return function?
>
> On 7/17/06, Paul Fraser <[EMAIL PROTECTED]> wrote:
> > I am aware (somewhat!) of the asynchronous Web services capability with
CFCs in ColdFusion. What would listers recommend if I simply want to call a
ColdFusion action page asynchronously. The asychronous call is a one-way
trip and does not require data back to the caller.
> >
> > Here's the scenario briefly: I have a sign-up form that calls an action
page, but the action page does a lot of heavy lifting with numerous queries
and loops. The page takes about 15 seconds to run, the result of which is an
autogenerated e-mail link with an autologin to an application environment.
> >
> > I echo back an acknowledgement page immediately while processing
continues on the action page. What I have will work since the thread will
continue to run even if the user click away from the page, but I would
prefer that the thread would run asychronously and not appear to be tying up
the page.
> >
> > I would prefer to not go the CFC route, but I am open to persuasion.
> >
> > Thanks.
> >
> > Paul Fraser
> > Minneapolis

-- 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246849
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-17 Thread Mark Mandel
In about 2 days I've got a really light weight Asyncronous HTTP caller
lib coming out.

It allows you to make asyncronous GET and POST requests to any given URL.

I haven't finished writing up the documentation for my website, but
contact me offlist if you want a copy, and I can walk you through
using it - it's pretty simple.

Regards,

Mark



On 7/18/06, James Holmes <[EMAIL PROTECTED]> wrote:
> Can you just use AJAX and specify a dummy return function?
>
> On 7/17/06, Paul Fraser <[EMAIL PROTECTED]> wrote:
> > I am aware (somewhat!) of the asynchronous Web services capability with 
> > CFCs in ColdFusion. What would listers recommend if I simply want to call a 
> > ColdFusion action page asynchronously. The asychronous call is a one-way 
> > trip and does not require data back to the caller.
> >
> > Here's the scenario briefly: I have a sign-up form that calls an action 
> > page, but the action page does a lot of heavy lifting with numerous queries 
> > and loops. The page takes about 15 seconds to run, the result of which is 
> > an autogenerated e-mail link with an autologin to an application 
> > environment.
> >
> > I echo back an acknowledgement page immediately while processing continues 
> > on the action page. What I have will work since the thread will continue to 
> > run even if the user click away from the page, but I would prefer that the 
> > thread would run asychronously and not appear to be tying up the page.
> >
> > I would prefer to not go the CFC route, but I am open to persuasion.
> >
> > Thanks.
> >
> > Paul Fraser
> > Minneapolis

-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246846
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-17 Thread James Holmes
Can you just use AJAX and specify a dummy return function?

On 7/17/06, Paul Fraser <[EMAIL PROTECTED]> wrote:
> I am aware (somewhat!) of the asynchronous Web services capability with CFCs 
> in ColdFusion. What would listers recommend if I simply want to call a 
> ColdFusion action page asynchronously. The asychronous call is a one-way trip 
> and does not require data back to the caller.
>
> Here's the scenario briefly: I have a sign-up form that calls an action page, 
> but the action page does a lot of heavy lifting with numerous queries and 
> loops. The page takes about 15 seconds to run, the result of which is an 
> autogenerated e-mail link with an autologin to an application environment.
>
> I echo back an acknowledgement page immediately while processing continues on 
> the action page. What I have will work since the thread will continue to run 
> even if the user click away from the page, but I would prefer that the thread 
> would run asychronously and not appear to be tying up the page.
>
> I would prefer to not go the CFC route, but I am open to persuasion.
>
> Thanks.
>
> Paul Fraser
> Minneapolis
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246845
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-17 Thread Vince Bonfanti
Hmmm...sounds like a perfect use of the new CFTHREAD tag in BD 7.0:

http://blog.newatlanta.com/index.cfm?mode=entry&entry=152A1ECC-B7C2-5C0D-4269B203A722C055

Vince Bonfanti
New Atlanta Communications, LLC

> I am aware (somewhat!) of the asynchronous Web services capability 
> with CFCs in ColdFusion. What would listers recommend if I simply want 
> to call a ColdFusion action page asynchronously. The asychronous call 
> is a one-way trip and does not require data back to the caller.
> 
> Here's the scenario briefly: I have a sign-up form that calls an 
> action page, but the action page does a lot of heavy lifting with 
> numerous queries and loops. The page takes about 15 seconds to run, 
> the result of which is an autogenerated e-mail link with an autologin 
> to an application environment.
> 
> I echo back an acknowledgement page immediately while processing 
> continues on the action page. What I have will work since the thread 
> will continue to run even if the user click away from the page, but I 
> would prefer that the thread would run asychronously and not appear to 
> be tying up the page.
> 
> I would prefer to not go the CFC route, but I am open to persuasion.
> 
> Thanks.
> 
> Paul Fraser
Minneapolis

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246823
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Low-tech asychronous call to ColdFusion

2006-07-17 Thread Ryan, Terrence
I posted a different solution here:
http://www.numtopia.com/terry/blog/archives/2006/07/asynchronous_cfml_wi
thout_a_gateway.cfm

It does require using a cfc though. 

Terrence Ryan 
Senior Systems Programmer
Wharton Computing and Information Technology 

E-mail: [EMAIL PROTECTED]




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246794
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Low-tech asychronous call to ColdFusion

2006-07-17 Thread Dan G. Switzer, II
>That wouldn't be asynchronous though.  Because his page would wait for
>the CFHTTP to complete.
>
>One alternative would be to call a cfm file in an iframe, and then use
>javascript to redirect the main page.
>
>The request in the inline from would continue to run even though the
>browser isn't attached to it anymore.

You could write a wrapper to command line HTTP tool like CURL (the one I
like) or WGET. The  tag will work asynchronously if you specify
a zero timeout.

I current use this technique for Verity indexing-as we're still on CFMX 7
Standard. I really wish CF would provide for better mechanisms for
asynchronous processing--and provide that capability for CFMX Standard
versions.

-Dan


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246792
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-17 Thread Rick Root
Tom Chiverton wrote:
> On Monday 17 July 2006 16:07, Paul Fraser wrote:
>> I would prefer to not go the CFC route, but I am open to persuasion.
> 
> The poor mans version could fire off a CFHTTP request to a page to do the 
> heavy lifting, and then print the 'all OK' message.
> 

That wouldn't be asynchronous though.  Because his page would wait for 
the CFHTTP to complete.

One alternative would be to call a cfm file in an iframe, and then use 
javascript to redirect the main page.

The request in the inline from would continue to run even though the 
browser isn't attached to it anymore.

Rick


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246775
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Low-tech asychronous call to ColdFusion

2006-07-17 Thread Tom Chiverton
On Monday 17 July 2006 16:07, Paul Fraser wrote:
> I would prefer to not go the CFC route, but I am open to persuasion.

The poor mans version could fire off a CFHTTP request to a page to do the 
heavy lifting, and then print the 'all OK' message.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246770
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Low-tech asychronous call to ColdFusion

2006-07-17 Thread Paul Fraser
I am aware (somewhat!) of the asynchronous Web services capability with CFCs in 
ColdFusion. What would listers recommend if I simply want to call a ColdFusion 
action page asynchronously. The asychronous call is a one-way trip and does not 
require data back to the caller.

Here's the scenario briefly: I have a sign-up form that calls an action page, 
but the action page does a lot of heavy lifting with numerous queries and 
loops. The page takes about 15 seconds to run, the result of which is an 
autogenerated e-mail link with an autologin to an application environment.

I echo back an acknowledgement page immediately while processing continues on 
the action page. What I have will work since the thread will continue to run 
even if the user click away from the page, but I would prefer that the thread 
would run asychronously and not appear to be tying up the page.

I would prefer to not go the CFC route, but I am open to persuasion.

Thanks.

Paul Fraser
Minneapolis

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246764
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4