in reply to Website Application Framework with Sybase, Apache & Perl: My Thoughts

Thanks for the comments!

Was it necessary to write one? Does it offer anything not found in HTML::Template or HTML::Seamstress?
No, of course not. However this is based on code that I have been working with for several years, and that I am familiar with. We used this sort of thing at eCircles - actually this is an evolution of the framework we had at eCircles.

I believe I mention that other templating systems exist, and that they may in fact be better than the one I used here (and if I didn't mention it in the slides I know I talked about this during the presentation).

To respond to your other points:

How would you handle different passwords for production and dev environments?
The passwords are stored in the conpool.cfg file and are used by the Sybase::Apache::ConPool module directly. My solution differs from DBIx::Connect because I use my connection pooling module to share a few database connections between all the apache processes on the machine.
Again I should emphasize that this is a Sybase specific solution, hence it does not use things like DBI at all.

Michael

  • Comment on Re: Website Application Framework with Sybase, Apache & Perl: My Thoughts

Replies are listed 'Best First'.
Re: Re: Website Application Framework with Sybase, Apache & Perl: My Thoughts
by mpeppler (Vicar) on Dec 18, 2002 at 21:36 UTC
    I wrote:
    by data integrity I mean that any DML that needs to be run in a transaction (i.e. where more than one operation needs to be performed) are wrapped in a single stored procedure
    I should add that stored procs are also used to do access control. Access to the underlying tables is revoked from all but "privileged" users, forcing all access to be done through the stored procs. This allows the DBA/SQL developer to perform query optimization without affecting the client code, and it means that operations that need to be done in a single transaction will be done that way, because there is no way for normal users to access the tables directly.

    Michael