> What I am wondering is what some of those who are experienced > with ColdFusion and OOP think about using the code-behind > technique for the controller layer in an MVC application?
Before I respond to this, I should qualify my ASP.NET experience; I wouldn't call myself an ASP.NET expert. I am, at best, a mediocre ASP.NET developer. That said, when you develop an application in ASP.NET using Visual Studio.NET, the programming model or framework that you're given relies on postback forms to provide an illusion that web applications work like desktop applications do. You need code-behind classes because you spend so much time on a single screen, even though that "screen" might correspond to several steps within your application, which are wired together via the postback form. Before ASP.NET, "classic" ASP didn't have code-behind - you either wrote external COM objects and invoked them from ASP, or you wrote your code inline. Without that model, code-behind classes by themselves don't bring much to the table. You could just as easily write plain ol' components, and invoke them however you like, from your CF pages, without a one-to-one correspondence between pages and components. After all, your "form validation and such" is stuff that would likely be common across your application (or across multiple applications) rather than being specific to a page. Personally, I prefer the simpler model of CF development; this is probably because I didn't have years of desktop application development under my belt before learning web development. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

