Re: Picking up .wo changes
Re: Picking up .wo changes
- Subject: Re: Picking up .wo changes
- From: Anders F Björklund <email@hidden>
- Date: Thu, 5 Jun 2003 09:23:36 +0200
Pierre Frisch wrote:
Is there yet a way to reload changed .wo bundles (either .html or
.wod file)
without having to restart (all instances of) the entire WO
application ?
I'm pretty certain that you would have to re-implement template().
I have done it and to make it work right is not simple as there is no
easy
way to intervene in the existing cache so will have to rebuild a cache
of your own. Not very difficult but quite a bit of work.
Was afraid of that...
I think I'll just give the good old shock therapy treatment then.
(Similar when I edit something in the database, and don't feel like
waiting an hour or "invalidating" everything. <BZZT!> Much better.)
Guess I should just be thankful that WebObjects keeps everything in
memory,
and not runs of to the disk / database to see if the world has changed ?
(Be it Components definition files, or EnterpriseObjects database
snapshots)
Suppose I have to keep even more layout definitions outside the WO
components,
to avoid having to deploy a new application for every little layout
change ?
Perhaps fetch them from the database or read them from a file or
something.
Then again, maybe this is the divine sign that I should rewrite it, and
lose
the pesky .wod files forever and just integrate everything into the
.html files ?
So that one can edit the .wo components in modern webpage editing
tools, I mean...
Like these guys do ? http://www.cluster9.com/examples/index_e.html
(C9WOTemplate)
--anders
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.