cvs: presentations / afup05.xml /slides/intro large.xml process.xml scale3.xml stack_arch.xml xml_eg.xml /slides/keynotes web20.xml pres2
XML_Presentation.php display.php index.php pres2/locale/en/LC_MESSAGES pres2.php pres2/locale/es/LC_MESSAGES pres2.php

From: Date: Tue, 22 Nov 2005 17:29:43 +0000
Subject: cvs: presentations / afup05.xml /slides/intro large.xml process.xml scale3.xml stack_arch.xml xml_eg.xml /slides/keynotes web20.xml pres2
XML_Presentation.php display.php index.php pres2/locale/en/LC_MESSAGES pres2.php pres2/locale/es/LC_MESSAGES pres2.php
Groups: php.pres 
Request: Send a blank email to pres+get-1224@lists.php.net to get a copy of this message
rasmus Tue Nov 22 12:29:43 2005 EDT Modified files: /pres2 XML_Presentation.php display.php index.php /pres2/locale/en/LC_MESSAGES pres2.php /pres2/locale/es/LC_MESSAGES pres2.php /presentations afup05.xml /presentations/slides/intro large.xml process.xml scale3.xml stack_arch.xml xml_eg.xml /presentations/slides/keynotes web20.xml Log: A few tweaks

http://cvs.php.net/diff.php/pres2/XML_Presentation.php?r1=1.3&r2=1.4&ty=u Index: pres2/XML_Presentation.php diff -u pres2/XML_Presentation.php:1.3 pres2/XML_Presentation.php:1.4 --- pres2/XML_Presentation.php:1.3 Sat Jul 27 15:26:53 2002 +++ pres2/XML_Presentation.php Tue Nov 22 12:29:37 2005 @@ -17,7 +17,7 @@ // | Authors: Rasmus Lerdorf <rasmus@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XML_Presentation.php,v 1.3 2002/07/27 19:26:53 rasmus Exp $ +// $Id: XML_Presentation.php,v 1.4 2005/11/22 17:29:37 rasmus Exp $ // }}} require_once 'XML/Parser.php'; @@ -29,7 +29,7 @@ * This class is a parser for the .pres files * * @author Rasmus Lerdorf <rasmus@php.net> - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @access public */ class XML_Presentation extends XML_Parser @@ -85,7 +85,6 @@ function XML_Presentation($handle = '') { $this->XML_Parser(); - if (@is_resource($handle)) { $this->setInput($handle); } elseif ($handle != '') { http://cvs.php.net/diff.php/pres2/display.php?r1=1.30&r2=1.31&ty=u Index: pres2/display.php diff -u pres2/display.php:1.30 pres2/display.php:1.31 --- pres2/display.php:1.30 Wed Nov 16 02:24:19 2005 +++ pres2/display.php Tue Nov 22 12:29:38 2005 @@ -1160,6 +1160,7 @@ pdf_translate($pdf,0,$y); pdf_scale($pdf, 1, -1); // Reflect across horizontal axis pdf_set_value($pdf,"horizscaling",-100); // Mirror + } // }}} http://cvs.php.net/diff.php/pres2/index.php?r1=1.45&r2=1.46&ty=u Index: pres2/index.php diff -u pres2/index.php:1.45 pres2/index.php:1.46 --- pres2/index.php:1.45 Tue Jul 26 14:52:22 2005 +++ pres2/index.php Tue Nov 22 12:29:38 2005 @@ -201,6 +201,7 @@ */ } ?> +<p><?php echo message('FONT_SIZES'); ?></p> <p><?php echo message('AVAILABLE_PRESENTATIONS'); ?></p> <table align="center" class="index"> <tr><th><?php echo message('PRES_TITLE'); ?></th> http://cvs.php.net/diff.php/pres2/locale/en/LC_MESSAGES/pres2.php?r1=1.1&r2=1.2&ty=u Index: pres2/locale/en/LC_MESSAGES/pres2.php diff -u pres2/locale/en/LC_MESSAGES/pres2.php:1.1 pres2/locale/en/LC_MESSAGES/pres2.php:1.2 --- pres2/locale/en/LC_MESSAGES/pres2.php:1.1 Tue May 24 18:38:33 2005 +++ pres2/locale/en/LC_MESSAGES/pres2.php Tue Nov 22 12:29:41 2005 @@ -22,6 +22,7 @@ " &lt;Space&gt; or &lt;Enter&gt; next slide\n". " &lt;Backspace&gt; previous slide", 'NO_PDF_EXTENSION' => 'The PDF extension is not loaded, so this format is not available here.', + 'FONT_SIZES' => 'You may need to play with your font sizes a bit to get these to display nicely.', 'AVAILABLE_PRESENTATIONS' => 'The available presentations are... (most recent first)', 'PRES_TITLE' => 'Title', 'PRES_DATE' => 'Date', http://cvs.php.net/diff.php/pres2/locale/es/LC_MESSAGES/pres2.php?r1=1.1&r2=1.2&ty=u Index: pres2/locale/es/LC_MESSAGES/pres2.php diff -u pres2/locale/es/LC_MESSAGES/pres2.php:1.1 pres2/locale/es/LC_MESSAGES/pres2.php:1.2 --- pres2/locale/es/LC_MESSAGES/pres2.php:1.1 Tue May 24 18:38:34 2005 +++ pres2/locale/es/LC_MESSAGES/pres2.php Tue Nov 22 12:29:42 2005 @@ -22,6 +22,7 @@ " &lt;Barra de espacio&gt; or &lt;Tecla de retorno&gt; diapositiva siguiente\n". " &lt;Tecla de retroceso&gt; diapositiva previa", 'NO_PDF_EXTENSION' => 'La extensi&ooacute;n de PDF no esta cargada, de manera que este formato no esta disponible aqui.', + 'FONT_SIZES' => 'You may need to play with your font sizes a bit to get these to display nicely.', 'AVAILABLE_PRESENTATIONS' => 'Las presentaciones disponibles son... (la m&aacute;s reciente primera)', 'PRES_TITLE' => 'T&iacute;tulo', 'PRES_DATE' => 'Fecha', http://cvs.php.net/diff.php/presentations/afup05.xml?r1=1.2&r2=1.3&ty=u Index: presentations/afup05.xml diff -u presentations/afup05.xml:1.2 presentations/afup05.xml:1.3 --- presentations/afup05.xml:1.2 Wed Nov 9 06:55:59 2005 +++ presentations/afup05.xml Tue Nov 22 12:29:42 2005 @@ -7,8 +7,6 @@ titlesize="2em" navbarheight="4.1em" > -<!-- ---> <topic>PHP</topic> <title>PHP</title> <event>AFUP</event> http://cvs.php.net/diff.php/presentations/slides/intro/large.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/large.xml diff -u presentations/slides/intro/large.xml:1.3 presentations/slides/intro/large.xml:1.4 --- presentations/slides/intro/large.xml:1.3 Tue Apr 12 17:39:05 2005 +++ presentations/slides/intro/large.xml Tue Nov 22 12:29:42 2005 @@ -6,12 +6,12 @@ <bullet>15 Languages</bullet> <bullet>Hundreds of millions of registered users</bullet> <bullet>Literally billions of page views per day</bullet> -<bullet>Hundreds of engineers spread around the world</bullet> +<bullet>Thousands of engineers spread around the world</bullet> </list> <blurb>Merger of 24 Web Companies</blurb> <image filename="24.png" align="center" /> -<blurb>Make that 27 now with FareChase, MusicMatch and Flickr</blurb> +<blurb>Make that 30 now with FareChase, MusicMatch, Flickr, DialPad, Konfabulator and Upcoming.org</blurb> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/process.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/process.xml diff -u presentations/slides/intro/process.xml:1.1 presentations/slides/intro/process.xml:1.2 --- presentations/slides/intro/process.xml:1.1 Wed Oct 19 03:53:54 2005 +++ presentations/slides/intro/process.xml Tue Nov 22 12:29:42 2005 @@ -7,4 +7,5 @@ <break lines="1" /> <blurb>Debugging and Profiling, look at xdebug (xdebug.org) and apd (pecl/apd)</blurb> <image align="center" filename="../xdebug/komodo.png"/> +<break lines="2" /> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/scale3.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/scale3.xml diff -u presentations/slides/intro/scale3.xml:1.1 presentations/slides/intro/scale3.xml:1.2 --- presentations/slides/intro/scale3.xml:1.1 Thu Jun 24 09:07:07 2004 +++ presentations/slides/intro/scale3.xml Tue Nov 22 12:29:42 2005 @@ -1,25 +1,18 @@ <slide title="Scale"> -<blurb> -</blurb> +<break lines="2" /> -<list title="System Calls - PHP Code Changes"> +<list title="System Calls - PHP 5.1 Code Changes"> <bullet> No more than 1 stat() per PHP file per request</bullet> -<bullet> Get rid of realpath() in PHP's expand_filepath code</bullet> +<bullet> Add a stat cache to PHP's expand_filepath code</bullet> <bullet> Don't stat if Apache has already stat'ed the file</bullet> <bullet> Get rid of excessive stats in the streams code</bullet> </list> <list title="System Calls - Scripting Changes"> -<bullet> Remove ./ from include_path</bullet> +<bullet> Remove ./ from include_path and use relative path includes</bullet> <bullet> Use just a single base dir in include_path</bullet> <bullet> No open_basedir or safe_mode</bullet> </list> -<list title="This breaks a few things"> -<bullet> include_once can be tricked with ../ or symlinks now</bullet> -<bullet> Same goes for open_basedir checks</bullet> -<bullet> All includes are relative to ./ or base include_path</bullet> -</list> - </slide> http://cvs.php.net/diff.php/presentations/slides/intro/stack_arch.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/stack_arch.xml diff -u presentations/slides/intro/stack_arch.xml:1.1 presentations/slides/intro/stack_arch.xml:1.2 --- presentations/slides/intro/stack_arch.xml:1.1 Thu Jun 24 09:07:07 2004 +++ presentations/slides/intro/stack_arch.xml Tue Nov 22 12:29:42 2005 @@ -2,7 +2,7 @@ <blurb> </blurb> <list fontsize="6em"> -<bullet>FreeBSD 4.x</bullet> +<bullet>FreeBSD 4.x/6.x</bullet> <bullet>Apache 1.3.x</bullet> <bullet>Plenty of homegrown C/C++ code</bullet> <bullet>MySQL/Oracle</bullet> http://cvs.php.net/diff.php/presentations/slides/intro/xml_eg.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/xml_eg.xml diff -u presentations/slides/intro/xml_eg.xml:1.2 presentations/slides/intro/xml_eg.xml:1.3 --- presentations/slides/intro/xml_eg.xml:1.2 Wed Oct 19 17:41:10 2005 +++ presentations/slides/intro/xml_eg.xml Tue Nov 22 12:29:42 2005 @@ -1,20 +1,20 @@ <slide title="XML"> <break lines="1" /> -<php><![CDATA[<?php chdir('presentations/slides/intro');?>]]></php> +<!-- <php><![CDATA[<?php chdir('presentations/slides/intro');?>]]></php> --> <example title="All XML handling based on libxml2" marginleft="2em" marginright="0em" result="0"><![CDATA[<?php $dom = new domDocument; $dom->load('menu.xml'); ?>]]></example> -<example title="menu.xml" result="1" hide="1" marginleft="2em" marginright="0em" fontsize="1.75em" rfontsize="1.5em"><![CDATA[<?php +<example title="presentations/slides/intro/menu.xml" result="1" hide="1" marginleft="2em" marginright="0em" fontsize="1.75em" rfontsize="1.5em"><![CDATA[<?php $fp = fopen('menu.xml','r'); while($line = fgets($fp)) echo str_replace(' ','&nbsp;',htmlspecialchars($line))."<br />\n"; ?>]]></example> <example title="XPath" result="1" fontsize="1.5em" marginleft="2em" marginright="0em"><![CDATA[<?php -$dom = domdocument::load('menu.xml'); +$dom = domdocument::load('presentations/slides/intro/menu.xml'); $ctx = new domXPath($dom); $result = $ctx->query('/breakfast_menu/food[@itemno > 3]/price/text()'); foreach($result as $node) { @@ -23,15 +23,15 @@ ?>]]></example> <example title="XSL" result="1" marginleft="2em" marginright="0em"><![CDATA[<?php -$dom = domdocument::load('menu.xml'); -$domxsl = domDocument::load('menu.xsl'); +$dom = domdocument::load('presentations/slides/intro/menu.xml'); +$domxsl = domDocument::load('presentations/slides/intro/menu.xsl'); $proc = new xsltProcessor; $proc->importStyleSheet($domxsl); echo $proc->transformToXML($dom); ?>]]></example> <example title="SimpleXML" result="1" marginleft="2em"><![CDATA[<?php - $menu = simplexml_load_file('menu.xml'); + $menu = simplexml_load_file('presentations/slides/intro/menu.xml'); foreach ($menu->food as $item) { echo $item['itemno'] . ") "; echo $item->price . " ... "; @@ -40,3 +40,4 @@ ?>]]></example> </slide> + http://cvs.php.net/diff.php/presentations/slides/keynotes/web20.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/keynotes/web20.xml diff -u presentations/slides/keynotes/web20.xml:1.1 presentations/slides/keynotes/web20.xml:1.2 --- presentations/slides/keynotes/web20.xml:1.1 Wed Oct 5 13:09:55 2005 +++ presentations/slides/keynotes/web20.xml Tue Nov 22 12:29:42 2005 @@ -1,5 +1,9 @@ <slide title="Web 2.0"> -<break lines="6" /> -<blurb fontsize="18em" align="center">Web 2.0</blurb> -<blurb fontsize="9em" align="center">The Programmable Web</blurb> +<break lines="6"/> +<blurb fontsize="18em" align="center"> +Web 2.0 +</blurb> +<blurb fontsize="9em" align="center"> +The Programmable Web +</blurb> </slide>
« previous php.pres (#1224) next »