> How much cfc's does it take to change a light bulb? Argh...I think is what people don't get about OO. If it's one kind of lightbuild, one class is fine.
If you need to create a lightbulb changing robot that can handle many types of lightbulbs, things like the Abstract Factory Pattern would certainly add classes to your design, but would make the whole thing a lot easier to write. It's about motiviations / design forces, not implementing every pattern known to God (or Gamma) just for the fun of it. The "Oh my God, OO just adds sooo much unnecessary crap!" camp has probably simply had the misfortune of working with someone that uses OO unnecessarily. You may despise the DAO/DG combination because it's unnecessary for what you do, but when you're in a situation where you need to fulfill its consequence (separating data access from your application itself), it's a frigging godsend. -Joe -- Get Glued! The Model-Glue ColdFusion Framework http://www.model-glue.com ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
