You are here: Re: [PHP] Site Design Strategy « PHP « IT news, forums, messages
Re: [PHP] Site Design Strategy

Posted by Greg Donald on 06/03/05 15:49

On 6/2/05, asinning <andrew@learningware.com> wrote:
> At the crux of this post is the following question: How do you develop
> a very robust, dynamic web-site, but also allow non-technical people to
> contribute? There must be an easier way.

Use a framework like MVC. Your PHP code would be seperate from your
design templates. Smarty is a heavy-weight for templating. I use
eval() for most of my own hobby project templating.

> 1) Non-technical people in the company need to be able to build pages,
> and they should be able to post their pages without bothering me.We
> have a tech-support person who will be able to help them, but she has
> zero programming knowledge and only a superficial understanding of
> HTML.

Sounds like a CMS. I use this web based HTML editor when I need to
let designers play in my projects:
http://www.htmlarea.com/

> The page that gets loaded in depends on the parameters of
> query-string. It's very simple, if the query string reads
> "?target=products/gsp", then my php will look for a site-relative
> document such as "products/gsp.htm" OR "products/gsp/index.hml". Then,
> this document will get "included" as the content in my "shell".

You might look into Apache's mod_rewrite to help clean those URLs up.
Search engines love nice clean URLs if that sort of thing matters to
you.


--
Greg Donald
Zend Certified Engineer
http://destiney.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация