Re: Reusable components
Re: Reusable components
- Subject: Re: Reusable components
- From: John Gilmore-Baldwin <email@hidden>
- Date: Sun, 24 Oct 2004 17:17:50 -0700
Here's an idea I've been trying to be better about using in my apps:
Put system prefs in the database and (optionally) make it user
configurable.
In one case, I have a database dedicated to handling my active
directory authentication rules, including which server to authenticate
to, etc. This way, we can change authentication servers, or deploy to
another site, without having to recompile.
I think something similar could be used for app url settings. Each site
could have its own base url setting in the prefs table. Granted, it
would require generating urls in code, but might avoid the problem of
downloading a single image multiple times that I've heard about.
It's not very pretty in WOBuilder when you do it this way, though. :)
On Oct 23, 2004, at 5:06 AM, Jean-François Veillette wrote:
If you go with hard-coded url, you will need a different
buid/deployment procedure than the bare minimum that we use. I
haven't really tried, but it seem that I would need extra procedure
over the simple split-install procedure we do right now. Maybe it can
be added to the xcode build scripts (new build phase), so it won't be
extra work ?
Give both a try, keep the one that fit your development / deployment
situation best.
I guess the question could be : Do you want woresouremanager to
manage resources, or do you want the developers to manage resources ?
John Gilmore-Baldwin
_______________________________________________
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