> This is another 'what are you doing' and 'does it sound > right' topics. I'm > cleaning up some CFCs here and the programmer put some > CFLOCATION tags > inside the CFC. Anyone else do this? Anyone see a problem > with it?
> Personally, I'm not happy about it as it breaks > encapsulation and makes > debugging a chore. I would never recommend having a cflocation inside a cfc ... unless the cfc is designed specifically for the purpose of managing that sort of thing... like... if you had a CFC specifically for controling application flow in some structured manner (part of a controller maybe), and it executes some other cfc method and then moves the application along to the next page, that'd be okay. But that's the exception rather than the rule. The other cfc which actually performs the function of collecting user input and storing it in the database, etc. shouldn't need or want to know where it's going afterward. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/story/?storyid=48229&DE=1 http://www.sys-con.com/story/?storyid=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.sys-con.com/story/?storyid=48229&DE=1 http://www.fusiontap.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197465 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54