cvs: presentations / cips.xml /slides/intro ws3.xml ws4.xml ws5.xml /slides/lamp failfast.xml history.xml php-usage.xml

From: Date: Sat, 17 Sep 2005 03:08:24 +0000
Subject: cvs: presentations / cips.xml /slides/intro ws3.xml ws4.xml ws5.xml /slides/lamp failfast.xml history.xml php-usage.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1193@lists.php.net to get a copy of this message
rasmus Fri Sep 16 23:08:24 2005 EDT Added files: /presentations cips.xml Modified files: /presentations/slides/intro ws3.xml ws4.xml ws5.xml /presentations/slides/lamp failfast.xml history.xml php-usage.xml Log: CIPS talk http://cvs.php.net/diff.php/presentations/slides/intro/ws3.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/ws3.xml diff -u presentations/slides/intro/ws3.xml:1.2 presentations/slides/intro/ws3.xml:1.3 --- presentations/slides/intro/ws3.xml:1.2 Thu Sep 8 04:15:09 2005 +++ presentations/slides/intro/ws3.xml Fri Sep 16 23:08:24 2005 @@ -2,13 +2,15 @@ <blurb> SOAP makes my head hurt. Let's look at some stuff we can all actually understand instead. </blurb> -<example title="Take a pinch of RSS" result="1" rfontsize="1.2em"><![CDATA[<?php +<example title="Take a pinch of RSS" result="1" fontsize="1.6em" rfontsize="1.2em"><![CDATA[<?php $url = 'http://buzz.yahoo.com/feeds/buzzoverl.xml'; -$xml = simplexml_load_file($url); -foreach($xml->channel->item as $item) { - $ret[(string)$item->title] = (string)$item->link; -} -echo "<pre>"; print_r($ret); echo "</pre>"; +$xml = @simplexml_load_file($url); +if($xml) { + foreach($xml->channel->item as $item) { + $ret[(string)$item->title] = (string)$item->link; + } + echo "<pre>"; print_r($ret); echo "</pre>"; +} else echo "Can't get to Yahoo!"; ?>]]></example> <example fontsize="1.6em" title="Add a spoonful of REST"><![CDATA[<?php http://cvs.php.net/diff.php/presentations/slides/intro/ws4.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/ws4.xml diff -u presentations/slides/intro/ws4.xml:1.2 presentations/slides/intro/ws4.xml:1.3 --- presentations/slides/intro/ws4.xml:1.2 Thu Sep 8 08:07:18 2005 +++ presentations/slides/intro/ws4.xml Fri Sep 16 23:08:24 2005 @@ -27,7 +27,7 @@ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); -$xml = simplexml_load_string(curl_exec($ch)); +$xml = simplexml_load_string(curl_exec($ch)) or die("Can't get to Yahoo!"); curl_close($ch); $config = array('indent'=>TRUE, 'indent-attributes'=>TRUE, 'wrap-attributes'=>TRUE,'input-xml'=>TRUE, 'output-xml'=>TRUE); http://cvs.php.net/diff.php/presentations/slides/intro/ws5.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/intro/ws5.xml diff -u presentations/slides/intro/ws5.xml:1.2 presentations/slides/intro/ws5.xml:1.3 --- presentations/slides/intro/ws5.xml:1.2 Thu Sep 8 08:07:18 2005 +++ presentations/slides/intro/ws5.xml Fri Sep 16 23:08:24 2005 @@ -21,7 +21,7 @@ } $url = "http://flickr.com/services/rest/?method=flickr.people.getPublicPhotos". "&user_id=56053642@N00&per_page=2&api_key=3aba8184848f9263b80795c95529bcd1"; -$xml = simplexml_load_file($url); +$xml = @simplexml_load_file($url) or die("Unable to contact Flickr"); $perpage = $xml->photos['perpage']; $total = $xml->photos['total']; http://cvs.php.net/diff.php/presentations/slides/lamp/failfast.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/lamp/failfast.xml diff -u presentations/slides/lamp/failfast.xml:1.1 presentations/slides/lamp/failfast.xml:1.2 --- presentations/slides/lamp/failfast.xml:1.1 Wed Sep 14 23:24:23 2005 +++ presentations/slides/lamp/failfast.xml Fri Sep 16 23:08:24 2005 @@ -1,7 +1,10 @@ <slide> <title>Fail Fast!</title> -<break lines="3" /> -<blurb fontsize="14em" align="center">Fail Fast</blurb> -<blurb fontsize="14em" align="center">Fail Cheap</blurb> -<blurb fontsize="14em" align="center">Be Lazy</blurb> +<break lines="1" /> +<blurb fontsize="11em" align="center">Fail Fast</blurb> +<blurb fontsize="11em" align="center">Fail Cheap</blurb> +<blurb fontsize="11em" align="center">Be Lazy</blurb> +<blurb fontsize="6em" align="center"> +The greatest inefficiencies come from solving problems you will never have. +</blurb> </slide> http://cvs.php.net/diff.php/presentations/slides/lamp/history.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/lamp/history.xml diff -u presentations/slides/lamp/history.xml:1.1 presentations/slides/lamp/history.xml:1.2 --- presentations/slides/lamp/history.xml:1.1 Mon Apr 18 03:14:17 2005 +++ presentations/slides/lamp/history.xml Fri Sep 16 23:08:24 2005 @@ -1,4 +1,5 @@ <slide> <title>History</title> +<break lines="2" /> <image align="center" filename="history.png" /> </slide> http://cvs.php.net/diff.php/presentations/slides/lamp/php-usage.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/lamp/php-usage.xml diff -u presentations/slides/lamp/php-usage.xml:1.2 presentations/slides/lamp/php-usage.xml:1.3 --- presentations/slides/lamp/php-usage.xml:1.2 Thu Sep 8 08:07:19 2005 +++ presentations/slides/lamp/php-usage.xml Fri Sep 16 23:08:24 2005 @@ -1,5 +1,6 @@ <slide> <title>PHP Usage</title> +<break lines="2" /> <image align="center" filename="phpstats-200509.png" /> <break/> <blurb>Source: Netcraft</blurb> http://cvs.php.net/co.php/presentations/cips.xml?r=1.1&p=1 Index: presentations/cips.xml +++ presentations/cips.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" > <!-- 60 Minutes --> <topic>PHP</topic> <title>PHP</title> <event>CIPS</event> <location>Toronto</location> <date>Sep 16, 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/lamp/the-lamp-stack.xml</slide> <slide>slides/lamp/comparison.xml</slide> <slide>slides/lamp/apache-usage.xml</slide> <slide>slides/lamp/php-usage.xml</slide> <slide>slides/lamp/history.xml</slide> <slide>slides/keynotes/dev1.xml</slide> <slide>slides/keynotes/dev2.xml</slide> <slide>slides/intro/app_arch.xml</slide> <slide>slides/intro/scale1.xml</slide> <slide>slides/intro/scale.xml</slide> <slide>slides/intro/repl3.xml</slide> <slide>slides/intro/php5q2.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/cips_ref.xml</slide> <slide>slides/intro/ajax.xml</slide> <slide>slides/intro/unicode1.xml</slide> </presentation>

« previous php.pres (#1193) next »