I have been learning about OOD in CF and design patterns and have managed to incorporate some of them into my sites to handle problems. I develop using Model-Glue, ColdSpring, and Reactor and have been using Reactor to do my database interaction. After reading the docs on Reactor, I learned about Value Objects, Transfer Objects, Active Record Design Pattern. I already was versed on DAOs and Gateways. Recently I am getting more into Value Objects and writing my CFCs to incorporate them (VO,DAO,Gateway) so that I can, in the future, port them all to my Flex or Flash applications.
Now having said all that.I know that this way is the better way of doing things and I know that it will make my Flex development easier to migrate to, but why is it a better way (other than the Flex thing which other members of my CF team won't be doing)? When someone asks me, "Why should I do it that way?", what is my best response? Up until now, I have been writing my CRUD (My DAO) in one CFC and my Lists (My Gateway) in another. Why introduce a VO (Bean) into the mix? I would both like to better understand why this is a better way of doing things (benefits, examples) so I can share it with my other developers. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
