Bluehost.com Web Hosting $6.95

RE: [PHP] Whats more efficient? (Conclusion)

This is a discussion on RE: [PHP] Whats more efficient? (Conclusion) within the PHP General forums, part of the PHP Programming Forums category; What I find easy to do, Is have the top, left in a file, say we call it header.php ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-22-2003
Chris Kay
 
Posts: n/a
Default RE: [PHP] Whats more efficient? (Conclusion)


What I find easy to do,

Is have the top, left in a file, say we call it header.php
And have the bottom html in a page called footer.php

Both pages mainly contain html exept if php is required.

Many sites / database the top, left is html code and never changes,
There is no need to place this inside php, there is no need to slow down the
engine

Advantages of this is that it is kind of like a template, where you could
change the header, and it take effect site wide, as well as been able to
change the view by having multiple headers for people to choose their own.

Hope that made sense

--
Chris Kay (CK)
Eleet Internet Services
M: 0415 451 372
P: 02 4620 5076
F: 02 4620 7008
E: chris@eleet.com.au

-----Original Message-----
From: Ryan A [mailto:ryan@coinpass.com]
Sent: Wednesday, 22 October 2003 1:28 PM
To: Chris Shiflett
Cc: php-general@lists.php.net
Subject: Re: [php] Whats more efficient? (Conclusion)

Hey,
thanks for replying.

/*
....but you can still overcome this with some good server-side
caching (for example, is it necessary to dynamically generate a response for
every request if the data isn't very volatile?).
*/

My main pages are basically querying the databases for hosting plans
depending on what the client chooses....
what do you suggest? and any urls for reading up on caching?

Thanks,
-Ryan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0