On Jan 16, 2004, at 10:00 AM, Harry Klein wrote:
I just wrote a simple OnRequestEnd.cfm file for MachII Applications.

Why not put this code in a plugin and use the postRequest() method?


In order to display these values, the framework had to be extended:

Bad, bad, bad! Please don't touch the framework files! :)


The whole point of a framework is that it is *standard* - as soon as you change even a line of code in the framework, you violate that concept.

If something can't be done within the framework let the Mach II folks know ([EMAIL PROTECTED]) and we'll look at the issue.

Do you think, that this changes are useful and should be introduced in a
new MachII Version?

Exposing the internals of the framework model is probably not a good idea. Ben, Hal and I are already looking at making debugging easier because that seems to be a pain point for developers. I'll forward your email to Ben and Hal for consideration.


I'm not entirely sure what value there is in displaying the lists of filters, listeners etc - that's static data and can be easily got from the XML file.

The event arguments you can already get at within the framework, the original event name you can get at within the framework (use the technique described in the Mach II Development Guide).

You might find the "trace" plugin useful - see my Mach II downloads page:

http://www.corfield.org/index.php?event=machii.downloads

That logs the execution of every request, event handler and view.

Sean A Corfield -- http://www.corfield.org/blog/

Got Mach II? -- http://www.mach-ii.com/

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to