26
July 2005
Stats plugin ported to Model-Glue
Post a Comment
Ive been wanting to learn some about Model-Glue for a while now. I figured I may as well convert the Fusebox plugin for stats so it will work with Model-Glue. Model-Glue seemed like a good fit since all requests come in through one page, like Fusebox.
Doing this gave me a quick look at how controllers and config beans worked... mission accomplished.
You can download the "plugin" here. Unzip the file and look at the readme for instructions on how to configure Model-Glue to use this.
Basically it creates parsed files named by the Event name, and one viewstate variable that you reference in your layout file. The viewstate variable contains script to request three images from the server so the request gets logged in your stats program.
Using a method like this, you can exclude index.cfm from your pageviews report and you should see <EventName>.cfm requests.
One thing I couldnt figure out was.... is it possible to pass coldfusion variables from a BeanConfig.xml file?
Doing this gave me a quick look at how controllers and config beans worked... mission accomplished.
You can download the "plugin" here. Unzip the file and look at the readme for instructions on how to configure Model-Glue to use this.
Basically it creates parsed files named by the Event name, and one viewstate variable that you reference in your layout file. The viewstate variable contains script to request three images from the server so the request gets logged in your stats program.
Using a method like this, you can exclude index.cfm from your pageviews report and you should see <EventName>.cfm requests.
One thing I couldnt figure out was.... is it possible to pass coldfusion variables from a BeanConfig.xml file?
Posted by fwscott at 7:06 PM | Comments (1)
Subscription Options
You are not logged in, so your subscription status for this entry is unknown. You can login or register here.
Re: Stats plugin ported to Model-Glue
The page where I should be able to download the "plugin" doesnt work :( DO you have any other page or mirror where I can ?
Thanks, J.Mihai http://www.jmihai.ro
Posted by J.mihai on December 14, 2007 at 8:52 AM