Sorry I seen that thread very late.
We have an application that does exactly what you suggest in your
first point. Store templates in the database and load them instead of
the html and wod in the components. This is a bit tricky to get
working right as you need to worry about caches and stuff like that
to get good performance. If you go that route you will also want to
store the images in the database for consistency. This brings another
load of cache issues as the WebObject provided cache is not very
efficient, but this too can be solved.
You can have a look at the app: sPearCat at www.spearcat.com I can do
a demo for you if you like.
Pierre
On 18-Jun-06, at 5:53 AM, Aristedes Maniatis wrote:
We have a need to deploy a WebObjects application for (hopefully)
20-50 sites, possibly more. Each site will run as a separate
instance (or two) but the application code is identical. Each
application will be running as a separate Apache virtual host with
different images, css, etc. The main difficulty we are having now
is deciding how to manage and deploy the html. Although very many
of the html pages will be identical (particularly the smaller
components), the front page, the layout, and a couple of other
pages may vary between the sites.
We have thought about some ideas:
* keep pages in the database which override certain html in
the .woa. We need to write some code to check the database for
relevant html upon each page request.
* put the common pages and code into a framework and make changes
in the .woa directly. Version control might get a little tricky.
* have one project and code, but use subversion to maintain
separate html repositories which get copied into the .woa when we
deploy. No special deployment code, but some tricks to managing
development processes.
Each of these approaches seem to have their pros and cons. Has
anyone else had a similar challenge and found a successful solution?
Ari Maniatis
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/
pierre.frisch%40spearway.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to archive@mail-archive.com