[Seaside-dev] Initialize /seaside/config with random password?
yann.monclair at smalltalk.fr
Mon Sep 22 19:56:29 UTC 2008
I added a lot of logic on SeasidePlatformSupport in Seaside, to handle all
the development vs. production config differences.
Obviously a lot of this is specific to our application, but it would make
sense (in my mind) to have our subclass of WAAdmin, rather than an extension
of SeasidePlatformSupport (we still run Seaside 2.6 at the moment).
What would be interesting to know is what differentiates development mode
from production mode ? And how would one specify "switch to production"
actions ? I'm thinking of things like: don't register the "file libraries"
but let apache (or another web server) serve them for you, etc...
On Mon, Sep 22, 2008 at 7:18 PM, Julian Fitzell <julian at fitzell.ca> wrote:
> On Mon, Sep 22, 2008 at 8:02 PM, Lukas Renggli <renggli at gmail.com> wrote:
> >> More than once, I've wanted a single "button" that I could press that
> >> turn on "production mode." Production mode would turn off the tool bar
> >> (leaving the development tools intact) in _all_ applications. Production
> >> mode would switch the error handler to a production ready error handler
> - a
> >> simple error message and a stack dumped to a log - for all _all_
> >> applications. "Production mode" could also refuse to server up the
> >> page and could even disable the default page for seaside (the browser).
> >> Inspectors and _all_ other 'dangerous' development tools would become
> >> password protected in production mode.
> > That would be something for WAAdmin (formerly called WAEnvironment).
> > And could potentially be exposed to the morphic UI Michael is writing
> > ;-)
> Yup, that's what I was thinking. I want to see WAAdmin built out into
> a nice suite of useful commands that can then be called by a morphic
> UI, a web ui, or a workspace.
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside-dev