- Updates to Sheffield presentation

- Added/Updated Hungary presentations
This commit is contained in:
Derick Rethans
2005-03-08 15:21:34 +00:00
parent 178b4b4b1b
commit 3df96c78d7
17 changed files with 157 additions and 26 deletions

View File

@@ -16,6 +16,7 @@
<email>dr@ez.no</email>
<url>http://files.derickrethans.nl/introduction-sheffield.pdf</url>
<slide>slides/ze-xdebug/title.xml</slide>
<slide>slides/php5intro/nl/who-am-i.xml</slide>
<!-- Project -->
<slide>slides/php5intro/nl/intro.xml</slide>
@@ -49,6 +50,11 @@
<slide>slides/php5intro/nl/pear.xml</slide>
<slide>slides/php5intro/nl/pecl.xml</slide>
<!-- Security -->
<slide>slides/php5intro/nl/numbers.xml</slide>
<slide>slides/intro/who-uses.xml</slide>
<slide>slides/intro/strong-points.xml</slide>
<slide>slides/intro/security.xml</slide>
<!-- Future -->
<slide>slides/intro/hist-php51.xml</slide>

View File

@@ -19,24 +19,19 @@
<slide>slides/perf/title.xml</slide>
<slide>slides/xdebug/questions.xml</slide>
<slide>slides/perf/groups2.xml</slide>
<!-- CACHING OPTIMIZATION -->
<slide>slides/perf/caching-title.xml</slide>
<slide>slides/perf/what_caching.xml</slide>
<slide>slides/perf/how_caching_works.xml</slide>
<slide>slides/perf/pear_cache.xml</slide>
<slide>slides/perf/caching_eval.xml</slide>
<slide>slides/perf/total_page_caching.xml</slide>
<slide>slides/perf/livedocs.xml</slide>
<slide>slides/perf/static-und-squid.xml</slide>
<slide>slides/perf/extern_squid.xml</slide>
<slide>slides/perf/ezpublish-static.xml</slide>
<!-- SQL OPTIMIZATION -->
<slide>slides/perf/database-tuning-title.xml</slide>
<slide>slides/hpp/mysql_opt2.xml</slide>
<slide>slides/phpperform/visitation1.xml</slide>
<slide>slides/phpperform/visitation2.xml</slide>
@@ -44,19 +39,19 @@
<slide>slides/phpperform/visitation4.xml</slide>
<slide>slides/phpperform/visitation5.xml</slide>
<slide>slides/phpperform/path1.xml</slide>
<slide>slides/phpperform/path2.xml</slide>
<!-- <slide>slides/phpperform/path3.xml</slide> -->
<slide>slides/phpperform/path4.xml</slide>
<!-- OPTIMIZING APPLICATIONS -->
<slide>slides/perf/app-tuning-title.xml</slide>
<slide>slides/perf/cpuusage.xml</slide>
<slide>slides/perf/xdebug.xml</slide>
<slide>slides/perf/xdebug-trace.xml</slide>
<slide>slides/perf/xdebug-trace-xgui.xml</slide>
<slide>slides/perf/xdebug-profile.xml</slide>
<slide>slides/perf/regex.xml</slide>
<slide>slides/perf/prf_fileio.xml</slide>
<slide>slides/xdebug/functiontrace-file.xml</slide>
<slide>slides/xdebug/functiontrace-computerized.xml</slide>
<slide>slides/xdebug/xgui.xml</slide>
<slide>slides/xdebug/profiling.xml</slide>
<slide>slides/xdebug/profiling2.xml</slide>
<!-- SERVER OPTIMIZATION -->
<slide>slides/perf/server-tuning-title.xml</slide>
<slide>slides/perf/lifecycle.xml</slide>
<slide>slides/perf/how_ccache.xml</slide>
<slide>slides/perf/accelerators.xml</slide> <!-- Accelerators -->

View File

@@ -5,10 +5,11 @@
<example class="bit_larger" result="1"><![CDATA[<pre><?php
$locales = array(
'Arabic (Egypt)' => 'ar_EG.UTF-8', 'American' => 'en_US',
'Dutch ' => 'nl_NL', 'Hebrew ' => 'iw_IL',
'Hebrew (UTF-8)' => 'iw_IL.UTF-8', 'Japanese' => 'ja_JP.UTF-8',
'Norwegian' => 'no_NO.UTF-8', 'Turkish ' => 'tr_TR.UTF-8'
'Arabic (Egypt)' => 'ar_EG.UTF-8', 'American ' => 'en_US',
'Dutch ' => 'nl_NL', 'Hebrew ' => 'iw_IL',
'Hebrew (UTF-8)' => 'iw_IL.UTF-8', 'Hungarian' => 'hu_HU.UTF-8',
'Japanese ' => 'ja_JP.UTF-8', 'Norwegian' => 'no_NO.UTF-8',
'Turkish ' => 'tr_TR.UTF-8'
);
foreach ($locales as $country => $locale) {

View File

@@ -1,11 +1,9 @@
<slide title="PHP is Big!">
<list>
<title>August 2004 Netcraft Report</title>
<bullet> 53,341,867 Domains queried</bullet>
<bullet> 16,946,328 Domains. 1,348,793 IP addresses</bullet>
<bullet>PHP installed on 32% of all domains</bullet>
<title>December 2004 Netcraft Report</title>
<bullet>18,455,683 Domains. 1,317,871 IP addresses</bullet>
</list>
<image filename="phpstats.png" align="center"/>
<image filename="phpstats.png" align="right"/>
<link href="http://www.netcraft.com" leader="Source: " align="right" marginright="6em">Netcraft</link>
<list>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

13
slides/intro/security.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>A Few Notes on Security</title>
<list fontsize="3.5em" marginleft="-1em">
<bullet>Do Not Trust Website Visitors</bullet>
<bullet>There is no Holy Grail</bullet>
<bullet>Safe Mode</bullet>
<bullet>Input Filtering, XSS</bullet>
<bullet>mod_security (does not solve anything for PHP)</bullet>
<bullet>Security by Obscurity does not help</bullet>
</list>
</slide>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Why Use PHP?</title>
<list>
<bullet>It's Easy</bullet>
<bullet>Plenty of Online Resources</bullet>
<bullet>It's Free (and not only as in "Free Beer")</bullet>
</list>
</slide>

15
slides/intro/who-uses.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Who Uses PHP?</title>
<list fontsize="3.5em" marginleft="-1em">
<bullet>Lufthansa</bullet>
<bullet>Hewlett Packard</bullet>
<bullet>Yahoo!</bullet>
<bullet>Siemens</bullet>
<bullet>Bundeskriminalamt</bullet>
<bullet>Cap Gemini</bullet>
<bullet>Air Canada</bullet>
<bullet>NASA</bullet>
</list>
</slide>

View File

@@ -130,15 +130,19 @@ div.shadow, code {
font-size: 18px; width: 640px;
}
div.example code, div.bit_larger, div.bit_larger code, div.bit_larger_output {
div.example code, div.highlight code, div.bit_larger, div.bit_larger code, div.bit_larger_output {
background: #ccc;
font-size: 20px;
width: 100%;
}
div.example, div.bit_larger, div.bit_larger_output {
div.example, div.highlight, div.bit_larger, div.bit_larger_output {
margin-left: 20px;
margin-right: 20px;
}
div.highlight code, div.highlight {
background: #fffc00;
font-weight: bold;
}
div.code_small, div.code_medium, div.code_large, div.example {
background: #ccc;

View File

@@ -0,0 +1,7 @@
<slide title="PHP is Big!">
<list>
<title>December 2004 Netcraft Report</title>
<bullet>18,455,683 Domains. 1,317,871 IP addresses</bullet>
</list>
<image filename="phpstats.png" align="right"/>
</slide>

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Who am I?</title>
<list>
<bullet>Working with PHP since 1999</bullet>
<bullet>Working on PHP since August 2000</bullet>
<bullet>mcrypt extension, PHP QA, Bug Fixing, Server Admin</bullet>
<bullet>Working on eZ publish: Professional Open Source Content Management System</bullet>
</list>
</slide>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Different Approach</title>
<subtitle>Adding a Child</subtitle>
<break/>
<example><![CDATA[ id | parent_id | path_string | path_identification_string | depth
---+-----------+----------------+--------------------------------+------
87 | 2 | /1/2/87/ | countries | 2
88 | 87 | /1/2/87/88/ | countries/belgium | 3]]></example>
<example class="highlight"><![CDATA[ 89 | 87 | /1/2/87/89/ | countries/netherlands | 3]]></example>
<example><![CDATA[ 91 | 89 | /1/2/87/89/91/ | countries/netherlands/business | 4
92 | 89 | /1/2/87/89/92/ | countries/netherlands/economy | 4
90 | 87 | /1/2/87/90/ | countries/germany | 3]]></example>
<list>
<bullet>Figure out new ID</bullet>
<bullet>Insert new item</bullet>
</list>
<example><![CDATA[INSERT INTO ezcontentobject_tree(id) VALUES (NULL);
SELECT LAST_INSERT_ID();
UPDATE ezcontentobject_tree SET
parent_node_id = 89, path_string = '/1/2/87/89/93/',
path_identification_string = 'countries/netherlands/food',
depth = 4
WHERE id = 93;
]]></example>
</slide>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Different Approach</title>
<subtitle>Moving a Subtree</subtitle>
<break/>
<example><![CDATA[ id | parent_id | path_string | path_identification_string | depth
---+-----------+----------------+--------------------------------+------
87 | 2 | /1/2/87/ | countries | 2
88 | 87 | /1/2/87/88/ | countries/belgium | 3]]></example>
<example class="highlight"><![CDATA[ 89 | 87 | /1/2/87/89/ | countries/netherlands | 3]]></example>
<example><![CDATA[ 91 | 89 | /1/2/87/89/91/ | countries/netherlands/business | 4
92 | 89 | /1/2/87/89/92/ | countries/netherlands/economy | 4
90 | 87 | /1/2/87/90/ | countries/germany | 3]]></example>
</slide>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Different Approach</title>
<subtitle>Selecting a Subtree</subtitle>
<break/>
<example><![CDATA[ id | parent_id | path_string | path_identification_string | depth
---+-----------+----------------+--------------------------------+------
87 | 2 | /1/2/87/ | countries | 2
88 | 87 | /1/2/87/88/ | countries/belgium | 3]]></example>
<example class="highlight"><![CDATA[ 89 | 87 | /1/2/87/89/ | countries/netherlands | 3
91 | 89 | /1/2/87/89/91/ | countries/netherlands/business | 4
92 | 89 | /1/2/87/89/92/ | countries/netherlands/economy | 4]]></example>
<example><![CDATA[ 90 | 87 | /1/2/87/90/ | countries/germany | 3]]></example>
<break lines="4"/>
<blurb>SELECT * FROM ezcontentobject_tree WHERE path_string LIKE '/1/2/87/89/%'</blurb>
</slide>

View File

@@ -37,7 +37,6 @@
<slide>slides/i18nl10n/pcre-utf8.xml</slide> <!-- regular expressions, /u, mb_regexp */ -->
<!-- CONVERSION and OUTPUT -->
<slide>slides/i18nl10n/iconv.xml</slide> <!-- iconv -->
<slide>slides/i18nl10n/iconv-function.xml</slide> <!-- converting charsets with iconv -->
<slide>slides/i18nl10n/iconv-ob-buffer-multiple.xml</slide> <!-- multiple charsets and iconv conversion -->
<slide>slides/i18nl10n/wrong-http-header.xml</slide> <!-- show problem with wrong http header -->
@@ -55,7 +54,6 @@
<slide>slides/i18nl10n/locale-collation.xml</slide> <!-- string collation (ordering) -->
<slide>slides/i18nl10n/locale-casing.xml</slide> <!-- strupper/strlower -->
<slide>slides/i18nl10n/locale-date.xml</slide> <!-- formatting a date -->
<slide>slides/i18nl10n/locale-numeric.xml</slide> <!-- formatting numbers (also arabic numbers?) -->
<slide>slides/i18nl10n/locale-money.xml</slide> <!-- formatting money -->
<slide>slides/i18nl10n/locale-php.xml</slide> <!-- PHP and locales -->

View File

@@ -46,8 +46,15 @@
<slide>slides/xdebug/ccoverage2.xml</slide>
<slide>slides/xdebug/ccoverage3.xml</slide>
<!-- THEORY -->
<slide>slides/xdebug/gathering-data.xml</slide>
<slide>slides/xdebug/gathering1.xml</slide>
<slide>slides/xdebug/gathering2.xml</slide>
<slide>slides/xdebug/hooks1.xml</slide>
<!-- REMOTE INTERFACES -->
<slide>slides/xdebug/interfaces.xml</slide>
<slide>slides/xdebug/debugger-activation.xml</slide>
<slide>slides/xdebug/dbgp.xml</slide>
<!-- CLIENTS -->