Please check your browser settings or contact your system administrator.
Seacoast ColdFusion Flex Group
NH Seacoast ColdFusion and Flex User Group
An official Adobe User Group dedicated to ColdFusion and Flex.

Is anyone else out here in lovely St. Paul, MN for the cfObjective() conference? I just pulled in an hour or so ago. I'm working from the room tonight but would be psyched to meet up with some fell... Continue
Started by Sean Daniels. Last reply by Joshua Cyr May 2.
As I hoped, there is interest in integrating Flex/Flash with the new Google App Engine: http://gaeswf.appspot.com/ http://ae.pyam know we are centered around CF/Flex/Flash but I think the Google A... Continue
Started by Doug Apr 22
At the last meeting Ken demo'd an app that was driven using remote objects. I have been using XML and e4x to remote data. I thought I would share a link to a Flash based app that demonstrates data... Continue
Started by Doug. Last reply by Joshua Cyr Apr 16.
Posted by Matthew Teece on February 29th, 2008 at 4:31pm —
6 Comments
(Add)
A bit back Brian Szoszorek showed a wonderful example on how to use Cold Fusion's gateway functionality to help streamline the use of the Trusted Cache. This article was brought to my attention by a fellow co-worker and after reviewing the article in detail I was stunned on how powerful this was and how easy it was to implement. So I decided to tweak it here and there to see what else it could do.
In the end 90% remained the same. The only tweaks that I made was to enable to clear caching method to be just a little smarter by just removing specific files from the cache rather than the entire cache itself. I've also added a new method called "setEventGateway" which creates the needed cfg file and gateway entry within Cold Fusion Administrator giving the ability to build these necessary gateways on the fly. Very Cool.. Very Powerful.. and Very Easy!
You can download the code here.
Here are the steps on how to implement:
1) Create a new directory that the component will live in and place the component in there
a. Example: C:\inetpub\wwwroot\clearCache
2) Access and run the setEventGateway method provided within the component and provide it the directory you want to watch
a. Example: #createObject("component", "templateListener").setEventGateway(directoryToWatch="c:/inetpub/wwwroot")#
3) Turn on Template Caching within Cold Fusion Administrator by (CF Admin -> Server Settings -> Caching -> Trusted Cache)
4) Confirm that the Gateway Instance is running by (CF Admin -> Event Gateways -> Gateway Instances)
5) That's it
Joshua Cyr
created this social network on Ning.
Spread the word. Get your own Seacoast ColdFusion Flex Group badge for your website or MySpace page. (Get Code)
Seacoast ColdFusion Flex Group brought to you by Joshua Cyr © 2008 Report an Issue | Feedback | Privacy | Terms of Service
Spread the word. Get your own Seacoast ColdFusion Flex Group badge