Reply to Re: standard coding...

Your name:

Reply:


Posted by Peter Fox on 01/12/06 11:22

Following on from Domestos's message. . .
>Hi all,
>
>I was wondering if there is a standard when mixing PHP and HTML script on a
>page... and if there were any articles on this subject...
>
>i.e. do I make every page a .php page on my website and echo html when I
>need to or...
>
>should I make every page html and embed php when I need to..
>
>Obviously this only applies to pages where a mixture of php and html is
>required...

HTML is always required of course.

My style is to produce 99% of my pages via PHP even if they are static
text. The reason is that the look and feel and other functionality of
my pages is standardised and /manufactured/. So for example I can
programatically change from normal stylesheet to one for visually
impaired, keep a 'back to' page list, and loads of other things in the
page head (and foot - and standard page structure)


--
PETER FOX Not the same since the porcelain business went down the pan
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>

[Back to original 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

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