Hi Gareth, As long as you are the only one developer who codes and maintain the application till its sunset and the code reuser is only you (you are using your own code so you know where to find one), then you do not need the OOP. As long as your code is modular (not OOP) and you don't forget what you have coded or done, you are pretty well on your way without OOP.
Otherwise, OOP will benefit you. Thanks & Regards, Pine -----Original Message----- From: Gareth [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:40 AM To: CF-Talk Subject: OOP, why me? I'm the sort of person who likes to understand why I'm doing something rather than just do it. If I download a UDF I analyse it and try to learn rather than just stick it into my app and smile because it's worked. With that in mind, I wonder if someone could explain to me in super simple, beginer speak, layman terms what Object Oriented Programming means in terms of CF and why I should use it? My very basic understanding is that you have different 'layers' to perform different tasks, so when someone visits mygroovyform.cfm the processing behind the form is not done on the form page itself but passed to another page which then passes back the results. The back end processing is then done using components (cfc's). I know that's a very simplified explanation but hopefully it's true in principle. I've written a few very simple CFC's more for the sake of it than because I understood the need. The main arguments I've heard for using this approach is that it's good for code re-use and promotes clean coding. But what I can't get my head around is why? I mean, code isn't necessarily unclean because it's not built using this approach and can't code just as easily be reused using a cfmodule or even a cfinclude? I've also heard it's good in a multi-developer environment, but I'm only me so perhaps there isn't a practical reason for me to learn it at all? I've read a lot on the subject and I'd like to read more but it's difficult to enthuse myself without understanding what the real end benefit is. <scratches_head>Model glue, mach ii, fusebox, etc. I'm sure there's a bloody good reason for 'em but what is it?</scratches_head> Words of wisdom / good reading (including book recommendations) most appreciated. Many thanks Gareth ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234512 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

