- Commit my other tests from the last few months.

This commit is contained in:
Derick Rethans
2008-09-08 09:34:21 +00:00
parent 8d2c575bf1
commit 618a36ffd6
33 changed files with 451 additions and 22 deletions

57
ezc-dev-day08.xml Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#000000"
logo1=""
stylesheet="presentations/slides/ezc/ez.css"
backgroundfixed="1" >
<topic>Component Libraries</topic>
<title>Rapid Application Development</title>
<event>eZ Publish Community Developer Day</event>
<location>Skien, Norway</location>
<date>June 18th, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
<slide>slides/ezc/title-ezc-generic.xml</slide>
<!-- introduction -->
<slide>slides/toolbox/goals-library.xml</slide>
<slide>slides/ezc/contributing.xml</slide>
<slide>slides/toolbox/classnames.xml</slide>
<slide>slides/toolbox/autoload.xml</slide>
<slide>slides/toolbox/autoload-arrays.xml</slide>
<!-- overview -->
<slide>slides/ezc/overview.xml</slide>
<slide>slides/ezc/install-pear.xml</slide>
<!-- database -->
<slide>slides/ezc/pesistent-object-abstraction-intro.xml</slide>
<slide>slides/search/ezcsearch-design-ideas.xml</slide>
<slide>slides/search/ezcsearch-document-definition2.xml</slide>
<slide>slides/search/ezcsearch-index.xml</slide>
<slide>slides/search/ezcsearch-search.xml</slide>
<slide>slides/search/ezcsearch-search2.xml</slide>
<!-- archive and mail -->
<slide>slides/ezc/example-mail.xml</slide>
<slide>slides/ezc/example-mail-parse.xml</slide>
<slide>slides/ezc/example-mail-summary.xml</slide>
<slide>slides/ezc/graph-overview.xml</slide>
<slide>slides/ezc/example-graph.xml</slide>
<slide>slides/ezc/example-graph2.xml</slide>
<slide>slides/ezc/example-graph2-result.xml</slide>
<!-- what's next? -->
<slide>slides/ezc/future-2007.2-2008.1.xml</slide>
<slide>slides/ezc/future-2008.1-2008.2.xml</slide>
<slide>slides/ezc/questions.xml</slide>
</presentation>

57
ezc-dutch08.xml Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#000000"
logo1=""
stylesheet="presentations/slides/ezc/ez.css"
backgroundfixed="1" >
<topic>Component Libraries</topic>
<title>Rapid Application Development</title>
<event>Dutch PHP Conference</event>
<location>Amsterdam, Netherlands</location>
<date>June 14th, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
<slide>slides/ezc/title-ezc-generic.xml</slide>
<!-- introduction -->
<slide>slides/toolbox/goals-library.xml</slide>
<slide>slides/ezc/contributing.xml</slide>
<slide>slides/toolbox/classnames.xml</slide>
<slide>slides/toolbox/autoload.xml</slide>
<slide>slides/toolbox/autoload-arrays.xml</slide>
<!-- overview -->
<slide>slides/ezc/overview.xml</slide>
<slide>slides/ezc/install-pear.xml</slide>
<!-- database -->
<slide>slides/ezc/pesistent-object-abstraction-intro.xml</slide>
<slide>slides/search/ezcsearch-design-ideas.xml</slide>
<slide>slides/search/ezcsearch-document-definition2.xml</slide>
<slide>slides/search/ezcsearch-index.xml</slide>
<slide>slides/search/ezcsearch-search.xml</slide>
<slide>slides/search/ezcsearch-search2.xml</slide>
<!-- archive and mail -->
<slide>slides/ezc/example-mail.xml</slide>
<slide>slides/ezc/example-mail-parse.xml</slide>
<slide>slides/ezc/example-mail-summary.xml</slide>
<slide>slides/ezc/graph-overview.xml</slide>
<slide>slides/ezc/example-graph.xml</slide>
<slide>slides/ezc/example-graph2.xml</slide>
<slide>slides/ezc/example-graph2-result.xml</slide>
<!-- what's next? -->
<slide>slides/ezc/future-2007.2-2008.1.xml</slide>
<slide>slides/ezc/future-2008.1-2008.2.xml</slide>
<slide>slides/ezc/questions.xml</slide>
</presentation>

47
ezc-open-nordic08.xml Normal file
View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#000000"
logo1=""
stylesheet="presentations/slides/ezc/ez.css"
backgroundfixed="1" >
<topic>Component Libraries</topic>
<title>What's Next?</title>
<event>Open Nordic</event>
<location>Skien, Norway</location>
<date>June 20th, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
<slide>slides/ezc/title-ezc-generic.xml</slide>
<!-- overview -->
<slide>slides/ezc/overview.xml</slide>
<slide>slides/ezc/future-2006.2-2007.1.xml</slide>
<slide>slides/ezc/future-2007.1-2007.2.xml</slide>
<slide>slides/ezc/future-2007.2-2008.1.xml</slide>
<!-- document -->
<slide>slides/ezc/document-intro.xml</slide>
<slide>slides/ezc/document-render-xhtml.xml</slide>
<slide>slides/ezc/document-diagram.xml</slide>
<!-- feed -->
<slide>slides/ezc/example-feed.xml</slide>
<slide>slides/ezc/example-feed2.xml</slide>
<!-- search -->
<slide>slides/search/ezcsearch-design-ideas.xml</slide>
<slide>slides/search/ezcsearch-document-definition2.xml</slide>
<slide>slides/search/ezcsearch-index.xml</slide>
<slide>slides/search/ezcsearch-search.xml</slide>
<slide>slides/search/ezcsearch-search2.xml</slide>
<!-- what's next? -->
<slide>slides/ezc/future-2008.1-2008.2.xml</slide>
<slide>slides/ezc/questions.xml</slide>
</presentation>

58
myths-froscon8.xml Normal file
View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#f1fbff"
logo1=""
stylesheet="presentations/slides/ezc/ez.css"
backgroundfixed="1" >
<topic>PHP</topic>
<title>Myths Defused</title>
<event>FrOSCon 2008</event>
<location>Sankt Augustin, Germany</location>
<date>August 23rd, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
<slide>slides/input-filter/title.xml</slide>
<!-- 1 -->
<slide>slides/myths/no-compiler.xml</slide>
<!--<slide>slides/myths/no-compiler-points.xml</slide>-->
<slide>slides/myths/no-compiler-no-slacking.xml</slide>
<!-- 2 -->
<slide>slides/myths/hard-to-integrate.xml</slide>
<!--<slide>slides/myths/hard-to-integrate-points.xml</slide>-->
<slide>slides/myths/ext-embed-php.xml</slide>
<!-- 3 -->
<slide>slides/myths/unstable-platform.xml</slide>
<!--<slide>slides/myths/unstable-points.xml</slide>-->
<slide>slides/internals/variables-circular.xml</slide>
<!-- 4 -->
<slide>slides/myths/php-is-weak.xml</slide>
<!--<slide>slides/myths/php-is-weak-points.xml</slide>-->
<!-- 5 -->
<slide>slides/myths/shared-nothing.xml</slide>
<slide>slides/myths/srm.xml</slide>
<slide>slides/myths/apc-memcache.xml</slide>
<slide>slides/myths/ezc-workflow.xml</slide>
<!-- 6 -->
<slide>slides/myths/oo-sucks.xml</slide>
<!-- 7 -->
<slide>slides/myths/no-tool-support.xml</slide>
<slide>slides/myths/xdebug.xml</slide>
<slide>slides/myths/coverage.xml</slide>
<slide>slides/myths/profile.xml</slide>
<!--<slide>slides/myths/cruise-control.xml</slide>-->
<slide>slides/myths/php-under-control.xml</slide>
<slide>slides/myths/resources.xml</slide>
</presentation>

View File

@@ -47,6 +47,7 @@ SEARCH:
<slide>slides/search/searching.xml</slide>
<slide>slides/search/method-title.xml</slide>
<!-- Methods -->
<!--
- MySQL fulltext

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<slide fontsize="6em">
<title>Document</title>
<subtitle>Overview</subtitle>
<image filename='document.png'/>
</slide>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<slide>
<title>Document</title>
<subtitle>Converting between document formats</subtitle>
<list>
<bullet>Support for multiple document formats: ReST, HTML, eZ Publish, wiki... etc</bullet>
<bullet>Using docbook (simplified) as intermediate format</bullet>
<bullet>Configurable renderers</bullet>
<bullet>Shortcuts</bullet>
</list>
</slide>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<slide>
<title>Document</title>
<subtitle>Rendering ReST as XHTML</subtitle>
<example><![CDATA[<?php
$document = new ezcDocumentRst();
$document->loadFile( $argv[1] );
$xhtml = $document->getAsXhtml();
echo $xhtml->save();
?>]]></example>
</slide>

BIN
slides/ezc/document.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -3,7 +3,7 @@
require 'ezc-setup.php';
// setup feed and content module
$feed = new ezcFeed( 'rss2' );
$feed = new ezcFeed();
$feed->title = 'eZ components release feed';
$feed->link = 'http://components.ez.no/';
$feed->description = <<<ENDL
@@ -17,7 +17,7 @@ $stmt = require 'feed-data.php';
foreach( $stmt as $release )
{
$item = $feed->newItem();
$item = $feed->add( 'item' );
$item->title = "{$release['package']} {$release['version']}";
$item->link = "http://ez.no/doc/components/view/latest/(file)/changelog_{$release['package']}.html";
$item->description = $release['releasenotes'];
@@ -25,5 +25,5 @@ foreach( $stmt as $release )
$item->guid = md5( $item->title );
}
echo htmlspecialchars( $feed->generate() );
echo htmlspecialchars( $feed->generate( 'rss2' ) );
?>

View File

@@ -1,7 +1,6 @@
<?php
require 'ezc-setup.php';
$feed = new ezcFeed( 'rss2' );
try {
$feed = ezcFeed::parse( 'http://components.ez.no/rss/rss2.xml' );
} catch ( Exception $e ) {
@@ -9,7 +8,7 @@ try {
}
echo "<b>{$feed->title}</b><br/><br/>\n";
foreach( $feed->items as $item )
foreach( $feed->item as $item )
{
echo "<a href='{$item->link}'>{$item->title}</a><br/>";
echo $item->Content->encoded, "<br/>";

View File

@@ -5,8 +5,7 @@
<blurb>New components:</blurb>
<list>
<bullet>*Document*: Conversions between different kinds of documents</bullet>
<bullet>*Tree*: Handling tree structyres</bullet>
<bullet>*Tree*: Handling tree structures</bullet>
<bullet>*Webdav*: Server-side support</bullet>
</list>

View File

@@ -5,6 +5,7 @@
<blurb>New components:</blurb>
<list>
<bullet>*Document*: Document conversion tool</bullet>
<bullet>*Feed*: RDF/RSS/ATOM feed parsing and generating, with support for modules</bullet>
<bullet>*Search*: Search API towards Solr, Sphinx, Google, etc.</bullet>
</list>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<slide>
<title>What's Next?</title>
<subtitle>Additions for eZ Components 2008.2</subtitle>
<blurb>This is a tentative roadmap</blurb>
<break lines="2"/>
<blurb>New components:</blurb>
<list>
<bullet>*MvcTools*: Light weight MVC layer with Tieins</bullet>
</list>
<blurb>Additions to components:</blurb>
<list>
<bullet>*Base*: Different development modes</bullet>
<bullet>*Document*: Support for many more formats</bullet>
<bullet>*Search*: More backends</bullet>
</list>
</slide>

View File

@@ -28,5 +28,5 @@ $chart->renderer->options->legendSymbolGleam = .5;
$chart->renderer->options->pieChartOffset = 180;
header( 'Content-Type: image/svg+xml' );
$chart->render( 560, 200, 'php://output' );
$chart->render( 900, 500, 'php://output' );
?>

10
slides/ezc/hi.xml Normal file
View File

@@ -0,0 +1,10 @@
<slide>
<title>PHP Vikinger #3</title>
<list>
<bullet>Welcome!</bullet>
<bullet>Longest day of the year</bullet>
<bullet>Shortest night of the year</bullet>
</list>
</slide>

13
slides/ezc/program.xml Normal file
View File

@@ -0,0 +1,13 @@
<slide>
<title>Program</title>
<list>
<bullet>09:30-10:00: Arrival</bullet>
<bullet>10:00-10:30: Decide what to talk about</bullet>
<bullet>10:30-12:00: Morning sessions</bullet>
<bullet>12:00-13:00: Lunch and break</bullet>
<bullet>13:00-17:00: Afternoon sessions</bullet>
<bullet>17:00-20:30: Dinner</bullet>
<bullet>20:30-23:45: Watching the Netherlands sending Russia home</bullet>
</list>
</slide>

12
slides/ezc/title.xml Normal file
View File

@@ -0,0 +1,12 @@
<slide template="title">
<title>Welcome!</title>
<blurb class="event-date">:-:title:-:</blurb>
<break lines="5"/>
<break/>
<blurb class="event-date">:-:event:-: - :-:location:-:</blurb>
<break/>
<blurb class="event-presenter">Derick Rethans - dr@ez.no</blurb>
<break/>
<blurb class="pres-url-small">:-:url:-:</blurb>
</slide>

10
slides/ezc/web20.xml Normal file
View File

@@ -0,0 +1,10 @@
<slide>
<title>Web 2.0</title>
<list>
<bullet>Twitter: #vikinger8</bullet>
<bullet>Flickr: tag with "vikinger8"</bullet>
</list>
</slide>

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 KiB

View File

@@ -2,5 +2,5 @@
<slide fontsize="6em">
<title>Myth #5: PHP Has No Application Server</title>
<image align="center" filename="ezc-workflow.png"/>
<image align="center" filename="ezc-workflow.gif"/>
</slide>

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Myth #7: There Are Not Enough Tools For PHP</title>
<image align="center" filename="php-under-control.png"/>
</slide>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<slide template="title">
<blurb class="title_blurb">Different Methods</blurb>
</slide>

View File

@@ -8,6 +8,8 @@
<bullet>Supported in Xdebug 2</bullet>
<bullet>Clients: Komodo, Maguma Workbench, TruStudio (PHP Eclipse Plugin) and many other smaller ones</bullet>
</list>
<break />
<link leader="Other clients and plugins: ">http://xdebug.org/docs/remote#clients</link>
<break lines="4"/>
<blurb>Let's demo this...</blurb>
</slide>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>DBGp mode</title>
<title>DBGp</title>
<subtitle>DeBuGger Protocol</subtitle>
<list fontsize="4em">
@@ -17,6 +17,5 @@
<list fontsize="4em">
<bullet>Cross-language: PHP, Python, Perl...</bullet>
<bullet>Supported in Xdebug 2</bullet>
<bullet>Clients: Komodo, Maguma Workbench, TruStudio</bullet>
</list>
</slide>

View File

@@ -13,10 +13,16 @@ xdebug.extended_info=1</example>
<break lines="2"/>
<blurb>On the shell:</blurb>
<blurb class="small_blurb">% export XDEBUG_CONFIG="idekey=phpworks remote_enable=1"%</blurb>
<blurb class="small_blurb">% export XDEBUG_CONFIG="idekey=xdebugrocks remote_enable=1"%</blurb>
<break lines="2"/>
<blurb>With a browser:</blurb>
<blurb class="small_blurb">% http://pres/show.php|698fe5|?XDEBUG_SESSION_START=phpworks2|%</blurb>
<blurb class="small_blurb">% http://pres/show.php|698fe5|?XDEBUG_SESSION_START=xdebugrocks|%</blurb>
<break lines="2"/>
<blurb>With a firefox extension:</blurb>
<blurb class="small_blurb">% http://gmckinney.blogspot.com/2008/02/xdebug-firefox-addon-for-profiling-and.html%</blurb>
<blurb class="small_blurb">% http://tinyurl.com/6otvm4%</blurb>
</slide>

View File

@@ -4,14 +4,14 @@
<blurb>With PEAR:</blurb>
<list class="numbered">
<bullet>pear install xdebug-beta</bullet>
<bullet>pecl install xdebug</bullet>
</list>
<blurb>Without PEAR:</blurb>
<list class="numbered">
<bullet>wget http://xdebug.org/files/xdebug-2.0.0RC3.tgz</bullet>
<bullet>tar -xvzf xdebug-2.0.0RC3.tgz</bullet>
<bullet>cd xdebug-2.0.0RC3</bullet>
<bullet>wget http://xdebug.org/files/xdebug-2.0.3.tgz</bullet>
<bullet>tar -xvzf xdebug-2.0.3.tgz</bullet>
<bullet>cd xdebug-2.0.3</bullet>
<bullet>phpize</bullet>
<bullet>./configure</bullet>
<bullet>make</bullet>

View File

@@ -6,5 +6,5 @@
<example class="code_large">xdebug.profiler_enable=1 ; enable profiler
xdebug.profile_output_dir=/tmp ; output directory
xdebug.profile_output_name=crc32 ; file extension</example>
xdebug.profile_output_name=cachegrind.out.%p</example>
</slide>

View File

@@ -5,14 +5,13 @@
<image filename="tracefile-ezc.png" align="center" pdf-scale="0.7"/>
<break/>
<blurb>Available settings:</blurb>
<blurb>Some settings:</blurb>
<break/>
<example class="code_large">xdebug.auto_trace=1
xdebug.trace_output_dir=/tmp
xdebug.collect_vars=1
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.trace_options=1
xdebug.trace_output_name=crc32 # crc32, timestamp, pid</example>
xdebug.trace_output_name=trace.%c</example>
<link leader="Specifiers: " href="http://xdebug.org/docs/execution_trace#trace_output_name"/>
<break/>
</slide>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<slide fontsize="6em">
<title>Execution trace</title>
<subtitle>Other functionality</subtitle>
<list>
<bullet>HTML traces</bullet>
<bullet>Tracing only parts of an application with *xdebug_start_trace()* and *xdebug_stop_trace()*.</bullet>
<bullet>Fetching the trace file name that is being used with *xdebug_get_tracefile_name()*.</bullet>
<bullet>Changing how much data is shown with *xdebug.var_display_max_children*, *xdebug.var_display_max_data* and *xdebug.var_display_max_depth*.</bullet>
</list>
</slide>

25
vikinger8.xml Normal file
View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#000000"
logo1=""
stylesheet="presentations/slides/ezc/ez.css"
backgroundfixed="1" >
<topic>Component Libraries</topic>
<title>PHP Vikinger</title>
<event>PHP Vikinger</event>
<location>Skien, Norway</location>
<date>June 21th, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
<slide>slides/ezc/title.xml</slide>
<slide>slides/ezc/hi.xml</slide>
<slide>slides/ezc/program.xml</slide>
<slide>slides/ezc/web20.xml</slide>
</presentation>

60
xdebug-dutch08.xml Normal file
View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<presentation
template="css"
navmode="html"
navbarbackground="#4373b4"
navbartopiclinks="0"
navColor="#f1fbff"
logo1=""
stylesheet="presentations/slides/ezc/ez.css"
backgroundfixed="1" >
<topic>Debugging</topic>
<title>Xdebug tutorial</title>
<event>Dutch PHP Conference</event>
<location>Amsterdam, Netherlands</location>
<date>June 13th, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>
<slide>slides/xdebug/title.xml</slide>
<slide>slides/toolbox/me.xml</slide>
<!-- INTRODUCTION -->
<slide>slides/xdebug/why-debugger1.xml</slide>
<slide>slides/xdebug/why-debugger2.xml</slide>
<slide>slides/xdebug/why-debugger3.xml</slide>
<slide>slides/xdebug/how-started.xml</slide>
<!-- INSTALLATION -->
<slide>slides/xdebug/how-to-install.xml</slide>
<slide>slides/xdebug/how-to-install2.xml</slide>
<slide>slides/xdebug/how-to-install-win.xml</slide>
<slide>slides/xdebug/how-to-install3.xml</slide>
<slide>slides/xdebug/why-crash.xml</slide>
<slide>slides/xdebug/where-error.xml</slide>
<slide>slides/xdebug/live-demo.xml</slide>
<slide>slides/xdebug/debug-req-vars.xml</slide>
<slide>slides/xdebug/xdebug-var-dump.xml</slide>
<slide>slides/xdebug/how-many-functions.xml</slide>
<slide>slides/xdebug/how-much-time.xml</slide>
<slide>slides/xdebug/how-much-memory.xml</slide>
<slide>slides/xdebug/wtf-happens.xml</slide>
<slide>slides/xdebug/vim.xml</slide>
<slide>slides/xdebug/functiontrace-computerized.xml</slide>
<slide>slides/xdebug/wtf-happens2.xml</slide>
<slide>slides/xdebug/live-demo.xml</slide>
<slide>slides/xdebug/which-code-do-i-use.xml</slide>
<slide>slides/xdebug/codecoverage2.xml</slide>
<slide>slides/xdebug/profiling.xml</slide>
<slide>slides/xdebug/profiling2.xml</slide>
<slide>slides/xdebug/live-demo.xml</slide>
<slide>slides/xdebug/analyse-running-script.xml</slide>
<slide>slides/xdebug/debugger-activation.xml</slide>
<slide>slides/xdebug/dbgp.xml</slide>
<slide>slides/xdebug/live-demo.xml</slide>
<slide>slides/xdebug/resources.xml</slide>
</presentation>