You are here: Re: Performance cost to parsing SSI and PHP « All PHP « IT news, forums, messages
Re: Performance cost to parsing SSI and PHP

Posted by Steve on 11/21/06 22:00

"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-38A32F.08393322112006@news-vip.optusnet.com.au...
| In article <knE8h.10$Gt.9@newsfe07.lga>,
| "Steve" <no.one@example.com> wrote:
|
| > you've done your reading. however there are several other points you've
NOT
| > stated or realized. such as basic management. there are lots of
technologies
| > used in delivering content like html, cgi, shtml, xml, etc.. now, how
will a
| > team member know which is employed if all end in .html? further, some of
| > these technologies are passed through an intermediary. what if i use php
to
| > dynamically generate xml but all my xml is passed through a verification
| > program to meet a certain specification, and then delivered to the web?
| > don't make things harder than they should be...there's a reason you'd
have
| > to beg 'server people' to purposely shoot themselves in the foot.
|
| I appreciate in a hazy sort of way this theoretical picture...
|
| For websites made and maintained by me, I use simple technology,
| html and css, rarely even javascript. There is no question of
| teams, others, xml, cgi, and most other fancy doodle things. But
| I sure as hell like the idea of includes! And other possible php
| things. And I am warming to the idea of renaming almost all the
| files to .php and be done (they ALL have footers) there are NONE
| that don't. They almost all have some form of templatish
| navigation.
|
| Am thinking to have .html for home pages and important section
| head pages with all code hard wired in, (so important bookmarks
| people have might work without me trying to do things to instruct
| servers to link stuff (?) For the vast majority, I might go .php
|
| Steve, this way I can avoid asking silly things of server people.

that's fine. all your content, as you describe it, is derived dynamically
using php - all pages have footers, headers, whatever. they are PHP scripts
then, and should be named as such. they may serve up as html but they are
derived by/from php. you could be generating png, gif, jpg or other images
dynamically using php too. that does NOT mean that you'd want to name the
php script with a .png extension and likewise, have them routed through php
as well.

if your 'server people' are using apache, more than likely you can create a
..htaccess for your web root and configure things as you wish...even having
all html files processes through php. but, i'd strongly recommend not going
this route. the other option is using your own computer as a web server and
configuring it however you wanted.

 

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

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