cvs: presentations / lwe05.xml /slides/intro lwe05_ref.xml php_opcode_caches3.xml ws3.xml /slides/keynotes tempvar.xml web20.xml xml_1.xml

From: Date: Wed, 05 Oct 2005 17:09:56 +0000
Subject: cvs: presentations / lwe05.xml /slides/intro lwe05_ref.xml php_opcode_caches3.xml ws3.xml /slides/keynotes tempvar.xml web20.xml xml_1.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1204@lists.php.net to get a copy of this message
rasmus Wed Oct 5 13:09:56 2005 EDT Added files: /presentations lwe05.xml /presentations/slides/intro lwe05_ref.xml /presentations/slides/keynotes web20.xml xml_1.xml Modified files: /presentations/slides/intro php_opcode_caches3.xml ws3.xml /presentations/slides/keynotes tempvar.xml Log: LWE London Talk http://cvs.php.net/diff.php/presentations/slides/intro/php_opcode_caches3.xml?r1=1.7&r2=1.8&ty=u Index: presentations/slides/intro/php_opcode_caches3.xml diff -u presentations/slides/intro/php_opcode_caches3.xml:1.7 presentations/slides/intro/php_opcode_caches3.xml:1.8 --- presentations/slides/intro/php_opcode_caches3.xml:1.7 Thu Sep 15 16:45:34 2005 +++ presentations/slides/intro/php_opcode_caches3.xml Wed Oct 5 13:09:55 2005 @@ -1,5 +1,5 @@ <slide title="APC Stats"> <break lines="1" /> -<example filename="http://lerdorf.com/apc.php" marginleft="1em" marginright="0em" hide="1" result="1" type="iframe" iheight="700"/> +<example filename="http://localhost/apc.php" marginleft="1em" marginright="0em" hide="1" result="1" type="iframe" iheight="700"/> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/ws3.xml?r1=1.4&r2=1.5&ty=u Index: presentations/slides/intro/ws3.xml diff -u presentations/slides/intro/ws3.xml:1.4 presentations/slides/intro/ws3.xml:1.5 --- presentations/slides/intro/ws3.xml:1.4 Sun Sep 18 16:12:50 2005 +++ presentations/slides/intro/ws3.xml Wed Oct 5 13:09:55 2005 @@ -14,7 +14,7 @@ ?>]]></example> <example fontsize="1.6em" title="Add a spoonful of REST"><![CDATA[<?php -$srv = 'http://api.search.yahoo.com/ImageSearchService/V1/imageSearch'; +$srv='http://api.search.yahoo.com/ImageSearchService/V1/imageSearch'; foreach($ret as $key=>$link) { $url = $srv . "?query=$key&appid=RESTDemo"; $obj = simplexml_load_file($url); http://cvs.php.net/diff.php/presentations/slides/keynotes/tempvar.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/keynotes/tempvar.xml diff -u presentations/slides/keynotes/tempvar.xml:1.1 presentations/slides/keynotes/tempvar.xml:1.2 --- presentations/slides/keynotes/tempvar.xml:1.1 Wed Aug 3 18:52:09 2005 +++ presentations/slides/keynotes/tempvar.xml Wed Oct 5 13:09:55 2005 @@ -22,7 +22,7 @@ bar(foo()); ?>]]></example> <example title="In PHP5 this now gives" hide="1" result="1"> -Fatal error: Only variables can be passed by reference in foo.php on line 8</example> +Strict Standards: Only variables should be passed by reference in file on line 8</example> <example title="And here too" result="1"><![CDATA[<?php function & blah($arg) { http://cvs.php.net/co.php/presentations/lwe05.xml?r=1.1&p=1 Index: presentations/lwe05.xml +++ presentations/lwe05.xml <presentation template="php2" navmode="html" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <!-- 40 Minutes A quick and pragmatic introduction to solving the web problem with PHP. The session will include a summary of the new features in PHP5 such as the rewritten XML support and the new object model. --> <topic>PHP</topic> <title>PHP</title> <event>LinuxworldExpo 2005</event> <location>London</location> <date>Oct.5, 2005</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <slide>slides/intro/titlepage.xml</slide> <slide>slides/intro/serverside.xml</slide> <slide>slides/intro/idea.xml</slide> <slide>slides/lamp/failfast.xml</slide> <slide>slides/keynotes/dev1.xml</slide> <slide>slides/keynotes/dev2.xml</slide> <slide>slides/intro/php5.xml</slide> <slide>slides/keynotes/xml_1.xml</slide> <slide>slides/keynotes/oop.xml</slide> <slide>slides/keynotes/pdo1.xml</slide> <slide>slides/keynotes/unicode1.xml</slide> <slide>slides/intro/sqlite1.xml</slide> <slide>slides/intro/sqlite2.xml</slide> <slide>slides/keynotes/web20.xml</slide> <slide>slides/intro/ws1.xml</slide> <slide>slides/intro/ws2.xml</slide> <slide>slides/intro/ws3.xml</slide> <slide>slides/intro/ws4.xml</slide> <slide>slides/intro/ws5.xml</slide> <slide>slides/intro/ajax.xml</slide> <slide>slides/intro/lwe05_ref.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/intro/lwe05_ref.xml?r=1.1&p=1 Index: presentations/slides/intro/lwe05_ref.xml +++ presentations/slides/intro/lwe05_ref.xml <slide title="Resources"> <blurb> </blurb> <blurb> </blurb> <blurb> </blurb> <blurb> </blurb> <link fontsize="3em" marginleft="3em" leader="Slides: " href="http://talks.php.net/show/lwe05"/> <link fontsize="3em" marginleft="3em" leader="APC: " href="http://pecl.php.net/package/APC"/> <link fontsize="3em" marginleft="3em" leader="Yahoo: " href="http://developer.yahoo.com/"/> <link fontsize="3em" marginleft="3em" leader="Flickr: " href="http://flickr.com/services/api/"/> </slide> http://cvs.php.net/co.php/presentations/slides/keynotes/web20.xml?r=1.1&p=1 Index: presentations/slides/keynotes/web20.xml +++ presentations/slides/keynotes/web20.xml <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> </slide> http://cvs.php.net/co.php/presentations/slides/keynotes/xml_1.xml?r=1.1&p=1 Index: presentations/slides/keynotes/xml_1.xml +++ presentations/slides/keynotes/xml_1.xml <slide title="XML"> <break lines="1" /> <image filename="sterling3.jpg" marginright="1em" align="right"/> <example title="All XML handling based on libxml2" marginleft="2em" marginright="30em" result="0"><![CDATA[<?php $dom = new domDocument; $dom->load('data.xml'); ?>]]></example> <example title="XSL" result="0" marginleft="2em" marginright="30em" fontsize="1.5em"><![CDATA[<?php $domxsl = domDocument::load('stylesheet.xsl'); $proc = new xsltProcessor; $proc->importStyleSheet($domxsl); echo $proc->transformToXML($dom); ?>]]></example> <example title="XPath" result="0" fontsize="1.5em" marginleft="2em" marginright="0em"><![CDATA[<?php $ctx = new domXPath($dom); $result = $ctx->query('/breakfast_menu/food[@itemno > 3]/price/text()'); foreach($result as $node) { echo $node->nodeValue."<br />\n"; } ?>]]></example> <example title="menu.xml" hide="1" result="1" marginleft="2em" marginright="0em" fontsize="1.75em" rfontsize="1.5em"><![CDATA[<?php class entities_filter extends php_user_filter { function filter($in, $out, &$consumed, $closing) { while ($bucket = stream_bucket_make_writeable($in)) { $bucket->data = htmlentities($bucket->data); $consumed += $bucket->datalen; stream_bucket_append($out, $bucket); } return PSFS_PASS_ON; } } stream_filter_register("entities", "entities_filter"); echo "<pre>"; readfile("php://filter/read=entities/resource=menu.xml"); echo "</pre>"; ?>]]></example> <example title="SimpleXML" result="1" marginleft="2em"><![CDATA[<?php $menu = simplexml_load_file('menu.xml'); foreach ($menu->food as $item) { echo "{$item->price}\t{$item->name}<br />\n"; } ?>]]></example> </slide>

« previous php.pres (#1204) next »