Ok don't laugh but I'm stuck trying to figure out a good naming convention
for my CFCs and I'm stuck. I'm very particular to this kind of stuff...and
I'm wondering what other folks are using...
This is the kind of file structure I've got:
mySite/
api/
user/
service.cfc
common/
networkLibrary.cfc
stringLibrary.cfc
In this example I would typically have 3-4 tiers. "service.cfc" is typically
the focal point and is exposed remotely. It has functions like "login" that
kicks off other functions...establishing needed data in the session scope.
The second class of CFCs I would have here is for applying any logic to data
derived by the third class which I'd classify as a Data Access Layer.
Fa�ade -> Biz Logic -> Data Access Layer
There are times when I feel the need to break the Biz Logic into two
layers...an example of this would be a recordset I'm holding in session
scope that I would like to re-order....or apply some other specific logic on
it...kind of a "managed client" type logic that would only be used locally.
Fa�ade -> Client -> Biz Logic -> Data Access Layer
So I guess my questions are...Does anyone take a simlar approach? Any
alternative solutions? Anyone have particular naming schemes they use to
denote for each CFC to show it's "realm" or "tier"?
Appreciate any insight from u good folks,
Stace
<html><table border="1" width="" height=""><td width="" height=""><b><font face="Times
New Roman" color="red" size="1"><span lang="FR-CA" style="FONT-WEIGHT: bold;
FONT-SIZE: 8pt; COLOR: red; mso-bidi-font-size: 10.0pt; mso-ansi-language: FR-CA">AVIS
IMPORTANT</span></font></b><font color="red" size="1"><span lang="FR-CA"
style="FONT-SIZE: 8pt; COLOR: red; mso-bidi-font-size: 10.0pt; mso-ansi-language:
FR-CA">:</span></font>
<font color="black" size="1"><span lang="FR-CA" style="FONT-SIZE: 8pt; COLOR: black;
mso-bidi-font-size: 10.0pt; mso-ansi-language: FR-CA">Les informations contenues dans
le pr�sent document et ses pi�ces jointes sont strictement confidentielles et
r�serv�es � l'usage de la (des) personne(s) � qui il est adress�. Si vous n'�tes pas
le destinataire, soyez avis� que toute divulgation, distribution, copie, ou autre
utilisation de ces informations est strictement prohib�e. Si vous avez re�u ce
document par erreur, veuillez s'il vous pla�t communiquer imm�diatement avec
l'exp�diteur et d�truire ce document sans en faire de copie sous quelque
forme.</span></font>
<p style="text-align: justify; padding: 1"><b><font face="Times New Roman" color="red"
size="1"><span style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: red;
mso-bidi-font-size: 10.0pt">WARNING</span></font></b><font color="red" size="1"><span
style="FONT-SIZE: 8pt; COLOR: red; mso-bidi-font-size: 10.0pt">:</span></font>
<font color="black" size="1"><span style="FONT-SIZE: 8pt; COLOR: black;
mso-bidi-font-size: 10.0pt">The information contained in this document and attachments
is confidential and intended only for the person(s) named above. If you are not the
intended recipient you are hereby notified that any disclosure, copying, distribution,
or any other use of the information is strictly prohibited. If you have received
this document by mistake, please notify the sender immediately and destroy this
document and attachments without making any copy of any kind.</span></font>
</td></table></html>
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists