|
Golden Rules for Optimizing Your Pages
Marion Weerning
PHP invites beginners to insert complicated scripts and database queries in their sites,
while possessing only superficial knowledge of how the internet runs. I often read this and
think of my own web experience: I felt that I was able to create anything (because I believe
that you can materialize ANYTHING if you are creative, determined and patient enough)
but I was not a good PHP builder.
So I began to read manuals, magazines and PHP forums around the web in search of
background information. How could I optimize my portal? It began to get heavier
from week to week with my new features based on queries that made my sites slower
and slower (maybe not for those on ADSL, but at any rate I started to get the
feeling that things could be optimized by applying some golden rules).
Now I have got a whole collection of these rules and I thought that they
could be useful for everybody who writes pages without being a highly
skilled web builder. I divide them into eight sections:
- Optimize your HTML code
- Optimize your PHP code
- Reduce your PHP Code
- Optimize your database
- Optimize your MySQL queries
- Optimize your MySQL query output
- Use caching and buffering techniques
- Benchmark your code (if you want)
| Comments: | ||
| And how about those fairies? | Freeflashonlinegames Com | 12/07/04 09:45 |
| About mySQL | Robin Ekman | 04/13/04 10:02 |
| RE: DO NOT Use HTML Instead of PHP When Possible | tim | 03/25/04 07:27 |
| Reality | Ben Smith | 01/02/03 05:04 |
| More on templates | Ben Smith | 01/02/03 04:51 |
| RE: Benchmark first - not last | Jesus A. Domingo | 12/24/02 14:42 |
| RE: Excellent | Reiben | 12/24/02 05:19 |
| RE: iframes!? what are you thinking about! | Henry Blackman | 12/23/02 18:21 |
| RE: DO NOT Use HTML Instead of PHP When Possible | Garcia Hurtado | 12/23/02 14:12 |
| Use MySQL-operations where possible | Tbull | 12/22/02 18:39 |
| RE: iframes!? what are you thinking about! | marion weerning | 12/19/02 18:06 |
| RE: IFRAME & Search Engines | marion weerning | 12/19/02 18:04 |
| Use templates, not dropping in and out of PHP | Bryan Alsdorf | 12/19/02 14:20 |
| RE: The perils of over-optimization | Ricky Palandeng | 12/19/02 08:05 |
| Benchmark first - not last | Matt Friedman | 12/18/02 21:34 |
| IFRAME & Search Engines | g_a_t_e | 12/18/02 07:09 |
| Excellent article | vijay khanna | 12/17/02 07:46 |
| MySQL Queries | Alex Dow | 12/17/02 01:42 |
| iframes!? what are you thinking about! | Alex Dow | 12/17/02 01:37 |
| Excellent | H3X | 12/16/02 15:02 |
| DO NOT Use HTML Instead of PHP When Possible | Brad Touesnard | 12/15/02 20:00 |
| The perils of over-optimization | Sam | 12/15/02 16:56 |
| Dates in PHP and MySQL | Marcus | 12/14/02 11:51 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


