Hi Greg,
My opinion is that this is more of a choice for the programmer to make
than something that should be dictated. I personally have all
libraries and templates outside of the DocumentRoot, but that is just
my preference.
Thanks,
Joe
On Oct 18, 11:04 am, Greg Milby <
gmi...@gmail.com> wrote:
> *Hi Joe,
>
> **Regrettably, **I did not explain myself well and wasted your time.
>
> Just the folder layout - i did not know if there was a "better practice for
> where to place each class directory" inside the web structure - when to
> instantiate/disconnect/flush (or w/e php does to free up resources(?)).
>
> right now, i have
> .htaccess
> index.php
> /lib/glue.php
> /lib/smarty/->lots of smart stuff o.0
>
> i'm curious about where to put the layout files (in my python world it would
> be /static/js/, static/css/, static/files/, static/images/).
>
> as for resources - i've been doing a lot with mongo/php lately - it seems
> after a read/a $connection->disconnect(); is in order to free up resources.
>
> Thanks for answering,
> Greg
> *