Search Blog

Recent Comments
Re: Stats plugin ported to Model-Glue (by J.mihai at 12/14 8:52 AM)
Re: CFC DAO Generator (by rui at 7/04 5:42 AM)
Re: Updates to the DAO, Bean and Gateway generator (by rui at 7/04 4:49 AM)
Re: CFC DAO Generator (by fwscott at 6/22 7:03 PM)
Re: CFC DAO Generator (by dan at 6/22 12:38 PM)
Re: Trip to Thailand (by fwscott at 3/27 2:10 AM)
Re: CFC DAO Generator (by fwscott at 3/27 2:03 AM)
Re: CFC DAO Generator (by Garry Harstad at 3/26 12:30 PM)
Re: Trip to Thailand (by Niqui Merret at 3/23 4:51 PM)
Re: Adding a blogger ping utility to BlogCFM (by fwscott at 2/20 9:01 PM)
Categories
Annoucements (1 entries)
BlogCFM (3 entries)
CFC Generator (5 entries)
Coldfusion (11 entries)
Fusebox (2 entries)
Greasemonkey (1 entries)
Misc (3 entries)
Archives
November 2005 (2 entries)
October 2005 (1 entries)
August 2005 (1 entries)
July 2005 (4 entries)
June 2005 (5 entries)
May 2005 (7 entries)

Powered by
BlogCFM v1.01

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?
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

Name:   Required
Email:   Required your email address will not be publicly displayed.

Want to receive notifications when new comments are added? Login/Register for an account.

Anti-spam key

Type in the text that you see in the above image:

Your comment:

Sorry, no HTML allowed!