So, I have some issues with the way things get named. Right now, when I
create beans and entity objects, the propery names are get/set via mixed
case methods (ex. GetUserName(), SetAge()). However, when I get a query via
a Gateway, the return properties (ie. column names) are all lower case with
underscores (ex. address_1, daytime_phone). Now it just seems weird to me
that these two interfaces for similar sets of data would have different
naming styles. 

So the question is two fold:

1. Are my naming conventions just way off (looking for opinion here, not
fact I know). 
2. Would it seem crazy to, in my SQL, rename the fields (ex. SELECT
daytime_phone AS DayTimePhone FROM foo) so that the interfaces were more
consistent?

Thanks,
Ben

......................
Ben Nadel 
Web Developer
Nylon Technology
6 West 14th Street
New York, NY 10011
212.691.1134
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

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


Reply via email to