cvs: presentations / queadv.xml /slides/extending ext4-bday.xml /slides/intro valgrind.xml xdebug.xml

From: Date: Fri, 26 Mar 2004 16:05:10 +0000
Subject: cvs: presentations / queadv.xml /slides/extending ext4-bday.xml /slides/intro valgrind.xml xdebug.xml
Groups: php.pres 
Request: Send a blank email to pres+get-971@lists.php.net to get a copy of this message
rasmus Fri Mar 26 11:05:10 2004 EDT Added files: /presentations queadv.xml /presentations/slides/extending ext4-bday.xml /presentations/slides/intro valgrind.xml Modified files: /presentations/slides/intro xdebug.xml Log: Montreal talk http://cvs.php.net/diff.php/presentations/slides/intro/xdebug.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/xdebug.xml diff -u presentations/slides/intro/xdebug.xml:1.1 presentations/slides/intro/xdebug.xml:1.2 --- presentations/slides/intro/xdebug.xml:1.1 Tue Jan 20 13:37:16 2004 +++ presentations/slides/intro/xdebug.xml Fri Mar 26 11:05:10 2004 @@ -42,4 +42,6 @@ var_dump($_COOKIE); ?>]]></example> +<image title="debugclient" filename="../xdebug/debugclient.png" align="center"/> + </slide> http://cvs.php.net/co.php/presentations/queadv.xml?r=1.1&p=1 Index: presentations/queadv.xml +++ presentations/queadv.xml <presentation template="php2" titlecolor="#1111aa" navbarbackground="url(images/trans-ffffff.png)" logo1="images/php-med-trans-light.gif" titlesize="2em" navbarheight="4.1em" > <topic>PHP</topic> <title>Advanced PHP</title> <event>PHP Québec Conference</event> <location>Montréal</location> <date>Mar.25, 2004</date> <speaker>Rasmus Lerdorf</speaker> <email>rasmus@php.net</email> <url>Live presentation at http://talks.php.net</url> <chapter title="Introduction"> <slide>slides/titlepage.xml</slide> </chapter> <slide>slides/intro/goals.xml</slide> <chapter title="PHP5"> <slide>slides/intro/php5_refclone.xml</slide> <slide>slides/intro/php5_construct.xml</slide> <slide>slides/intro/php5_private.xml</slide> <slide>slides/intro/php5_protected.xml</slide> <slide>slides/intro/php5_setget.xml</slide> <slide>slides/intro/php5_call.xml</slide> <slide>slides/intro/php5_exceptions.xml</slide> <slide>slides/intro/streams.xml</slide> <slide>slides/intro/cli-awk.xml</slide> <slide>slides/intro/php5_domxml-load.xml</slide> <slide>slides/intro/simplexml1.xml</slide> <slide>slides/intro/simplexml2.xml</slide> <slide>slides/intro/sqlite1.xml</slide> <slide>slides/intro/sqlite2.xml</slide> </chapter> <chapter title="Design"> <slide>slides/intro/design.xml</slide> <slide>slides/intro/urlapi.xml</slide> <slide>slides/intro/pi.xml</slide> <slide>slides/intro/errdoc.xml</slide> <slide>slides/intro/image_cache.xml</slide> <slide>slides/intro/funky.xml</slide> <slide>slides/intro/app_arch.xml</slide> <slide>slides/intro/layers.xml</slide> </chapter> <chapter title="Extending"> <slide>slides/intro/arch.xml</slide> <slide>slides/extending/ext4-bday.xml</slide> <slide>slides/extending/ext8.xml</slide> <slide>slides/extending/ext9.xml</slide> <slide>slides/extending/ext11.xml</slide> <slide>slides/extending/ext13.xml</slide> <slide>slides/extending/ffi.xml</slide> </chapter> <chapter title="Performance"> <slide>slides/intro/php_tuning1.xml</slide> <slide>slides/intro/php_opcode_caches.xml</slide> <slide>slides/intro/php_opcode_caches-split.xml</slide> <slide>slides/intro/php_opcode_caches3.xml</slide> <slide>slides/intro/php_bench1.xml</slide> <slide>slides/intro/php_bench2.xml</slide> <slide>slides/intro/php_bench3.xml</slide> <slide>slides/intro/php_profiling.xml</slide> <slide>slides/intro/xdebug.xml</slide> <slide>slides/intro/valgrind.xml</slide> <slide>slides/intro/stop.xml</slide> </chapter> <slide>slides/intro/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/extending/ext4-bday.xml?r=1.1&p=1 Index: presentations/slides/extending/ext4-bday.xml +++ presentations/slides/extending/ext4-bday.xml <slide title="The Birthday Extension"> <blurb>First we create a function definition file:</blurb> <example type="shell" title="bday.def" fontsize="1.5em"><![CDATA[string birthday(int timestamp) ]]></example> <blurb> Then run the *ext_skel* script which creates all the required skeleton files. </blurb> <example type="shell" fontsize="1.75em"><![CDATA[% cd php4/ext % ./ext_skel --extname=bday --proto=bday.def ]]></example> <blurb title="Standalone or Embedded?"> At this point you have a choice on how to proceed. You can either develop your extension under the main PHP framework where you run the top-level *buildconf* script to include your extension in PHP's main configuration script, or you can develop your extension in a completely separate directory where you run the *phpize* script to populate your extension directory with all the required files. </blurb> <example title="Embedded" type="shell"><![CDATA[% cd bday % vi config.m4 % cd ../.. % ./buildconf % ./configure --enable-bday % make]]></example> <example title="Standalone" type="shell"><![CDATA[% mv bday /tmp % cd /tmp/bday % vi config.m4 % phpize % ./configure --enable-bday % make]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/intro/valgrind.xml?r=1.1&p=1 Index: presentations/slides/intro/valgrind.xml +++ presentations/slides/intro/valgrind.xml <slide title="Deploy"> <break /> <example title="All Hail Valgrind!">http://valgrind.kde.org</example> <list title="Valgrind Tools"> <item> Memcheck </item> <item> Addrcheck </item> <item> Cachegrind </item> <item> Helgrind </item> </list> <blurb> Also make sure you use an atomic file deployment mechanism like *rsync* or *mv*. Never *tar* or *cp* files to their final destinations on a running production server. </blurb> </slide>

« previous php.pres (#971) next »