cvs: presentations / error-handling-plenum.xml /slides/error-handling-plenum about-intention.xml about-rules.xml about-what.xml aboutme.xml
agenda.xml approaches-error-codes-1.xml approaches-error-codes-2.xml approaches-error-objects-1.xml approaches-error-objects-2.xml
approaches-exceptions-1.xml approaches-exceptions-2.xml approaches-exit-die-1.xml approaches-exit-die-2.xml approaches-global-handler-1.xml
approaches-global-handler-2.xml approaches-internal-1.xml approaches-internal-2.xml approaches-overview.xml end.xml general-error-kinds.xml
general-what.xml general-why.xml open-part.xml title.xml

From: Date: Thu, 07 Dec 2006 09:50:44 +0000
Subject: cvs: presentations / error-handling-plenum.xml /slides/error-handling-plenum about-intention.xml about-rules.xml about-what.xml aboutme.xml
agenda.xml approaches-error-codes-1.xml approaches-error-codes-2.xml approaches-error-objects-1.xml approaches-error-objects-2.xml
approaches-exceptions-1.xml approaches-exceptions-2.xml approaches-exit-die-1.xml approaches-exit-die-2.xml approaches-global-handler-1.xml
approaches-global-handler-2.xml approaches-internal-1.xml approaches-internal-2.xml approaches-overview.xml end.xml general-error-kinds.xml
general-what.xml general-why.xml open-part.xml title.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1370@lists.php.net to get a copy of this message
toby Thu Dec 7 09:50:44 2006 UTC Added files: /presentations error-handling-plenum.xml /presentations/slides/error-handling-plenum about-intention.xml about-rules.xml about-what.xml aboutme.xml agenda.xml approaches-error-codes-1.xml approaches-error-codes-2.xml approaches-error-objects-1.xml approaches-error-objects-2.xml approaches-exceptions-1.xml approaches-exceptions-2.xml approaches-exit-die-1.xml approaches-exit-die-2.xml approaches-global-handler-1.xml approaches-global-handler-2.xml approaches-internal-1.xml approaches-internal-2.xml approaches-overview.xml end.xml general-error-kinds.xml general-what.xml general-why.xml open-part.xml title.xml Log: * Added slides from Frankfurt conference.

http://cvs.php.net/viewvc.cgi/presentations/error-handling-plenum.xml?view=markup&rev=1.1 Index: presentations/error-handling-plenum.xml +++ presentations/error-handling-plenum.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/php-best-practices/talk.css" backgroundfixed="1" > <topic>PHP</topic> <title>The error handling plenum</title> <event>International PHP Conference 2006</event> <location>Frankfurt, Germany</location> <date>November 7th, 2006</date> <speaker>Tobias Schlitt</speaker> <email>toby@php.net</email> <!-- Intro --> <slide>slides/error-handling-plenum/title.xml</slide> <slide>slides/error-handling-plenum/aboutme.xml</slide> <slide>slides/error-handling-plenum/agenda.xml</slide> <!-- About this talk --> <slide>slides/error-handling-plenum/about-intention.xml</slide> <slide>slides/error-handling-plenum/about-what.xml</slide> <slide>slides/error-handling-plenum/about-rules.xml</slide> <!-- Error handling in general --> <slide>slides/error-handling-plenum/general-what.xml</slide> <!-- <slide>slides/error-handling-plenum/general-why.xml</slide> --> <slide>slides/error-handling-plenum/general-error-kinds.xml</slide> <!-- Different approaches --> <slide>slides/error-handling-plenum/approaches-overview.xml</slide> <slide>slides/error-handling-plenum/approaches-exit-die-1.xml</slide> <slide>slides/error-handling-plenum/approaches-exit-die-2.xml</slide> <slide>slides/error-handling-plenum/approaches-error-codes-1.xml</slide> <slide>slides/error-handling-plenum/approaches-error-codes-2.xml</slide> <slide>slides/error-handling-plenum/approaches-global-handler-1.xml</slide> <slide>slides/error-handling-plenum/approaches-global-handler-2.xml</slide> <slide>slides/error-handling-plenum/approaches-internal-1.xml</slide> <slide>slides/error-handling-plenum/approaches-internal-2.xml</slide> <slide>slides/error-handling-plenum/approaches-error-objects-1.xml</slide> <slide>slides/error-handling-plenum/approaches-error-objects-2.xml</slide> <slide>slides/error-handling-plenum/approaches-exceptions-1.xml</slide> <slide>slides/error-handling-plenum/approaches-exceptions-2.xml</slide> <!-- Open part --> <slide>slides/error-handling-plenum/open-part.xml</slide> <slide>slides/error-handling-plenum/end.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/about-intention.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/about-intention.xml +++ presentations/slides/error-handling-plenum/about-intention.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>About this talk</title> <subtitle>Intention</subtitle> <blurb>The idea for this talk</blurb> <list> <bullet>Discussion in planning phase of eZ components</bullet> <bullet>People from Java, C++, C and PHP in 1 room</bullet> <bullet>PHP Exceptions quite new</bullet> </list> <break lines="2" /> <blurb>Why a talk about it?</blurb> <list> <bullet>Error handling is very important</bullet> <bullet>Wide range of error handling techniques out there</bullet> <bullet>Pure PHP people not familiar with exceptions</bullet> <bullet>Still some projects ignore error handling</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/about-rules.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/about-rules.xml +++ presentations/slides/error-handling-plenum/about-rules.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>About this talk</title> <subtitle>Questions and issues</subtitle> <blurb>Directly ask during the first part</blurb> <list> <bullet>Missunderstandings</bullet> <bullet>Techncal issues</bullet> <bullet>Language problems</bullet> </list> <break lines="2" /> <blurb>Save for the second part</blurb> <list> <bullet>Critics</bullet> <bullet>Ideas</bullet> <bullet>Own comments</bullet> <bullet>New techniques</bullet> <bullet>...</bullet> </list> <break lines="2" /> <blurb>Hint: Making notes helps! ;)</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/about-what.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/about-what.xml +++ presentations/slides/error-handling-plenum/about-what.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>About this talk</title> <subtitle>What will we do?</subtitle> <blurb>First part</blurb> <list> <bullet>Show why you should handle errors carefully</bullet> <bullet>Present common techniques</bullet> <bullet>Overview on pros / cons</bullet> </list> <break lines="2" /> <blurb>Second part</blurb> <list> <bullet>Present your way!</bullet> <bullet>Discusss shown approaches</bullet> <bullet>Exchange ideas</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/aboutme.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/aboutme.xml +++ presentations/slides/error-handling-plenum/aboutme.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide title="About me"> <list> <bullet>Tobias Schlitt &lt;toby@php.net&gt;</bullet> <bullet>IT specialist, currently studying computer science</bullet> <bullet>Working for eZ systems on the eZ components project</bullet> <bullet>Zend certification team member</bullet> <bullet>Member of the PEAR project</bullet> <bullet>PHP Usergroup Dortmund</bullet> </list> <break /> <break /> <list> <bullet>http://schlitt.info</bullet> <bullet>http://ez.no</bullet> <bullet>http://phpugdo.de</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/agenda.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/agenda.xml +++ presentations/slides/error-handling-plenum/agenda.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Agenda</title> <list> <bullet>About this talk</bullet> <bullet>Error handling in general</bullet> <bullet>Different approaches</bullet> <bullet>Open part</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-error-codes-1.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-error-codes-1.xml +++ presentations/slides/error-handling-plenum/approaches-error-codes-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Returning error codes</subtitle> <list> <bullet>Behaviour similar to shell programs</bullet> <bullet>Functions / methods return constant codes</bullet> <bullet>Most commonly mapped to messages globally</bullet> <bullet>Wast range of variaties out there!</bullet> </list> <example result="0"><![CDATA[<?php define( "ERR_FILE_NOT_WRITEABLE", 1 ); function writeToFile( $file, $content ) { if ( ( $f = fopen( $file, "w" ) ) === false ) { return ERR_FILE_NOT_WRITEABLE; } // ... return 0; } if ( ( $err = writeToFile( "/tmp/foo", "99 klingons..." ) ) !== 0 ) { switch ( $err ) { case ERR_FILE_NOT_WRITEABLE: // Handle error... break; // ... } } ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-error-codes-2.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-error-codes-2.xml +++ presentations/slides/error-handling-plenum/approaches-error-codes-2.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Returning error codes</subtitle> <blurb>Pros</blurb> <list> <bullet>Easy to implement</bullet> <bullet>Global error message definition</bullet> </list> <blurb>Cons</blurb> <list> <bullet>Much work checking for errors</bullet> <bullet>Returning integers (strings) very hard</bullet> <bullet>Inconsitent styles possible</bullet> <bullet>Error messages hardly customizeable</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-error-objects-1.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-error-objects-1.xml +++ presentations/slides/error-handling-plenum/approaches-error-objects-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Error objects</subtitle> <list> <bullet>PHP 4 applications mostly</bullet> <bullet>Try to mimic exceptions</bullet> <bullet>Well known through the PEAR project</bullet> <bullet>http://pear.php.net</bullet> </list> <example result="0"><![CDATA[<?php function writeToFile( $file, $content ) { if ( ( $f = fopen( $file, "w" ) ) === false ) { return PEAR::raiseError( "File not writeable", 23, PEAR_ERROR_RETURN, $file ); } // ... } if ( PEAR::isError( $err = writeToFile( "/tmp/foo", "99 klingons..." ) ) ) { // handle error... } ?>]]></example> <break lines="2" /> <example result="0"><![CDATA[<?php PEAR::setErrorHandling( PEAR_ERROR_CALLBACK, "handleError" ); function handleError( $err ) { // handle error... } writeToFile( "/tmp/foo" ); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-error-objects-2.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-error-objects-2.xml +++ presentations/slides/error-handling-plenum/approaches-error-objects-2.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Error objects</subtitle> <blurb>Pros</blurb> <list> <bullet>Powerful concept</bullet> <bullet>Extreme flexible</bullet> <bullet>Highly configurable</bullet> <bullet>Makes much sense for PHP 4</bullet> </list> <blurb>Cons</blurb> <list> <bullet>Exceptions are more powerful</bullet> <bullet>Senseless for PHP 5</bullet> <bullet>Blown code (at least in PEAR)</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-exceptions-1.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-exceptions-1.xml +++ presentations/slides/error-handling-plenum/approaches-exceptions-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Exceptions</subtitle> <list> <bullet>Common OO concept</bullet> <bullet>Found in almost any OO lang (e.g. Java, C#,...)</bullet> <bullet>New in PHP 5</bullet> </list> <example result="0"><![CDATA[<?php class FileNotWriteableException extends Exception { public function __construct( $file ) { parent::__construct( "File not writeable <$file>" ); } function writeToFile( $file, $content ) { if ( ( $f = fopen( $file, "w" ) ) === false ) { throw new FileNotWritableException( $file ); } // ... } try { writeToFile( "/tmp/foo", "99 klingons..." ); } catch ( FileNotWriteableException $e ) { // handle error... } ?>]]></example> <break lines="2" /> <example result="0"><![CDATA[<?php // ... function handleError( Exception $e ) { // handle error... } set_exception_handler( "handleError" ); writeToFile( "/tmp/foo" ); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-exceptions-2.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-exceptions-2.xml +++ presentations/slides/error-handling-plenum/approaches-exceptions-2.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Exceptions</subtitle> <blurb>Pros</blurb> <list> <bullet>Easy to implement</bullet> <bullet>Global and local error handling</bullet> <bullet>Allows error handling up the call stack</bullet> <bullet>Native language feature</bullet> <bullet>Very common approach in OO langs</bullet> </list> <blurb>Cons</blurb> <list> <bullet>PHP 5 only (does that matter?)</bullet> <bullet>Exceptions may leak in some cases!</bullet> <bullet>Can be absused for flow control</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-exit-die-1.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-exit-die-1.xml +++ presentations/slides/error-handling-plenum/approaches-exit-die-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Exit and die</subtitle> <list> <bullet>Kill the whole app in case of an error</bullet> <bullet>Return error code and/or message</bullet> </list> <example result="0"><![CDATA[<?php function writeToFile( $file, $content ) { if ( ( $f = fopen( $file, "w" ) ) === false ) { exit( "Could not write to <$file>" ); } // ... } writeToFile( "/tmp/foo", "99 klingons on a killing crusade" ); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-exit-die-2.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-exit-die-2.xml +++ presentations/slides/error-handling-plenum/approaches-exit-die-2.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Exit and die</subtitle> <blurb>Pros</blurb> <list> <bullet>Easy to implement</bullet> <bullet>"The short way out"</bullet> </list> <blurb>Cons</blurb> <list> <bullet>No possibility to handle the error</bullet> <bullet>No possibility to exit cleanly</bullet> <bullet>No layouting / design possible (web)</bullet> <bullet>Possily inconsistent messages / codes</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-global-handler-1.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-global-handler-1.xml +++ presentations/slides/error-handling-plenum/approaches-global-handler-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Global error handler</subtitle> <list> <bullet>Handle errors globally</bullet> <bullet>Single instance error handling</bullet> <bullet>Wast range of variaties out there!</bullet> </list> <example result="0"><![CDATA[<?php class ErrorHandler { public static function raiseError( $code, $message ) { // Handle error } } function writeToFile( $file, $content ) { if ( ( $f = fopen( $file, "w" ) ) === false ) { ErrorHandler::raiseError( 10, "File not writeable <$file>" ); } } writeToFile( "/tmp/foo", "99 ferenghi..." ); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-global-handler-2.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-global-handler-2.xml +++ presentations/slides/error-handling-plenum/approaches-global-handler-2.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>Global error handler</subtitle> <blurb>Pros</blurb> <list> <bullet>Easy to implement</bullet> <bullet>Global error handling</bullet> <bullet>Can become quite complex</bullet> </list> <blurb>Cons</blurb> <list> <bullet>Inconsitent styles possible</bullet> <bullet>No local handling of errors possible</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-internal-1.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-internal-1.xml +++ presentations/slides/error-handling-plenum/approaches-internal-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>PHP internal</subtitle> <list> <bullet>Built into PHP itself</bullet> <bullet>Global handling of errors</bullet> <bullet>Ability to stack error handlers</bullet> <bullet>Ability to define different error handler for different error levels</bullet> </list> <example result="0"><![CDATA[<?php function globalErrorHandler( $errno, $errstr, $errfile, $errline ) { die( "Error $errno occurred in $errfile on line $errline: '$errstr'." ); } set_error_handler( "globalErrorHandler" ); function writeToFile( $file, $content ) { if ( ( $f = fopen( $file, "w" ) ) === false ) { ErrorHandler::raiseError( 10, "File not writeable <$file>" ); } } writeToFile( "/tmp/foo", "99 ferenghi..." ); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-internal-2.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-internal-2.xml +++ presentations/slides/error-handling-plenum/approaches-internal-2.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>PHP internal</subtitle> <blurb>Pros</blurb> <list> <bullet>Shipped with PHP</bullet> <bullet>Global error handling</bullet> <bullet>Locally overwriteable</bullet> </list> <blurb>Cons</blurb> <list> <bullet>Inconsitent styles possible</bullet> <bullet>Local error handling becomes nasty</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/approaches-overview.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/approaches-overview.xml +++ presentations/slides/error-handling-plenum/approaches-overview.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Different approaches</title> <subtitle>What I will show here</subtitle> <list> <bullet>Exit and die</bullet> <bullet>Returning error codes</bullet> <bullet>Global error handler</bullet> <bullet>Returning error objects</bullet> <bullet>Throwing exceptions</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/end.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/end.xml +++ presentations/slides/error-handling-plenum/end.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="3em"> <title>The end</title> <blurb>Thanks for listening!</blurb> <blurb>I hope you...</blurb> <list> <bullet>... learned what you hoped to learn</bullet> <bullet>... had interessting conversiations</bullet> <bullet>... possibly slept well ;)</bullet> </list> <blurb>This slides online:</blurb> <list> <bullet>http://talks.php.net</bullet> </list> <blurb>Reaching me:</blurb> <list> <bullet>Tobias Schlitt &lt;toby@php.net&gt;</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/general-error-kinds.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/general-error-kinds.xml +++ presentations/slides/error-handling-plenum/general-error-kinds.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Error handling in general</title> <subtitle>Which types of error exist?</subtitle> <blurb>System errors</blurb> <list> <bullet>Occur in a underlying/related system</bullet> <bullet>Example: Error connectin to network service</bullet> <bullet>Reaction: Handle, retry or show nice error message</bullet> </list> <blurb>User errors</blurb> <list> <bullet>Result of faulty user data</bullet> <bullet>Example: Wrong password</bullet> <bullet>Reaction: Workflow adjustment</bullet> </list> <blurb>Application errors</blurb> <list> <bullet>Commonly known as "bugs"</bullet> <bullet>Example: Unintended endless loop</bullet> <bullet>Reaction: Mostly not possible</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/general-what.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/general-what.xml +++ presentations/slides/error-handling-plenum/general-what.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Error handling in general</title> <subtitle>What is error handling?</subtitle> <blurb>My own definition</blurb> <break lines="2" /> <blurb> &quot;Error handling is the art of reacting poperly to unwanted states of your application and the underlying / interacting systems, to avoid annoyance on the user side, harm of your system and possible security issues.&quot; </blurb> <break lines="2" /> <blurb>Wikipedia says</blurb> <break lines="2" /> <blurb>Error handling == exception handling</blurb> <break lines="2" /> <blurb>http://en.wikipedia.org/wiki/Error_handling</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/general-why.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/general-why.xml +++ presentations/slides/error-handling-plenum/general-why.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Error handling in general</title> <subtitle>Why must I do proper error handling?</subtitle> <blurb>"If nothing goes wrong, my application runs well!"</blurb> <blurb>"My users are experienced enough to deal with the errors of the underlying system!"</blurb> <break lines="2" /> <list> <bullet>Low level error information can contain sensible information</bullet> <bullet>Every user is annoyed by error messages</bullet> <bullet>Think about people extending your code</bullet> <bullet>Avoiding to present an error to the user makes an application comfortable</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/open-part.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/open-part.xml +++ presentations/slides/error-handling-plenum/open-part.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="3em"> <title>Open part</title> <subtitle>Plenum opened</subtitle> <blurb>Time for...</blurb> <list> <bullet>discussion</bullet> <bullet>questions and answers</bullet> <bullet>chatting</bullet> <bullet>...</bullet> </list> <blurb>Feel free to come to the front or just stand up!</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/error-handling-plenum/title.xml?view=markup&rev=1.1 Index: presentations/slides/error-handling-plenum/title.xml +++ presentations/slides/error-handling-plenum/title.xml <slide fontsize="3.5em"> <title>Welcome!</title> <break lines="3"/> <blurb class="event">International PHP Conference 2006</blurb> <break/> <blurb class="event">The error handling plenum</blurb> <break/> <blurb class="event-date">Frankfurt, Germany</blurb> <break/> <blurb class="event-presenter">Tobias Schlitt - &amp;lt;toby@php.net&amp;gt;</blurb> </slide>
« previous php.pres (#1370) next »