Re: Include file questions
| From: | Robert Cummings | Date: | Fri, 25 May 2007 16:53:07 +0000 |
| Subject: | Re: Include file questions | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255663@lists.php.net to get a copy of this message | ||
On Fri, 2007-05-25 at 18:20 +0200, Tijnema wrote:
> On 5/25/07, Robert Cummings <robert@interjinn.com> wrote:
> > On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
> > > On 5/25/07, Robert Cummings <robert@interjinn.com> wrote:
> > > > On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
> > > > > I like to keep it simple, just like this:
> > > > > /
> > > > > /data
> > > > > /http
> > > > > /project1
> > > > > /includes
> > > > > config.php << With passwords :P
> > > > > /images
> > > > > /project2
> > > > > /includes
> > > >
> > > > You won't like mine then :)
> > > >
> > > > /wherever
> > > > /Project
> > > > /bin
> > > > /build
> > > > /source
> > > > /static
> > > > /templates
> > > > patterns.txt
> > > > /compilers
> > > > /configs
> > > > /cron
> > > > /functions
> > > > /modules
> > > > /services
> > > > /sql
> > > > buildSite.php*
> > > > config.interjinn.php@ (link to active config in /configs)
> > > >
> > > > Running buildSite.php (which uses patterns.txt) generates the webtree:
> > > >
> > > > /wherever
> > > > /DOC_ROOT
> > > >
> > > > Cheers,
> > > > Rob.
> > >
> > > Definitely not.!
> > >
> > > also way too complicated... :P
> > >
> > > Tijnema
> >
> > I think the word you're looking for is "organized" ;)
> >
> > Cheers,
> > Rob.
> > --
> Do you call your code organized?
Very. Each directory contains very specific types of code/content.
Tracking down where any given function, class, custom tag, behaviour,
etc is defined is extremely simple.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'