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^)

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to