On Fri, 13 Jul 2001, Cliff Woolley wrote:
> duplicating functionality that's already built in to mod_include,
> including the parser and the pre-defined SSI tags.  But it's not the
> easiest approach and might not be the most appropriate in this case,
> especially given the below:

        I don't want lose functionality, of course :)
>
> >     can I access to my databases from mod_include code?
>
> You can if you write the interface for it.  =-)

        Well.. then I can! :)

> Consider using PHP.  It's got drivers for lots of DB's built in, and
> instead of defining custom tags, you can just have a library of
> pre-defined functions called banner(), shop(), etc.  Stick a call to the
> appropriate function in a PHP tag, and the function dumps out the
> necessary HTML.  That's way easier to code and maintain and probably a
> better match for what you're trying to do.

        PHP or JSP can be a good solution, but I would like keep
independence between design and code.

Note: Since this is not -now- a Apache question, I've post a story about
this topic to http://www.improveyourweb.com [(a php nuke web page that I
am starting this weeks) - if you can give me your feedback, thanks!.].

        Best regards,
                Carlos.

 _______Carlos Costa Portela__________________________________________
|   e-mail:  [EMAIL PROTECTED]  |     http://www.registros.net    |
|   www: http://ccp.servidores.net  |     http://www.avisaboe.com     |
|      http://www.biologia.org      |   http://moana.servidores.net   |
|__T�dalas persoas maiores foron nenos antes, pero poucas se lembran__|

Reply via email to