On Mon, 27 Dec 2004 15:52:40 -0500, Matthew Small <[EMAIL PROTECTED]> wrote: > I don't see how having a circuit in Fusebox or Mach-II allows > for code reuse if the code has to be personalized for each user or group of > users.
Parameterization. > 1) Write application once. Force client to use it as it is. This is easy > maintenance. Only if you can really get the client to use it "as-is" :) > 2) Write application once. Modify the code so it changes views depending on > who's using it. It's easily extensible and centrally controlled but quickly > gets nasty as more and more users need to access this application. Some of this can be done with parameterization. > 3) Write application once. Copy and paste an entirely new instance of it and > modify that for each user/department. Ugh! :( > It seems to me that writing a CFC that contains presentation logic might be > a viable way to override the presentation when you need to. Not really, in my opinion. You still need to deal with parameterization and if you use a CFC, you cut down your options for editing the presentation code. > I could just > extend a CFC and rewrite only parts of the CFC that need to be changed. I > have not fully thought out this approach. Any comments on this? I think it's a bad idea. Views and view fragments just don't really lend themselves to an OO model. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 6 invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188826 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

