>From a qualitative basis, the mach-ii.xml file handles maybe 20 - 30% of said controller actions. We have identified 4-5 contacts points (where it is necessary to call the mach-ii.xml). They are generally directly related to displaying something such as the auction home, the login screen, the bid confirmation etc etc.
Another 10 to 20% of the processing happens at the controller cfc level, basically being used as a router. It passes the processing on to the appropriate biz logic objects and model objects. The remainder and the heavy lifting is done by the model objects themselves, as was intended by the MVC. The goal in real terms is to be able to churn out enhancement or extensions in a matter of days versus weeks. Utilizing mach-ii and our small footprint framework it is possible. By giving programers like myself or anyone else an api (i.e. to send an error call this event, if you require login use this other event in mach.xml) one can add without stepping unto or modifying existing and bug free functionality. I plan to write up my experiences in a blog or article. Sean Scott Quoting Sean A Corfield <[EMAIL PROTECTED]>: > On Thursday, Aug 21, 2003, at 08:48 US/Pacific, [EMAIL PROTECTED] > wrote: > > Also to avoid the pass mistakes of relying too much on a switch file > > (index.cfm in fusebox 2 or xml in mach ii) we are minimizing our > > footprint on > > the mach-ii.xml file. Relying instead on a controler object to direct > > traffic > > to the appropriate model cfcs instead. > > This is an interesting approach. How much of the controller function > are you subsuming into the CFC and how much are you leaving up to Mach > II? > > Sean A Corfield -- http://www.corfield.org/blog/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
