cvs: presentations /slides/keynotes pdo1.xml unicode1.xml

From: Date: Fri, 07 Oct 2005 12:24:11 +0000
Subject: cvs: presentations /slides/keynotes pdo1.xml unicode1.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1206@lists.php.net to get a copy of this message
rasmus Fri Oct 7 08:24:11 2005 EDT Added files: /presentations/slides/keynotes pdo1.xml unicode1.xml Log: Missing slides http://cvs.php.net/co.php/presentations/slides/keynotes/pdo1.xml?r=1.1&p=1 Index: presentations/slides/keynotes/pdo1.xml +++ presentations/slides/keynotes/pdo1.xml <slide title="PDO"> <break lines="2"/> <image filename="wez.jpg" marginright="1em" align="right"/> <break lines="1" /> <blurb fontsize="4em" marginleft="0.5em"> A lightweight, consistent interface for writing database extensions and accessing databases in PHP </blurb> <example fontsize="1.3em" marginleft="2em" marginright="23em"><![CDATA[<?php $dbh = new PDO('odbc:sample', 'db2inst1', 'ibmdb2'); $cnt = $dbh->exec("DELETE FROM fruit WHERE colour = 'red'"); echo "Deleted $cnt rows."; ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/keynotes/unicode1.xml?r=1.1&p=1 Index: presentations/slides/keynotes/unicode1.xml +++ presentations/slides/keynotes/unicode1.xml <slide title="PHP and Unicode?"> <break lines="1"/> <image filename="andrei.jpg" marginright="1em" align="right"/> <blurb fontsize="2.5em"> New string types: IS_BINARY, IS_STRING and IS_UNICODE </blurb> <example title="Indexing Operator" fontsize="1.6em" marginleft="1em" marginright="28em"><![CDATA[<?php $str = "大学"; //bytes are e5 a4 a7 e5 ad a6 echo $str{1}; //result is 学 $str{0} = 'サ'; // string is now サ学 // bytes are e3 82 b5 e5 ad a6 ]]></example> <example title="Unicode Identifiers" fontsize="1.6em" marginleft="1em" marginright="28em"><![CDATA[<?php class コンポーネント {    function コミット {  .. } } $プロバイダ = array(); $プロバイダ[‘רַעְיולוּחַ שָׁנָה’] = new コンポーネント(); ]]></example> </slide>

« previous php.pres (#1206) next »