> > I just wrote a simple OnRequestEnd.cfm file for MachII Applications. > Why not put this code in a plugin and use the postRequest() method?
Yes, this should be a better place > 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. Of course you are right - the framework should never be modified. This was only a proposal, i wasn't sure about the adress to send it. > 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. After rethinking, it makes sense that only the propertymanager exposes his properties. > 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. I could easyly parse the XML file to get meta information. But i thought, it would be better to call existing methods and add some lightweight new methods. This static information could be useful for a config.xml generator. It was useful for me, because i made a lot of changes in the configuration - and this overview was helping me to see which listeners, plugins, filters, views were already registered. > 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. Thanks, i am already using this plugin ;-) -- Harry Klein | Konzeption und Entwicklung CONTENS Software GmbH Oettingenstr. 25 | 80538 M�nchen Fon: +49 (0)89 5199 69-0 | Fax: +49 (0)89 5199 69-78 mailto:[EMAIL PROTECTED] | http://www.contens.de ****************************************** Besuchen Sie CONTENS auf der iEX Internet Expo 2004 in Z�rich 04. - 06. Februar 2004 Halle 5, Stand 5.163 Mehr Infos finden Sie hier: www.contens.de/iex <http://www.contens.de/iex> ****************************************** ---------------------------------------------------------- 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]
