Hey Everyone,
I'm new at CFCs and I'm going off a tutorial I found on easycfm.com. 
I'm needing you opinion here on how you would name the component below


<cfscript>
        // create a componet object
        updatePass = createObject("component","cfcs/password");
        // now set the properties from our form
        updatePass.OldPassword = form.OldPassword;
        updatePass.NewPassword = form.NewPassword;
        updatePass.NewPassword2 = form.NewPassword2;
        updatePass.UID = client.UID;
        // now call the updatePass function to update the database
        updatePass.updatePass();        
</cfscript>

It's a simple update password component but I'm concerned that the
component I created in the the code here is the named the same as the
function the component is calling.  Is this bad programming?  What are
you thoughts on a better component name.

Ryan
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to