> > John, personally, I don't think cfinclude and cfc's should 
> be in the 
> > same sentence. :) The whole thing reaks of breaking encapsulation..
> 
> In CFMX 6.1, it is not feasible to cfinclude your method 
> body. I'm not 
> sure how I feel about that yet.


Hmm, I am doing  a lot of

<cffunction name="getObject" output="0" access="public">
        <cfargument name="cfcObject" required="1">
        <cfargument name="objectID" required="1">

        <cfset stArgs = arguments> 
        <cfinclude template="_dbpersistor/getobject.cfm">
                
        <cfreturn true>
</cffunction>

Just because I don't like scrolling in long scripts..;)

Is this bad codingstyle in 6.1 ?

Daniel Schmid


-------------------------------
Webarchitect 
Databasedesign & Programmierung
Seefeldstr.305
8008 Z�rich
+41 1 389 67 76




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to