Files
archived-presentations/slides/advphp/prf_sqlquery.xml
Rasmus Lerdorf d82c4db9ae Generalize slider code to get ready for multiple effects. Use
effect="slide" instead of slide="1" now in the bullet tag.
2002-07-26 07:13:53 +00:00

19 lines
807 B
XML

<slide title="SQL Queries">
<list title="SQL Problems" fontsize="2.2em">
<bullet>Unused data is being pulled over a socket</bullet>
<bullet>FULLTEXT indexes</bullet>
<bullet>the LIKE clause</bullet>
</list>
<list title="SQL Tips" fontsize="2.2em">
<bullet effect="slide">Study and Learn Database Optimization</bullet>
<bullet effect="slide">Failing that use the following tips...</bullet>
<bullet effect="slide">MySQL supports the 'LIMIT' clause which can be used
to lower the returned result set to a specified number</bullet>
<bullet effect="slide">Never use LIKE or a FULLTEXT index to do complex
searches. Use keywords and an alternative ranking system</bullet>
<bullet effect="slide">The only thing worse than using a LIKE clause, is building
your own LIKE clause in PHP.</bullet>
</list>
</slide>