cvs: presentations / lt2005.xml /slides/intro input_filter.xml input_filter2.xml lt2005_res.xml max_dev.xml php-yahoo-big.png php_june05_bm.xml
php_opcode_caches3.xml php_tuning1.xml
| From: | Rasmus Lerdorf | Date: | Thu, 23 Jun 2005 11:17:15 +0000 |
| Subject: | cvs: presentations / lt2005.xml /slides/intro input_filter.xml input_filter2.xml lt2005_res.xml max_dev.xml php-yahoo-big.png php_june05_bm.xml php_opcode_caches3.xml php_tuning1.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1157@lists.php.net to get a copy of this message | ||
rasmus Thu Jun 23 07:17:15 2005 EDT
Added files:
/presentations lt2005.xml
/presentations/slides/intro lt2005_res.xml php-yahoo-big.png
php_june05_bm.xml
Modified files:
/presentations/slides/intro input_filter.xml input_filter2.xml
max_dev.xml php_opcode_caches3.xml
php_tuning1.xml
Log:
Linuxtag talk
http://cvs.php.net/diff.php/presentations/slides/intro/input_filter.xml?r1=1.3&r2=1.4&ty=u
Index: presentations/slides/intro/input_filter.xml
diff -u presentations/slides/intro/input_filter.xml:1.3
presentations/slides/intro/input_filter.xml:1.4
--- presentations/slides/intro/input_filter.xml:1.3 Fri Jan 14 11:12:14 2005
+++ presentations/slides/intro/input_filter.xml Thu Jun 23 07:17:14 2005
@@ -18,7 +18,7 @@
}]]></example>
<blurb>
-For a complete example, see %README.input_filter% in the PHP 5 source distribution.
+For a complete example, see %README.input_filter% in the PHP 5 source distribution and pecl/filter.
For PHP4, you will have to patch your source with http://lerdorf.com/php/input_filter.txt
</blurb>
http://cvs.php.net/diff.php/presentations/slides/intro/input_filter2.xml?r1=1.2&r2=1.3&ty=u
Index: presentations/slides/intro/input_filter2.xml
diff -u presentations/slides/intro/input_filter2.xml:1.2
presentations/slides/intro/input_filter2.xml:1.3
--- presentations/slides/intro/input_filter2.xml:1.2 Tue Apr 12 17:39:05 2005
+++ presentations/slides/intro/input_filter2.xml Thu Jun 23 07:17:14 2005
@@ -19,9 +19,10 @@
<example title="Config"><![CDATA[input_filter.default = FILTER_TEXT
]]></example>
-<example title="Strip or Escape?"><![CDATA[abc;123{def}
+<example title="Strip, Escape or NULL?"><![CDATA[abc;123{def}
abc 123 def
abc%3B123%7Bdef%7D]]></example>
+<blurb title="Taint Mode?"> </blurb>
</slide>
http://cvs.php.net/diff.php/presentations/slides/intro/max_dev.xml?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/intro/max_dev.xml
diff -u presentations/slides/intro/max_dev.xml:1.1 presentations/slides/intro/max_dev.xml:1.2
--- presentations/slides/intro/max_dev.xml:1.1 Tue Apr 12 17:39:05 2005
+++ presentations/slides/intro/max_dev.xml Thu Jun 23 07:17:14 2005
@@ -1,4 +1,4 @@
-<slide title="Maximize Dev Resources">
+<slide title="My Motto">
<break lines="5"/>
<blurb fontsize="7em" align="center">
Be Lazy!
http://cvs.php.net/diff.php/presentations/slides/intro/php_opcode_caches3.xml?r1=1.4&r2=1.5&ty=u
Index: presentations/slides/intro/php_opcode_caches3.xml
diff -u presentations/slides/intro/php_opcode_caches3.xml:1.4
presentations/slides/intro/php_opcode_caches3.xml:1.5
--- presentations/slides/intro/php_opcode_caches3.xml:1.4 Fri Apr 29 19:12:30 2005
+++ presentations/slides/intro/php_opcode_caches3.xml Thu Jun 23 07:17:14 2005
@@ -1,5 +1,5 @@
<slide title="APC Stats">
-<example filename="http://lerdorf.com/apc.php"
marginleft="1em" marginright="0em" hide="1" result="1"
type="iframe" iheight="1000"/>
+<example filename="http://localhost/apc.php" marginleft="1em"
marginright="0em" hide="1" result="1" type="iframe"
iheight="1000"/>
</slide>
http://cvs.php.net/diff.php/presentations/slides/intro/php_tuning1.xml?r1=1.2&r2=1.3&ty=u
Index: presentations/slides/intro/php_tuning1.xml
diff -u presentations/slides/intro/php_tuning1.xml:1.2
presentations/slides/intro/php_tuning1.xml:1.3
--- presentations/slides/intro/php_tuning1.xml:1.2 Sun Sep 21 11:50:33 2003
+++ presentations/slides/intro/php_tuning1.xml Thu Jun 23 07:17:14 2005
@@ -5,10 +5,11 @@
<item>Don't go overboard on OOP. Use where appropriate.</item>
<item>Same goes for Layers. Abstraction, Indirection, abstract classes.</item>
<item>Everything has a cost</item>
-<item>Use an opcode cache</item>
+<item>Use an opcode cache!</item>
<item>Watch your regular expressions!</item>
<item>Cache! Cache! Cache!</item>
<item>If you have plenty of CPU but limited bandwidth, turn on output
compression</item>
+<item>Think long and hard about your input filtering strategy</item>
</list>
</slide>
http://cvs.php.net/co.php/presentations/lt2005.xml?r=1.1&p=1
Index: presentations/lt2005.xml
+++ presentations/lt2005.xml
<presentation
template="php2"
titlecolor="#1111aa"
navbarbackground="url(images/trans-ffffff.png)"
logo1="images/php-med-trans-light.gif"
titlesize="2em"
navbarheight="3.55em"
>
<!--
1 Hour
PHP has become amazingly popular due to its simple pragmatic approach
to solving the web problem. Sometimes we forget some of the complexities
that are inherent to any web application. Forgetting or not
understanding the underlying complexities can lead to a number of
performance and security problems.
In this talk we will cover some of the recent pragmatic approaches to
complex problems PHP has already tackled, but more importantly we will
look at a number of outstanding issues that consistently trip up PHP
users and try to provide some solutions and guidelines for writing
faster and more secure PHP applications.
-->
<topic>PHP</topic>
<title>Pragmatic PHP</title>
<event>Linuxtag</event>
<location>Karlsruhe</location>
<date>June 23, 2005</date>
<speaker>Rasmus Lerdorf</speaker>
<email>rasmus@php.net</email>
<url>http://talks.php.net/lt2005</url>
<chapter title="Introduction">
<slide>slides/titlepage.xml</slide>
<slide>slides/intro/max_dev.xml</slide>
<slide>slides/intro/count0.xml</slide>
<slide>slides/intro/count1.xml</slide>
<slide>slides/intro/count2.xml</slide>
<slide>slides/intro/count3.xml</slide>
<slide>slides/intro/count4.xml</slide>
<slide>slides/intro/count5.xml</slide>
<slide>slides/intro/design.xml</slide>
<slide>slides/intro/php-template.xml</slide>
<slide>slides/intro/app_arch.xml</slide>
<slide>slides/intro/poll1.xml</slide>
<slide>slides/intro/poll2.xml</slide>
<slide>slides/intro/poll3.xml</slide>
<slide>slides/intro/php_tuning1.xml</slide>
<slide>slides/intro/new_apc.xml</slide>
<slide>slides/intro/php_opcode_caches3.xml</slide>
<slide>slides/intro/php_june05_bm.xml</slide>
<slide>slides/intro/security_agenda.xml</slide>
<slide>slides/intro/input_filter.xml</slide>
<slide>slides/intro/input_filter2.xml</slide>
<slide>slides/intro/lt2005_res.xml</slide>
</chapter>
</presentation>
http://cvs.php.net/co.php/presentations/slides/intro/lt2005_res.xml?r=1.1&p=1
Index: presentations/slides/intro/lt2005_res.xml
+++ presentations/slides/intro/lt2005_res.xml
<slide title="Resources">
<blurb> </blurb>
<blurb> </blurb>
<blurb> </blurb>
<blurb> </blurb>
<link fontsize="3em" marginleft="3em" leader="Slides: "
href="http://talks.php.net/lt2005"/>
<link fontsize="3em" marginleft="3em" leader="APC: " href="http://cvs.php.net/pecl/apc"/>
<link fontsize="3em" marginleft="3em" leader="FTC: " href="http://www.ftc.gov/infosecurity/"/>
</slide>
http://cvs.php.net/co.php/presentations/slides/intro/php_june05_bm.xml?r=1.1&p=1
Index: presentations/slides/intro/php_june05_bm.xml
+++ presentations/slides/intro/php_june05_bm.xml
<slide title="PHP 5.1 Support!">
<image filename="php-yahoo-big.png" align="right"/>
<blurb fontsize="4em">
Yahoo! has enhanced the APC opcode cache to support PHP-5.1.
</blurb>
<example type="shell" title="" fontsize="1.5em">
PHP-4.3.11 (optimized) 176.135 fetches/sec
PHP-5.1 SWITCH 195.344 fetches/sec
PHP-5.1 GOTO 198.707 fetches/sec
PHP-5.1 CALL 199.342 fetches/sec
PHP-4.3.11 (optimized) APC 209.342 fetches/sec
PHP-5.1 CALL APC 252.968 fetches/sec
</example>
<blurb>
The different VM models in PHP5.1 are very compiler sensitive. The following
tests were run on a FreeBSD-4.3 system and compiled with gcc-2.95. On more
modern compilers you should theoretically see better numbers from the GOTO VM,
but the differences are usually not all that dramatic.
</blurb>
</slide>