Figured as much, wasn't sure if the whole "com" had another meaning. Typically i have 
used that whole au.com.mydomain approach but felt like a prat for using the "au." part 
thinking i misunderstood it.

But i guess i was aok afterall :D

Scott Barnes 
Snr Developer
eCommerce Department
Tourism Queensland / Sunlover Holidays
[EMAIL PROTECTED]
ph: (07) 3535 5406 



-----Original Message-----
From: Stephen Bosworth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 January 2004 3:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Is it possible


Hi Scott,

The convention is taken from java development. Say I have a suite of classes that I 
want to sell, I would create a package name based on my domain (newcastle.edu.au). All 
my classes would belong to my package, and be assrued of no conflict with any one 
elses on their systems (unless they create a package named after my domain wiht the 
same classes, but why would you want to do that :-) )

Example:
======

Say I have a component name user and I want to give it to you, and you also have a 
component named user, and you need to use both of them in an application.  

All your components should be in your own "package", namely a reference to au.com.tq 
(the reference to component would look something like {root}\au\com\tq\user.cfc).  
I could give you a "package" of my components, namely au.edu.newcastle (e.g. 
{root}\au\edu\newcastle\user.cfc ).  Now you can reference both without the worry of 
reference conflicts.

Hope this helps you understand a bit better.  There are some articles on the web which 
explain it in further detail if you go looking for them.

Cheers,
Steve.
>>> [EMAIL PROTECTED] 13/01/2004 3:56:39 pm >>>
Incidently

I notice more and more Java style development use the whole com.mysite.subdirs etc. My 
question is, why do we use the "com" part these days? In other words if you have a 
.com.au domain, should you adhere to au.com.mysite.subdirs?

Anyone care to share the history / reasoning behind the com? I'm late OOP bloomer so 
forgive me if i miss something here :D

Scott Barnes 
Snr Developer
eCommerce Department
Tourism Queensland / Sunlover Holidays
[EMAIL PROTECTED] 
ph: (07) 3535 5406 



-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 13 January 2004 2:50 PM
To: [EMAIL PROTECTED] 
Subject: Re: [CFCDev] Is it possible


On Jan 12, 2004, at 8:14 PM, Andrew Scott wrote:
> I am currently  looking at creating a setup of automated tools through 
> cfc,
> one of these will setup a mapping to the location of the components
> directory.
>
> My question is this, is it possible to reference this component by full
> path, for example
>
>  C:\inetpub\com\tools\mappings
>
> As
>
> CreateObject('component','inetpub.com.tools.mappings')

Yes, if C:\ is one of your custom tag paths... (but then CF will search 
your entire hard drive for custom tags!)

Sean A Corfield -- http://www.corfield.org/blog/ 

"I have always wished that my computer would be as easy to use as my 
telephone. My wish has come true - I no longer know how to use my 
telephone."
-- Bjarne Stroustrup

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

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

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] 
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

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

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stephen Bosworth
Application Development and Integration
Communication and Information Services
The University of Newcastle, Australia
Phone: 02 4921 6574
Fax: 02 4921 7087
Email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

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

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to