> S. Isaac Dealey wrote: >> The trick, if you can accomplish it, ( and it's much easier with MX ) is > to >> encapsulate enough of your processes and business logic into functions >> and >> cfc's that your display elements never have to include cf tags, and if >> you >> really get deeply into it, they may never need to really include much >> html... i.e. if you had cfc's and cf functions to handle your entire >> display layer, the above 2 codeblocks could become something like: >> >> [code] >> >> or further still encapsulate this into another udf: >> >> [code] >> >> Or further still >> >> [code]
> Not that I necessarily disagree with the benefits of encapsulating display > logic, but at the rate this message was going I was expecting to see it > further encapsulated into: > displayPage("mySite"); > or even further: > doSite("amazon.com"); > 8^) That'd be great for bidding on contracts on eLance. :) <cfscript> replicateWebSite("http://www.ebay.com"); </cfscript> "That'll be $8.00" ( the average bid for a complete e-commerce site on some custom software reverse-auction sites which shall remain nameless ). S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm