Re: PHP includes structure
by ThinKer <thinker(at)thoughtprogress.com>
|
Date: |
30 Dec 2002 18:40:55 -0500 |
To: |
hwg-techniques(at)hwg.org |
References: |
westworlds oceania |
|
todo: View
Thread,
Original
|
|
What do you do about Search Engine Optimization with all those ?
On Mon, 2002-12-30 at 15:51, Kevin Waterson wrote:
> This one time, at band camp,
> "Davies, Elizabeth H." <EHDavies(at)West.com> wrote:
>
>
>
> > Splitting a site into it's objects allows for greater speed, easier troubleshooting, and all around ease of change.
>
> This is quite true, but can still be done with the use of a single page
> to call various modules. We like to keep our code and html seperate.
> So we use templates to do this, We can have a single page called
> index.php and from there call various modules in the fashion of
> index.php?mod=news to call the news module, then to call the show_news
> method we simply call index.php?mod=news&method=show_news
> The various modules written in eg PHP use the template as its
> display base.
>
> This allows us to keep style and content seperated and keeps the site
> modular, so it is trivial to add or remove modules. This also keeps the
> web designers happy as they have full control over the look/feel of the
> site.
>
> Kind regards
> Kevin
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA