From what I've read, it can obviously be done, but it's just bad form. 
  MVC doesn't have to be adhered to either, but it does make your life 
easier in code reusability and maintainability.

mike

Ian Skinner wrote:
> "Well, the generally accepted "best practice" is that CFCs should *not* 
> output anything..."
> 
> WHY???  
> 
> I understand why one would not want to mix display functionality with other 
> layers of logic, and I am trying to learn how to separate my coding along 
> these lines.  But nobody has explained to me why it is "inherently" bad to do 
> display in a CFC as long as that is the purpose of that CFC.  Is there 
> something wrong with creating a display CFC for ones view layer?
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>  
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229722
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

Reply via email to