directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: [Schema] Constants - A happy Medium?
Date Fri, 20 Apr 2007 16:53:46 GMT
Alex Karasulu wrote:
> Ole,
> 
> On 4/20/07, *Ole Ersoy* <ole.ersoy@gmail.com 
> <mailto:ole.ersoy@gmail.com>> wrote:
> 
>     Hey Guys,
> 
>     I know what you are thinking.  Heeeere he goes again :-)
> 
> 
> Heh well a little bit but persistence is a good thing.

Sometimes :-)

SNIP


> I see but the problem with this is that you mix the constants of all the 
> schemas together.

That's true.  Maybe this thought would help:

If I were to generalize it I would
describe it as the interface name
capturing the label for the constants
as accurately as possible.

So we could break it up further
if necessary.

We might have:
ObjectClassBarConstants
ObjectClassFooConstants
etc

So in the end we would have
more constant files, each file
being a container for a set
of constants intended for a specific purpose.

SNIP

Cheers,
- Ole


Mime
View raw message