Re: packages?
Re: packages?
- Subject: Re: packages?
- From: Chuck Hill <email@hidden>
- Date: Mon, 10 Apr 2006 13:44:57 -0700
On Apr 10, 2006, at 1:04 PM, Art Isbell wrote:
On Apr 10, 2006, at 7:10 AM, Chuck Hill wrote:
I keep all my Java files in the "normal" Java way as you have
described above. I find Xcode's preferred "everything in one
massive pile" too annoying to want to deal with. Apparently Art's
room is even messier than mine! ;-)
That's probably true :-)
<looks around room> I admit, it is rather hard to imagine. :-P
However, my Xcode projects may not contribute much to the mess. I
limit the number of Java packages per project to one. Instead of
having multiple Java packages in each project, I create a new WO
framework project for each new package. Certainly not the Java way
of doing things, but I come from the Objective-C/Project Builder
world where frameworks, not packages rule.
I've always looked at them more like Project Builder sub-projects
rather than frameworks. I use them for a more finer grained
separation where the classes have too much in common to belong in
different frameworks but still benefit from some organization. I use
a lot of frameworks too and it is not unusual for them to contain
multiple packages. My minimum is two, with one for the main code and
one for unit tests. But I also break things down into packages like
appserver, pages, components, layout, utility, etc. Whatever makes
sense in the context of what I am working on. I find it makes it
easier to find things when you have hundreds of classes.
Chuck
--
Coming in late 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden