cvs: presentations /slides/intro cli-awk.xml file.xml input_filter.xml ming.php new_apc.xml php5.xml serverside.xml simplexml2.xml sqlite1.xml txt.php
/slides/webservices php.xml xmlrpcex1.xml

From: Date: Tue, 26 Oct 2004 17:53:03 +0000
Subject: cvs: presentations /slides/intro cli-awk.xml file.xml input_filter.xml ming.php new_apc.xml php5.xml serverside.xml simplexml2.xml sqlite1.xml txt.php
/slides/webservices php.xml xmlrpcex1.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1078@lists.php.net to get a copy of this message
rasmus Tue Oct 26 13:53:03 2004 EDT Modified files: /presentations/slides/intro cli-awk.xml file.xml input_filter.xml ming.php new_apc.xml php5.xml serverside.xml simplexml2.xml sqlite1.xml txt.php /presentations/slides/webservices php.xml xmlrpcex1.xml Log: slide tweaks

http://cvs.php.net/diff.php/presentations/slides/intro/cli-awk.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/cli-awk.xml diff -u presentations/slides/intro/cli-awk.xml:1.1 presentations/slides/intro/cli-awk.xml:1.2 --- presentations/slides/intro/cli-awk.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/cli-awk.xml Tue Oct 26 13:53:02 2004 @@ -2,14 +2,14 @@ <break lines="3" /> - <example fontsize="1.6em"><![CDATA[-B <begin_code> Run PHP <begin_code> before processing input lines + <example fontsize="1.6em" type="text"><![CDATA[-B <begin_code> Run PHP <begin_code> before processing input lines -R <code> Run PHP <code> for every input line -F <file> Parse and execute <file> for every input line -E <end_code> Run PHP <end_code> after processing all input lines]]></example> <break lines="2" /> - <example fontsize="2em"><![CDATA[$ find . | \ + <example fontsize="2em" type="shell"><![CDATA[$ find . | \ php -B '$l = 0;' \ -R '$l+=count(file($argn));' \ -E 'echo "Lines: $l\n";']]></example> http://cvs.php.net/diff.php/presentations/slides/intro/file.xml?r1=1.4&r2=1.5&ty=u Index: presentations/slides/intro/file.xml diff -u presentations/slides/intro/file.xml:1.4 presentations/slides/intro/file.xml:1.5 --- presentations/slides/intro/file.xml:1.4 Mon Jul 1 04:32:18 2002 +++ presentations/slides/intro/file.xml Tue Oct 26 13:53:02 2004 @@ -1,7 +1,6 @@ <slide title="Reading a File"> <example title="readfile()"><![CDATA[<PRE><?php readfile("/proc/cpuinfo")?></PRE>]]></example> <example hide="1" result="1"><![CDATA[<?php $contents = file_get_contents("/proc/cpuinfo"); $contents = trim($contents,"\n"); echo nl2br($contents);?>]]></example> -<blurb title="And a new PHP 4.3.0 Function" /> <example title="file_get_contents()" result="1"><![CDATA[<?php $contents = file_get_contents("/proc/cpuinfo"); $contents = trim($contents,"\n"); http://cvs.php.net/diff.php/presentations/slides/intro/input_filter.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/input_filter.xml diff -u presentations/slides/intro/input_filter.xml:1.1 presentations/slides/intro/input_filter.xml:1.2 --- presentations/slides/intro/input_filter.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/input_filter.xml Tue Oct 26 13:53:02 2004 @@ -19,7 +19,7 @@ <blurb> For a complete example, see %README.input_filter% in the PHP 5 source distribution. -For PHP4, you will have to patch your source with http://lerdorf.com/input_filter.txt +For PHP4, you will have to patch your source with http://lerdorf.com/php/input_filter.txt </blurb> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/ming.php?r1=1.4&r2=1.5&ty=u Index: presentations/slides/intro/ming.php diff -u presentations/slides/intro/ming.php:1.4 presentations/slides/intro/ming.php:1.5 --- presentations/slides/intro/ming.php:1.4 Sat Jul 17 17:30:08 2004 +++ presentations/slides/intro/ming.php Tue Oct 26 13:53:02 2004 @@ -29,5 +29,5 @@ $m->setDimension($w*1.8, $h*1.8); header('Content-type: application/x-shockwave-flash'); - $m->output(); + $m->output(6); ?> http://cvs.php.net/diff.php/presentations/slides/intro/new_apc.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/new_apc.xml diff -u presentations/slides/intro/new_apc.xml:1.1 presentations/slides/intro/new_apc.xml:1.2 --- presentations/slides/intro/new_apc.xml:1.1 Wed Sep 22 15:15:35 2004 +++ presentations/slides/intro/new_apc.xml Tue Oct 26 13:53:02 2004 @@ -12,9 +12,9 @@ $a = array(1,2,3,4,5); apc_store('my_array', $a, 5); $a = 0; - print_r($a); + echo "<pre>"; var_dump($a); echo "</pre>"; $b = apc_fetch('my_array'); - var_dump($b); + echo "<pre>"; var_dump($b); echo "</pre>"; ?>]]></example> <break lines="1" /> http://cvs.php.net/diff.php/presentations/slides/intro/php5.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5.xml diff -u presentations/slides/intro/php5.xml:1.1 presentations/slides/intro/php5.xml:1.2 --- presentations/slides/intro/php5.xml:1.1 Sat Apr 26 13:52:13 2003 +++ presentations/slides/intro/php5.xml Tue Oct 26 13:53:02 2004 @@ -1,33 +1,4 @@ <slide title="PHP5"> - -<list title="New General Features"> -<bullet>Get rid of stdio completely</bullet> -<bullet>Stream servers and contexts</bullet> -<bullet>ADT (Advanced Data Types) extension</bullet> -<bullet>Mono Extension</bullet> -<bullet>RPC Extension</bullet> -<bullet>Bundled Curl support</bullet> -</list> - -<list title="New OO Features"> -<bullet>Better Object Overloading</bullet> -<bullet>Namespaces</bullet> -<bullet>try/catch exceptions</bullet> -<bullet>__construct() and __destruct() methods</bullet> -<bullet>Private, Protected and Public methods and properties</bullet> -<bullet>Static methods and properties</bullet> -<bullet>Final properties</bullet> -<bullet>Constant properties</bullet> -<bullet>__autoload</bullet> -<bullet>Abstract classes</bullet> -<bullet>Interfaces</bullet> -<bullet>class type hinting</bullet> -<bullet>SPL</bullet> -</list> - -<list title="New Engine Features"> -<bullet>Opcode overloading</bullet> -<bullet>Ability to add new opcodes</bullet> -</list> - +<break lines="10" /> +<blurb fontsize="18em" align="center">PHP5</blurb> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/serverside.xml?r1=1.3&r2=1.4&ty=u Index: presentations/slides/intro/serverside.xml diff -u presentations/slides/intro/serverside.xml:1.3 presentations/slides/intro/serverside.xml:1.4 --- presentations/slides/intro/serverside.xml:1.3 Sun Aug 18 17:11:45 2002 +++ presentations/slides/intro/serverside.xml Tue Oct 26 13:53:02 2004 @@ -11,7 +11,7 @@ <blurb>So if the HTML file contains:</blurb> <example><![CDATA[<html> -<?php echo "Hello World"?> +<?php echo "Hello World" ?> </html>]]></example> <blurb> http://cvs.php.net/diff.php/presentations/slides/intro/simplexml2.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/simplexml2.xml diff -u presentations/slides/intro/simplexml2.xml:1.1 presentations/slides/intro/simplexml2.xml:1.2 --- presentations/slides/intro/simplexml2.xml:1.1 Tue Jan 20 13:37:16 2004 +++ presentations/slides/intro/simplexml2.xml Tue Oct 26 13:53:02 2004 @@ -2,12 +2,10 @@ <blurb fontsize="3em">World's Easiest RDF parser?</blurb> <example fontsize="2em" result="0"><![CDATA[<?php -$rdf = simplexml_load_file('rss_feed.rdf'); -echo $rdf->channel->title; -foreach ($rdf->channel->item as $item) { - echo '<a href="'.$item->link.'">' . - $item->title . - '</a>'; +$rdf = simplexml_load_file('feed.rdf'); +echo "<h1>{$rdf->channel->title}</h1>"; +foreach ($rdf->item as $item) { + echo "<a href=\"{$item->link}\">{$item->title}</a>"; } ?>]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/intro/sqlite1.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/sqlite1.xml diff -u presentations/slides/intro/sqlite1.xml:1.1 presentations/slides/intro/sqlite1.xml:1.2 --- presentations/slides/intro/sqlite1.xml:1.1 Tue Jan 20 13:37:16 2004 +++ presentations/slides/intro/sqlite1.xml Tue Oct 26 13:53:02 2004 @@ -1,6 +1,6 @@ <slide title="SQLite"> <blurb>SQL Interface for flat files!</blurb> -<example title="Example" fontsize="1.6em" result="1"><![CDATA[<?php +<example title="Example" fontsize="1.5em" result="1"><![CDATA[<?php @exec('rm /tmp/lb.db'); $db = sqlite_open('/tmp/lb.db', 0666, $sqliteerror); if ($db) { @@ -9,7 +9,7 @@ $result = sqlite_query($db,'select bar from foo'); $record = sqlite_fetch_array($result); - var_dump($record); + echo "<pre>"; print_r($record); echo "</pre>"; } else { die ($sqliteerror); } http://cvs.php.net/diff.php/presentations/slides/intro/txt.php?r1=1.4&r2=1.5&ty=u Index: presentations/slides/intro/txt.php diff -u presentations/slides/intro/txt.php:1.4 presentations/slides/intro/txt.php:1.5 --- presentations/slides/intro/txt.php:1.4 Sat Jul 17 17:30:08 2004 +++ presentations/slides/intro/txt.php Tue Oct 26 13:53:02 2004 @@ -4,7 +4,7 @@ $blue = ImageColorAllocate($im,0x5B,0x69,0xA6); $white = ImageColorAllocate($im,255,255,255); $black = ImageColorAllocate($im,0,0,0); -ImageTTFText($im, 45, 0, 10, 57,$black,"CANDY",$text); -ImageTTFText($im, 45, 0, 6, 54,$white,"CANDY",$text); +ImageTTFText($im, 45, 0, 10, 57,$black,"CANDY",$_GET['text']); +ImageTTFText($im, 45, 0, 6, 54,$white,"CANDY",$_GET['text']); ImagePNG($im); ?> http://cvs.php.net/diff.php/presentations/slides/webservices/php.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/webservices/php.xml diff -u presentations/slides/webservices/php.xml:1.1 presentations/slides/webservices/php.xml:1.2 --- presentations/slides/webservices/php.xml:1.1 Sun Jul 6 19:12:41 2003 +++ presentations/slides/webservices/php.xml Tue Oct 26 13:53:03 2004 @@ -4,16 +4,10 @@ PHP supports HTTP, and XML-RPC webservices out of the box. </blurb> <blurb fontsize="3.5em"> -PHP supports SOAP via the %PEAR::SOAP% library. +PHP4 supports SOAP via the %PEAR::SOAP% library. </blurb> <blurb fontsize="3.5em"> -There is also a SOAP client in PECL, which is 100x faster than the -PEAR::SOAP library. +PHP5 has a bundled extension which is much faster than the +PEAR::SOAP library but not as feature-complete yet. </blurb> -<list> -<bullet marginleft="4.0em" type="none" fontsize="2.5em" effect="slide"> -Unfortunately it actually works about as often as I say the word -~bifurcate~. -</bullet> -</list> </slide> http://cvs.php.net/diff.php/presentations/slides/webservices/xmlrpcex1.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/webservices/xmlrpcex1.xml diff -u presentations/slides/webservices/xmlrpcex1.xml:1.1 presentations/slides/webservices/xmlrpcex1.xml:1.2 --- presentations/slides/webservices/xmlrpcex1.xml:1.1 Sun Jul 6 19:12:41 2003 +++ presentations/slides/webservices/xmlrpcex1.xml Tue Oct 26 13:53:03 2004 @@ -8,5 +8,5 @@ <blurb fontsize="3.5em"> In real life you would use the %pear list-all% command. </blurb> -<example filename="pear.php"/> +<example filename="pear.php" fontsize="1.6em"/> </slide>
« previous php.pres (#1078) next »