cvs: presentations /slides/ezc .cvsignore all_your_base.png archive-logo.jpg archive.php cache.php components.png configuration-manager.php
configuration-read-write.php consoletools-option.php consoletools-progressbar.php consoletools-table.php consoletools-table.png
database-query-abstraction.php database.php eventlog.php example-archive.xml example-cache.xml example-configuration-manager.xml
example-configuration-read-write.xml example-consoletools-options.xml example-consoletools-progressbar.xml example-consoletools-table.xml
example-database-instance.xml example-database-query.xml example-eventlog.xml example-execution.xml example-imageanalysis.xml
example-imageconversion.xml example-mail.xml example-persistentobject.xml example-userinput.xml execution.php ezc-setup.php future.xml
imageanalysis.php imageconversion.php install-download.xml install-pear.xml mail.php moon.jpg nacreous-grey.jpg nacreous-small.jpg nacreous.jpg
overview.xml persistent-object.php progr! essbar.gif questions.xml test-archive.zip title-ezc.xml userinput.php /slides/ezc/cfg example.ini
example.php example2.ini /slides/i18nl10n when.xml /slides/perf ezp.png /slides/toolbox documentation.xml goals-library.xml goals-process.xml
tie-in.png
| From: | Derick Rethans | Date: | Wed, 08 Feb 2006 08:42:21 +0000 |
| Subject: | cvs: presentations /slides/ezc .cvsignore all_your_base.png archive-logo.jpg archive.php cache.php components.png configuration-manager.php configuration-read-write.php consoletools-option.php consoletools-progressbar.php consoletools-table.php consoletools-table.png database-query-abstraction.php database.php eventlog.php example-archive.xml example-cache.xml example-configuration-manager.xml example-configuration-read-write.xml example-consoletools-options.xml example-consoletools-progressbar.xml example-consoletools-table.xml example-database-instance.xml example-database-query.xml example-eventlog.xml example-execution.xml example-imageanalysis.xml example-imageconversion.xml example-mail.xml example-persistentobject.xml example-userinput.xml execution.php ezc-setup.php future.xml imageanalysis.php imageconversion.php install-download.xml install-pear.xml mail.php moon.jpg nacreous-grey.jpg nacreous-small.jpg nacreous.jpg overview.xml persistent-object.php progr! essbar.gif questions.xml test-archive.zip title-ezc.xml userinput.php /slides/ezc/cfg example.ini example.php example2.ini /slides/i18nl10n when.xml /slides/perf ezp.png /slides/toolbox documentation.xml goals-library.xml goals-process.xml tie-in.png |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1253@lists.php.net to get a copy of this message | ||
derick Wed Feb 8 08:42:21 2006 UTC
Added files:
/presentations/slides/ezc .cvsignore all_your_base.png
archive-logo.jpg archive.php cache.php
components.png configuration-manager.php
configuration-read-write.php
consoletools-option.php
consoletools-progressbar.php
consoletools-table.php
consoletools-table.png
database-query-abstraction.php
database.php eventlog.php
example-archive.xml example-cache.xml
example-configuration-manager.xml
example-configuration-read-write.xml
example-consoletools-options.xml
example-consoletools-progressbar.xml
example-consoletools-table.xml
example-database-instance.xml
example-database-query.xml
example-eventlog.xml
example-execution.xml
example-imageanalysis.xml
example-imageconversion.xml
example-mail.xml
example-persistentobject.xml
example-userinput.xml execution.php
ezc-setup.php future.xml
imageanalysis.php imageconversion.php
install-download.xml install-pear.xml
mail.php moon.jpg nacreous-grey.jpg
nacreous-small.jpg nacreous.jpg
overview.xml persistent-object.php
progressbar.gif questions.xml
test-archive.zip title-ezc.xml
userinput.php
/presentations/slides/ezc/cfg example.ini example.php example2.ini
Modified files:
/presentations/slides/i18nl10n when.xml
/presentations/slides/perf ezp.png
/presentations/slides/toolbox documentation.xml goals-library.xml
goals-process.xml tie-in.png
Log:
- RAD with PHP talk.
http://cvs.php.net/viewcvs.cgi/presentations/slides/i18nl10n/when.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/i18nl10n/when.xml diff -u presentations/slides/i18nl10n/when.xml:1.1 presentations/slides/i18nl10n/when.xml:1.2 --- presentations/slides/i18nl10n/when.xml:1.1 Mon Sep 12 10:01:32 2005 +++ presentations/slides/i18nl10n/when.xml Wed Feb 8 08:42:21 2006 @@ -5,6 +5,6 @@ <list> <bullet>When it is ready.</bullet> <bullet>Development version is in CVS.</bullet> - <bullet>Release: hopefully this year.</bullet> + <bullet>Release: hopefully next year.</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/perf/ezp.png?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/perf/ezp.png http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/documentation.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/documentation.xml diff -u presentations/slides/toolbox/documentation.xml:1.1 presentations/slides/toolbox/documentation.xml:1.2 --- presentations/slides/toolbox/documentation.xml:1.1 Wed Sep 14 16:39:05 2005 +++ presentations/slides/toolbox/documentation.xml Wed Feb 8 08:42:21 2006 @@ -7,11 +7,11 @@ <bullet>Makes a library usable</bullet> <bullet>API documentation</bullet> <bullet>Examples</bullet> - <bullet>Test Cases</bullet> + <bullet>Tutorials</bullet> </list> <break lines="2"/> - <blurb>PHP Documentator:</blurb> + <blurb>PHP Documentor:</blurb> <list> <bullet>Made for PHP</bullet> <bullet>In use by PEAR</bullet> http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/goals-library.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/goals-library.xml diff -u presentations/slides/toolbox/goals-library.xml:1.1 presentations/slides/toolbox/goals-library.xml:1.2 --- presentations/slides/toolbox/goals-library.xml:1.1 Wed Sep 14 16:39:05 2005 +++ presentations/slides/toolbox/goals-library.xml Wed Feb 8 08:42:21 2006 @@ -7,6 +7,7 @@ <bullet>Clean and simple API</bullet> <bullet>Keep backward compatibility for longer periods of time</bullet> <bullet>Stable and few regressions</bullet> + <bullet>Clean IP, Open Source friendly</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/goals-process.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/goals-process.xml diff -u presentations/slides/toolbox/goals-process.xml:1.1 presentations/slides/toolbox/goals-process.xml:1.2 --- presentations/slides/toolbox/goals-process.xml:1.1 Wed Sep 14 16:39:05 2005 +++ presentations/slides/toolbox/goals-process.xml Wed Feb 8 08:42:21 2006 @@ -4,10 +4,10 @@ <list> <bullet>Move to PHP 5</bullet> - <bullet>Thoroughly plan the product to get a top notch API for the library.</bullet> - <bullet>Thoroughly tested. All code should be covered by unit tests PRIOR to implementation.</bullet> + <bullet>Thoroughly plan the product to get a top notch API for the library</bullet> + <bullet>Thoroughly tested. All code should be covered by unit tests PRIOR to implementation</bullet> <bullet>Make sure we keep the product open enough for future development</bullet> - <bullet>Do proper documentation during the development.</bullet> + <bullet>Do proper documentation during the development</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/tie-in.png?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/tie-in.png http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/.cvsignore?view=markup&rev=1.1 Index: presentations/slides/ezc/.cvsignore +++ presentations/slides/ezc/.cvsignore *.swp http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/archive.php?view=markup&rev=1.1 Index: presentations/slides/ezc/archive.php +++ presentations/slides/ezc/archive.php <?php require 'ezc-setup.php'; $archive = ezcArchive::open( dirname( __FILE__ ) . '/test-archive.zip' ); foreach( $archive as $entry ) { if ( $entry->getPath() == 'archive-logo.jpg' ) { $dir = dirname( __FILE__ ); echo "Extracting {$entry->getPath()} to $dir.<br/><br/>\n"; $archive->extractCurrent( $dir ); } echo $entry, "\n"; } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cache.php?view=markup&rev=1.1 Index: presentations/slides/ezc/cache.php +++ presentations/slides/ezc/cache.php <?php require 'ezc-setup.php'; @mkdir( '/tmp/temp-location' ); ezcCacheManager::createCache( 'identifier', '/tmp/temp-location', 'ezcCacheStorageFileEvalArray', array( 'ttl' => 30 ) ); $cache = ezcCacheManager::getCache( 'identifier' ); $myId = 'unique_id_1'; if ( ( $data = $cache->restore( $myId ) ) === false ) { $data = "Plain cache stored on " . date( 'Y-m-d, H:i:s' ); $cache->store( $myId, $data ); } echo $data; http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/configuration-manager.php?view=markup&rev=1.1 Index: presentations/slides/ezc/configuration-manager.php +++ presentations/slides/ezc/configuration-manager.php <?php require 'ezc-setup.php'; $cfg = ezcConfigurationManager::getInstance(); $cfg->init( 'ezcConfigurationIniReader', dirname( __FILE__ ). '/cfg' ); $pw = $cfg->getSetting( 'example', 'db', 'password' ); echo "The password is '$pw'.\n"; ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/configuration-read-write.php?view=markup&rev=1.1 Index: presentations/slides/ezc/configuration-read-write.php +++ presentations/slides/ezc/configuration-read-write.php <?php require 'ezc-setup.php'; $reader = new ezcConfigurationIniReader(); $reader->init( dirname( __FILE__ ). '/cfg', 'example2' ); // Validation $result = $reader->validate(); foreach ( $result->getResultList() as $resultItem ) { echo htmlspecialchars( basename( $resultItem->file ) . ":" . $resultItem->line . ":" . $resultItem->column . ":" . " " . $resultItem->details . "\n" ); } // Reading $reader->init( dirname( __FILE__ ). '/cfg', 'example' ); $cfg = $reader->load(); // Writing $writer = new ezcConfigurationArrayWriter(); $writer->init( dirname( __FILE__ ). '/cfg', 'example', $cfg ); $writer->save(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/consoletools-option.php?view=markup&rev=1.1 Index: presentations/slides/ezc/consoletools-option.php +++ presentations/slides/ezc/consoletools-option.php <?php require 'ezc-setup.php'; $optionHandler = new ezcConsoleInput(); $file = new ezcConsoleOption( 'f', 'file', ezcConsoleInput::TYPE_STRING ); $file->mandatory = true; $optionHandler->registerOption( $file ); try { $optionHandler->process(); } catch ( ezcConsoleException $e ) { die( $e->getMessage() ); } echo "Processing file: ", $optionHandler->getOption( 'f' )->value, "\n"; ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/consoletools-progressbar.php?view=markup&rev=1.1 Index: presentations/slides/ezc/consoletools-progressbar.php +++ presentations/slides/ezc/consoletools-progressbar.php <?php require 'ezc-setup.php'; $max = 23; $output = new ezcConsoleOutput; $output->formats->bar->color = 'red'; $output->formats->bar->style = array( 'bold' ); $options = array( 'emptyChar' => ' ', 'barChar' => '-', 'formatString' => '%act% / %max% [' . $output->formatText( '%bar%', 'bar' ). '] %fraction%%', ); $progress = new ezcConsoleProgressbar( $output, $max, $options ); for ( $i = 0; $i < $max; $i++ ) { usleep( 20000 ); $progress->advance(); } $progress->finish(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/consoletools-table.php?view=markup&rev=1.1 Index: presentations/slides/ezc/consoletools-table.php +++ presentations/slides/ezc/consoletools-table.php <?php require 'ezc-setup.php'; $out = new ezcConsoleOutput; $out->formats->headline->color = 'red'; $out->formats->headline->style = array( 'bold' ); $table = new ezcConsoleTable( $out, 60 ); $table[0]->format = 'headline'; $table[0]->borderFormat = 'headline'; $table[0][0]->content = 'Headline 1'; $table[0][1]->content = 'Headline 2'; $table[1][0]->content = "The next cell will wrap:"; $table[1][1]->content = <<<END If there is a lot of text in a specific cell then the ezcConsoleTable will correctly wrap around. END; $table[1][1]->align = ezcConsoleTable::ALIGN_RIGHT; $table->outputTable(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/database-query-abstraction.php?view=markup&rev=1.1 Index: presentations/slides/ezc/database-query-abstraction.php +++ presentations/slides/ezc/database-query-abstraction.php <?php require 'ezc-setup.php'; $db = ezcDbFactory::create( 'mysql://root@localhost/geolocation' ); $sq = $db->createSelectQuery(); $stmt = $sq->select( 'name', 'country', 'lat', 'lon' ) ->from( 'city' ) ->where( $sq->expr->like( 'normalized_name', $sq->bindValue( 'oslo%' ) ) ) ->orderBy( 'country', 'name' ) ->prepare(); $stmt->execute(); foreach ( $stmt as $entry ) { list( $name, $country, $lat, $lon ) = $entry; printf( '%s, %s is @ %.2f%s %.2f%s<br/>', $name, $country, abs( $lat ), ($lat > 0 ? "N" :"S" ), abs( $lon ), ( $lon > 0 ? "E" : "W" ) ); } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/database.php?view=markup&rev=1.1 Index: presentations/slides/ezc/database.php +++ presentations/slides/ezc/database.php <?php require 'ezc-setup.php'; $db1 = ezcDbFactory::create( 'mysql://root@localhost/ezc' ); ezcDbInstance::set( $db1, 'ezc' ); $trunk = ezcDbFactory::create( 'mysql://root@localhost/eztrunk' ); ezcDbInstance::set( $trunk, 'ezt' ); $db = ezcDbInstance::get( 'ezt' ); echo $db->getName(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/eventlog.php?view=markup&rev=1.1 Index: presentations/slides/ezc/eventlog.php +++ presentations/slides/ezc/eventlog.php <?php require 'ezc-setup.php'; $log = ezcLog::getInstance(); $log->source = $log->category = NULL; // Create writers $warningWriter = new ezcLogUnixFileWriter( "/tmp", "ezc-pres-warning.log", 128 ); $errorWriter = new ezcLogUnixFileWriter( "/tmp", "ezc-pres-error.log", 256 ); // Create filters $warningFilter = new ezcLogFilter; $warningFilter->severity = ezcLog::WARNING; $errorFilter = new ezcLogFilter; $errorFilter->severity = ezcLog::ERROR; $log->getmapper()->appendRule( new ezcLogFilterRule( $warningFilter, $warningWriter, true ) ); $log->getmapper()->appendRule( new ezcLogFilterRule( $errorFilter, $errorWriter, true ) ); // Log messages $log->log( "Oops, this was unexpected.", ezcLog::WARNING ); $log->log( "Oh no, major problem!", ezcLog::ERROR, array( "category" => "SQL" ) ); echo '<font size="6">'; echo 'Warnings<br/>', nl2br( htmlspecialchars( file_get_contents( '/tmp/ezc-pres-warning.log' ) ) ), "<br/>"; echo 'Errors<br/>', nl2br( htmlspecialchars( file_get_contents( '/tmp/ezc-pres-error.log' ) ) ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-archive.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-archive.xml +++ presentations/slides/ezc/example-archive.xml <slide> <title>Archive</title> <example filename='archive.php' result="1"/> <image align="center" filename="archive-logo.jpg" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-cache.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-cache.xml +++ presentations/slides/ezc/example-cache.xml <slide> <title>Cache</title> <example filename='cache.php' result="1"/> <list> <bullet>*FilePlain*: Raw data</bullet> <bullet>*FileArray*: var_export() data, include to restore</bullet> <bullet>*FileEvalArray*: var_export() data, eval() to restore</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-configuration-manager.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-configuration-manager.xml +++ presentations/slides/ezc/example-configuration-manager.xml <slide> <title>Configuration</title> <subtitle>Manager</subtitle> <example filename='configuration-manager.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-configuration-read-write.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-configuration-read-write.xml +++ presentations/slides/ezc/example-configuration-read-write.xml <slide> <title>Configuration</title> <subtitle>Read/Write</subtitle> <example filename='configuration-read-write.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-consoletools-options.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-consoletools-options.xml +++ presentations/slides/ezc/example-consoletools-options.xml <slide> <title>ConsoleTools</title> <subtitle>Script Arguments</subtitle> <example filename='consoletools-option.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-consoletools-progressbar.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-consoletools-progressbar.xml +++ presentations/slides/ezc/example-consoletools-progressbar.xml <?xml version="1.0" encoding="utf-8"?> <slide> <title>ConsoleTools</title> <subtitle>Progressbar</subtitle> <example filename='consoletools-progressbar.php'/> <break/> <image align="center" filename="progressbar.gif" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-consoletools-table.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-consoletools-table.xml +++ presentations/slides/ezc/example-consoletools-table.xml <slide> <title>ConsoleTools</title> <subtitle>Table</subtitle> <example filename='consoletools-table.php'/> <break/> <image align="center" filename="consoletools-table.png" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-database-instance.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-database-instance.xml +++ presentations/slides/ezc/example-database-instance.xml <slide> <title>Database</title> <subtitle>Handlers and Instances</subtitle> <blurb>Supported Handlers:</blurb> <list> <bullet>MySQL</bullet> <bullet>PostGreSQL</bullet> <bullet>Oracle</bullet> <bullet>SQLite</bullet> </list> <blurb>Using Instances:</blurb> <example filename='database.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-database-query.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-database-query.xml +++ presentations/slides/ezc/example-database-query.xml <slide> <title>Database</title> <subtitle>Query Abstraction</subtitle> <example encoding="iso-8859-1" filename='database-query-abstraction.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-eventlog.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-eventlog.xml +++ presentations/slides/ezc/example-eventlog.xml <slide> <title>EventLog</title> <example filename='eventlog.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-execution.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-execution.xml +++ presentations/slides/ezc/example-execution.xml <slide> <title>Execution</title> <example filename='execution.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-imageanalysis.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-imageanalysis.xml +++ presentations/slides/ezc/example-imageanalysis.xml <slide> <title>ImageAnalysis</title> <example filename='imageanalysis.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-imageconversion.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-imageconversion.xml +++ presentations/slides/ezc/example-imageconversion.xml <slide> <title>ImageConversion</title> <example filename='imageconversion.php'/> <break/> <blurb>Result:</blurb> <image filename='nacreous-small.jpg'/> <image filename='nacreous-grey.jpg'/> <break lines="20"/> <blurb> </blurb> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-mail.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-mail.xml +++ presentations/slides/ezc/example-mail.xml <slide> <title>Mail</title> <example filename='mail.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-persistentobject.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-persistentobject.xml +++ presentations/slides/ezc/example-persistentobject.xml <slide> <title>Persistent Object</title> <example encoding="iso-8859-1" filename='persistent-object.php'/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-userinput.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-userinput.xml +++ presentations/slides/ezc/example-userinput.xml <slide> <title>UserInput</title> <example filename='userinput.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/execution.php?view=markup&rev=1.1 Index: presentations/slides/ezc/execution.php +++ presentations/slides/ezc/execution.php <?php require 'ezc-setup.php'; class myExecutionHandler extends ezcExecutionBasicErrorHandler { public static function onError( Exception $exception = NULL ) { echo '<div class="shadow" style="margin: 1em 4em 0.8em 3em;"><div class="output" style="font-size: 1.8em; margin: -0.55555555555556em 0 0 -0.55555555555556em; background: #eeee33;">'; parent::onError( $exception ); } } ezcExecution::init( 'myExecutionHandler' ); //ezcExecution::cleanExit(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/ezc-setup.php?view=markup&rev=1.1 Index: presentations/slides/ezc/ezc-setup.php +++ presentations/slides/ezc/ezc-setup.php <?php require 'ezc/Base/base.php'; function __autoload( $className ) { ezcBase::autoload( $className ); } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/future.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/future.xml +++ presentations/slides/ezc/future.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide> <title>What's Next?</title> <subtitle>Additions for eZ components 1.1</subtitle> <blurb>New components:</blurb> <list> <bullet>*Template*: Well, uh, templating</bullet> <bullet>*DatabaseSchema*: DDL manipulation</bullet> <bullet>*Feed*: RSS/ATOM feeds</bullet> <bullet>*Mail*: Parsing mail</bullet> <bullet>*PersistentObject*: Integration with Database Schema</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/imageanalysis.php?view=markup&rev=1.1 Index: presentations/slides/ezc/imageanalysis.php +++ presentations/slides/ezc/imageanalysis.php <?php require 'ezc-setup.php'; $image = new ezcImageAnalyzer( dirname( __FILE__ ) . '/moon.jpg' ); if ( in_array( $image->mime, array( 'image/tiff', 'image/jpeg' ) ) ) { $date = date( DATE_RFC822, $image->data->date ); $exif = $image->data->exif['EXIF']; $shutterSpeedArray = split( '/', $exif['ExposureTime'] ); $shutterSpeed = "1/" . $shutterSpeedArray[1] / $shutterSpeedArray[0] . " sec"; $apertureArray = split( '/', $exif['FNumber'] ); $aperture = "F" . round( $apertureArray[0] / $apertureArray[1], 1 ); $focalLengthArray = split( "/", $exif['FocalLength'] ); $focalLength = round( $focalLengthArray[0] / $focalLengthArray[1], 2 ) . " mm"; print <<<OUTPUTEND <dl> <di>Photo taken on:</di><dd>$date</dd> <di>Shutter speed:</di><dd>$shutterSpeed</dd> <di>Aperture:</di><dd>$aperture</dd> <di>Focal length:</di><dd>$focalLength</dd> </dl> OUTPUTEND; } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/imageconversion.php?view=markup&rev=1.1 Index: presentations/slides/ezc/imageconversion.php +++ presentations/slides/ezc/imageconversion.php <?php require 'ezc-setup.php'; $dir = dirname( __FILE__ ); // Setup $filters = array(); $settings = new ezcImageConverterSettings( array( new ezcImageHandlerSettings( 'GD', 'ezcImageGdHandler' ) ) ); $converter = new ezcImageConverter( $settings ); // Create transformations $filters[] = new ezcImageFilter( 'scale', array( 'width' => 320, 'height' => 240, 'direction' => ezcImageGeometryFilters::SCALE_DOWN, ) ); $converter->createTransformation( 'preview', $filters, array( 'image/jpeg' ) ); $filters[] = new ezcImageFilter( 'colorspace', array( 'space' => ezcImageColorspaceFilters::COLORSPACE_GREY ) ); $converter->createTransformation( 'prevgrey', $filters, array( 'image/jpeg' ) ); // Apply transformations $converter->transform( 'preview', "$dir/nacreous.jpg", "$dir/nacreous-small.jpg" ); $converter->transform( 'prevgrey', "$dir/nacreous.jpg", "$dir/nacreous-grey.jpg" ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/install-download.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/install-download.xml +++ presentations/slides/ezc/install-download.xml <?xml version="1.0" encoding="utf-8"?> <slide> <title>Installation and Setup</title> <subtitle>Download bundle</subtitle> <blurb>Installation:</blurb> <example><![CDATA[wget http://ez.no/downloads/ezcomponents-1.0.tar.bz2 tar -xjf ezcomponents-1.0.tar.bz2 pwd]]></example> <break lines="3"/> <blurb>Setup:</blurb> <example result='1'><![CDATA[<?php ini_set( 'include_path', '/tmp/ezcomponents-1.0:.' ); require 'Base/src/base.php'; function __autoload( $className ) { ezcBase::autoload( $className ); } ezcBase::checkDependency( 'Test', ezcBase::DEP_PHP_VERSION, '5.1.3' ); ?>]]></example> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/install-pear.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/install-pear.xml +++ presentations/slides/ezc/install-pear.xml <?xml version="1.0" encoding="utf-8"?> <slide> <title>Installation and Setup</title> <subtitle>PEAR Installer</subtitle> <blurb>Installation:</blurb> <example><![CDATA[pear channel-discover components.ez.no pear remote-list -c ezc pear install ezc/ezcomponents]]></example> <break lines="3"/> <blurb>Setup:</blurb> <example result='1'><![CDATA[<?php require 'ezc/Base/base.php'; function __autoload( $className ) { ezcBase::autoload( $className ); } ezcBase::checkDependency( 'Test', ezcBase::DEP_PHP_VERSION, '5.1.3' ); ?>]]></example> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/mail.php?view=markup&rev=1.1 Index: presentations/slides/ezc/mail.php +++ presentations/slides/ezc/mail.php <?php require 'ezc-setup.php'; $dir = dirname( __FILE__ ); $mail = new ezcMailComposer(); $mail->from = new ezcMailAddress( 'john@doe.com', 'John Doe' ); $mail->addTo( new ezcMailAddress( 'dr@ez.no', 'Derick Rethans' ) ); $mail->subject = "Example of an HTML email with attachments"; $mail->plainText = "Here is the text version of the mail. This is displayed if the client can not understand HTML"; $mail->htmlText = <<<ENDHTML <html> Here is the HTML version of your mail with an image: <img src='file://$dir/consoletools-table.png'/> </html> ENDHTML; $mail->addAttachment( "$dir/mail.php" ); $mail->build(); echo "<pre><font size='5'>", htmlspecialchars( $mail->generateHeaders() . $mail->generateBody() ); $transport = new ezcMailTransportSmtp( 'localhost', null, null, 2525 ); //$transport->send( $mail ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/overview.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/overview.xml +++ presentations/slides/ezc/overview.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Overview</title> <image align="center" filename="all_your_base.png" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/persistent-object.php?view=markup&rev=1.1 Index: presentations/slides/ezc/persistent-object.php +++ presentations/slides/ezc/persistent-object.php <?php require 'ezc-setup.php'; $session = new ezcPersistentSession( ezcDbInstance::get(), new ezcPersistentCodeManager( "path/to/definitions" ) ); // Creating New Objects $object = new City(); $object->normalized_name = "dieren"; $object->name = 'Dieren'; $object->country = 'NL'; $session->save( $object ); // Finding Objects $q = $session->createFindQuery( 'City' ); $q->where( $sq->expr->like( 'name', $sq->bindValue( 'oslo%' ) ) ) ->orderBy( 'country', 'name' ) ->limit( 10 ); $objects = $session->findIterator( $q, 'City' ); foreach ( $objects as $object ) { // ... } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/questions.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/questions.xml +++ presentations/slides/ezc/questions.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide> <title>Questions and Resources</title> <blurb>Questions anybody?</blurb> <break lines="5"/> <blurb>Resources:</blurb> <list> <bullet>*Download*: http://ez.no/download/ez_components</bullet> <bullet>*Documentation*: http://ez.no/doc/components/overview</bullet> <bullet>*Mailinglist*: http://lists.ez.no/mailman/listinfo/components</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/test-archive.zip?view=markup&rev=1.1 Index: presentations/slides/ezc/test-archive.zip +++ presentations/slides/ezc/test-archive.zip PK ÄÀ1Xß ´aö0ï[ª~~ø@fûUú§%'=ã/ú¾vcè?-ZûZùýJ[¿*9Bh?Xèß+3ºþo4¿7Áÿ¿o¿lX¸/ýóiîwù?ǯq^G»³(,4ôW Ë_¾ÃlöpÙð¿ÖúSÌÃa?:@þüÕ÷¿Ëßm¿òþÙ¯- `eb"éÄ@ýýa¾>~¦_;CHô,4Ñ`+SI Å0Ú~ýÂÿs§ò I:þ¨0´¤C àÙ_/L¼Üܼ|¼øøñññ í)>¡)ÿ èo YÅ7¹}°JÈ»8owÁá¥9ѹOwÖ>#k³è ¿ÁG©ï£<ÔÎÊÏHm°ucºßôxUn}í°ÜÔ®÷ðNXó;â½&úÞ)7¥wpϮۼ¶dj+ö¯¡J»§Vh6º)#Ñ#7¬>%Î'»ã|Gôä'g]©×S¾bïX|IK«çL@ÃÑ7¨øául±ÄoÅ$Ò3{rx£]ÛcDo£e ·¬Ò^͸ÓçÅs¹Ú˦>1q*;×m;û|s»±?¤uaô¾0¹??æ¶y7ºRµC7¢%P4©§)ñGãY´xÇWN;%>Ùî×*ÄÌ´%úæÔîh6)+åÛ)ëÙÈj|ýpET¿`cÿîÄ[Ùt`AÞp¡þQiËG6(¤Ècaòlúǯ6vcw)ñådÇKm¶ìÄÄðî6WïògÔ<)1vüYPq(^ñUYWÉüLÚy÷Ò :`ÏC4#Ú;@/+Õô#±®×CK*ºÆ»Ä@óÃN¶µ*ùÕ+¤è >·æcö{ZdyÐ*ç÷f¹ð9Müòssq 2If>tÂÜ¥Î%ñ¨àjá¦Ïog*ªÂÔ¨Z rÖ=: ÷ QW?¹¹Ã¡¸ù~'Z"°©¤F%cg³¢oí¯Á-g\ø kλ³o9vV#6Á>JdÿÊ@禢ÙGÊé<*®<:G¬ëeÓ°¡¹>bHë#öî$£ ò+Q¿ ÃÇ4+ëf_ÒŹᣲI:z>#*];Ö&tQ$ÊW0 Î¥AÊYãÚ,4¾ÒnËs;z¸´GÔ}D·Úméäs¦¼Jߤ#ÍèÇ»¯,D=éRÑq·ßì|»\]ÿá|öRXox©<fæóοg½|ÿÛºJO¾ïæ3oÃ.´ÿ#76÷za{¨Ñvi[ì1>C+«£^|8ÚKÉøN9뽤º0\[Gù\×½|OúØ+ïònHc{\´TÎvõò7V ê»âUFgHu"Ø¢ríb÷¹²iêz¥7$¶")R«2Üüt&ëûÚa¯ÕuÎ1º}Ñjݸ®Ç®¥ ÔFxç;:ÐZ>½ ¤kôº7òZ¼r¦§1çùtÖ$¯D×jÜÃlñq pö+[%ñôþ¯! ïåe¼½&Æ}ÐÞCY%hå¤Ìí¦´ùJ,B¡BË["sRÛÍ´)®Ö° ·dü4ئVÝ@5ÿ_Ð?¾ ÷YõÒÊ»&:Jý¥ðUMÕÌV^Ò#~g ÍSMV²å`ðå(ÀÐâÏÿ/-áªIfúÈ>[:ìE3~>¨ `(îcÂ%áH¿=r8þäß ¿^XÛ9²°}RÿÛ¥¸¢º®ÑEÊO¦bee¬ úë°põ<1[Ht¢zÎËB-}ÇOÛy®jÈhÄ$ÙË>õ©heG´¦L¯:$sìAÓ6;,ïqÔYËl;¡Ð?½~=%¯ê_!ÿ³ÿGÌÿä%÷ÑVOÃëíc§©kP$: DÂæÆLSQÅ.}ûê ¶ÄÃeñð¼þ«Þñô§JÝF=±sZµqílw.C®*Ðä´ùïtàKɹfÈp$oáüø%ÅüEíêØ×ÜÁwí.9ZÖ{${ÑbG`&kbrýÜem_éÍý ¥.ª6/£ K¸Su7ÙY9X?ðÙvÜÎÍGè&¤æÄ!8'ëbùKUæÇ|=¯~õTé\%xu½KÎPxíÚº)¸£Þo:aaiÕÊT9 Îįù×?4þ!¿}!³ÈpH»wÌ9íâq,ænpÔ¨§ëÛ1÷8:î4S¨I*Ä+àµ`Ҫضî£c<Ú]J¿W÷%Ãˬñ7Ûh»t@þ^ãnÞî`Su)ì£ýÙ%ó»aAOAY¤×`]b8üÒ!Gä ÜÞsÌmÑ_%vØ4A/,y©Kî.ìäspOXH÷³-´{B~£Æ¥ä.¿¦,6ÎHåüzá¤i[ÓFȳ·w½h®4Ô¢Sz®G@\PÕDånìÇÓ/wµ&¥OôÑÈܦfÅfÍd«óäî6,v!BIoy~?!uö}U \d"c8§áý ¡^y¯$~|U-íí^ª*/"<[ïMضo~HÐ (¢ÔãKQåü¥n ݨ¡@R/úÇØ z ¹ö)@$I[&-LØCSÖy¾£}ÍD<m±ÿ8û5Ö oîÂ=?R+tvBÇx'Sݾó»³Òd¹"Ú±¬E¸ÌÕ} xE7ÃCÏ¿}5ô3 Áô*Ö¡Ô ½/zäÒpj¢pÙñg!|!!P¸0'oH¤¤l,¾Ï±zHSÒߪÕÉÎ8,<<¿EZqDf^L5!_ɲiÈsöCZ$ßd¼ÖÙYr$×*÷+ý±1¢Ç'Å $<.fôJ@¼ü$ÂEjó'jåD·òy,¸§\åз'/bJÇ|ê±OÈŪy#Õ¦%gSG:N$¨5;ÃÔæ'iMÙºæ©ÕÁKu×[«Ø/÷!j'ó6¶L×^ÞÒʼõi×Ëî!é)ȨÑßÂúâ²¼^õ¥j[ ¼¿9Ä=}÷ûqZ"höÕÀýöѾÃ}iËîVÇWYç¬Lί¡;CHý0fá¦`ð¬¦:ãÐRT9]Õ>´ÞSÊÿÿI,U/[¬A:[6·4Iw¼Î?¬§=k*êl½ë©¡'&ãÃÚÛúì¸oä¶ûñÌÃà÷УN ÝfBúuÁIþjáZ§â¶fÐsöÑ©¹æU%îíÏ'ô±ñí¢^ÜaÿÑ·;FK¯÷:á!¡j8íW9ÛåÆ<~4KRÄoÑ9ìVNe®KK~°°ö.M¬|æ1YHäOH¾¡5løww§® ã/¾02OÑm¼gtzÑ¿.Ò<+yÛHH°JîãÿaµJÉöÙx1ýNµ¸e;3ǺÌ%ò4þîpE\[ùøRÌ!ï±á¡ÉÕÉ á³Aú6§ìî¹ÃÔGÝõ¨qE'ÃMû5*dîÊ(´mÞïüÀk Uíi<¹\^žæ7AÆ(äÜVîR²l¸âK@ÔV+¥[HË&N]òeõ5iÃßO40öݤή Ü;~új44,ÖRæN.¹GKÓ-ÂU桱Ëð]!!;yêl³¸Úu9yJÌ'§[+|<@yÙée°Ìýn|Ú·¢Õf}Íþô/ÉJáöw®ú@f #|gID:]5V¬t»F8ðÙÒ¤ç2|y ~²âV¨ÝT vd#vnêÄ- céeú[Ï.êQ7áõÌæ[uj¸lmÛÐDW×Ñ7ë>~\rYìªÂ ;ª©ýQ³0\u´#¿úé&án)!|ºcp<ÛL^}é±8¦³ap« ±ï øMÉ-jöÙÔþ´*RµG}<!ÇwÕliØÉÑïmªÝºJÍ^cæÏ#¸®iæÏMSz^ã³wû®¿IVÉNYc6¸ùè]¼ äðV1ç [¡_ànØchh$;±|å²_gUqAïu!.Ç>{ÂA«Uòe/¥F SÅÒ¶ÆÖ¨^£³±4:HO¤XùwR§¼ lU¢,±%Õ°Ùøþ·]|¾³ÀnÛ*-}JéSï³<Ê?'@êý黯ع<~¼íÇ~î74Ë<øxÖ1&$6*hÍ4g4gëÐGþPK $øÚ¯®Æ_¼JmO%o:{Æaa}mØa8A4 &B(ø-ØÖÂV¤ÙssGÜÉòèUV?~õ¦»<"ôT.ÀoÚ;¡qé]Göà ÇÀ_!-d¤¦àHãß(ÓRËÑ"ä7« >Ò$q-úuì@Gwjð0oñ³øâCÓ3n [$!bÄÀ±Lxeëé9.^Ò,1¤}5¸;1Ç<Ü'ÿ¾ÇÚèèd&' Wz¿ûȦA;zÂ]OåâXüë·sé¶^ÅyG½e]±¹û= ÃahOïóG×\,Í»<é° ÃiÃ¥ÈÞAüR.±¥K`ºëæÈ# 1J9a¸s+x,K ^¦ktÐCÙþ+pm s7à Aâ9íκøÃøµ{ù°V¡BäçcvCX8a¸s+ø;ÆG}~[ÂT°[tfõï÷m#µú)ÀRàxØÅî5ñ$4äw7èpÅ3tÂpæÁàÙlFÁ÷°ñ| sú°ß×C#¾È°²æèÎ[À`®ìñÇË0jx8pOAAf¨zÈøú`2!÷c»Jµ!t6éÂ;:ýWì¾÷Ç0\yðä*:R÷Å¥ôÑ×W¤a¶lÊ®?ÅÁ[¼Bwâ?'a¼!±Ö缾mì¡>LVðèZ©¾>¿øè8x;aú s·É2öW£ÀäªÐꤼFøtæÄd¾uáÕÅ£w¿¯VÑ£s´Z'ah=ÞÊÏ Ã¾ê¿fÝ*ÅE41²1wSÝз3þÌðT®ÇÆ©ù9aøÁ×h¥àßÁ®èJÙ {¿s7äW¾½Ð8ð&\¹o§æçá?VçÓ.³#îJ>ÔFæ?©Ò5îP6tGøxæîÝÿ8ðæ8WFñ¨8 ?øjÚc6ؽWñÉ®Ó÷ô6±ÙI4ï÷Uà http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/title-ezc.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/title-ezc.xml +++ presentations/slides/ezc/title-ezc.xml <slide fontsize="3.5em"> <title>Welcome!</title> <image align="center" filename="components.png" /> <break lines="3"/> <blurb class="event">RAD for PHP</blurb> <break/> <blurb class="event-date">PHP Conference UK. London, UK</blurb> <break/> <blurb class="event-presenter">Derick Rethans &lt;<a href="mailto:dr@ez.no">dr@ez.no</a>&gt;</blurb> <break/> <blurb class="pres-url-small"><a href="http://files.derickrethans.nl/ezc-phpuk6.pdf">http://files.derickrethans.nl/ezc-phpuk6.pdf</a></blurb> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/userinput.php?view=markup&rev=1.1 Index: presentations/slides/ezc/userinput.php +++ presentations/slides/ezc/userinput.php <?php require 'ezc-setup.php'; if ( ezcInputForm::hasGetData() ) { $definition = array( 'test' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::REQUIRED, 'int' ), 'test2' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::REQUIRED, 'number_int' ), ); try { $form = new ezcInputForm( INPUT_GET, $definition ); echo $form->test, "\n"; echo $form->test2, "\n"; } catch ( ezcInputFormException $e ) { die( $e->getMessage() ); } } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cfg/example.ini?view=markup&rev=1.1 Index: presentations/slides/ezc/cfg/example.ini +++ presentations/slides/ezc/cfg/example.ini # Comment for the section [db] # This is ofcourse not my real password... password=noneofyourbusiness http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cfg/example.php?view=markup&rev=1.1 Index: presentations/slides/ezc/cfg/example.php +++ presentations/slides/ezc/cfg/example.php <?php return array ( 'settings' => array ( 'db' => array ( 'password' => 'noneofyourbusiness', ), ), 'comments' => array ( 'db' => array ( '#' => ' Comment for the section', 'password' => ' This is ofcourse not my real password...', ), ), ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cfg/example2.ini?view=markup&rev=1.1 Index: presentations/slides/ezc/cfg/example2.ini +++ presentations/slides/ezc/cfg/example2.ini sadufi87678&^%*^ [db] password=noneofyourbusiness
http://cvs.php.net/viewcvs.cgi/presentations/slides/i18nl10n/when.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/i18nl10n/when.xml diff -u presentations/slides/i18nl10n/when.xml:1.1 presentations/slides/i18nl10n/when.xml:1.2 --- presentations/slides/i18nl10n/when.xml:1.1 Mon Sep 12 10:01:32 2005 +++ presentations/slides/i18nl10n/when.xml Wed Feb 8 08:42:21 2006 @@ -5,6 +5,6 @@ <list> <bullet>When it is ready.</bullet> <bullet>Development version is in CVS.</bullet> - <bullet>Release: hopefully this year.</bullet> + <bullet>Release: hopefully next year.</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/perf/ezp.png?r1=1.4&r2=1.5&diff_format=u Index: presentations/slides/perf/ezp.png http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/documentation.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/documentation.xml diff -u presentations/slides/toolbox/documentation.xml:1.1 presentations/slides/toolbox/documentation.xml:1.2 --- presentations/slides/toolbox/documentation.xml:1.1 Wed Sep 14 16:39:05 2005 +++ presentations/slides/toolbox/documentation.xml Wed Feb 8 08:42:21 2006 @@ -7,11 +7,11 @@ <bullet>Makes a library usable</bullet> <bullet>API documentation</bullet> <bullet>Examples</bullet> - <bullet>Test Cases</bullet> + <bullet>Tutorials</bullet> </list> <break lines="2"/> - <blurb>PHP Documentator:</blurb> + <blurb>PHP Documentor:</blurb> <list> <bullet>Made for PHP</bullet> <bullet>In use by PEAR</bullet> http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/goals-library.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/goals-library.xml diff -u presentations/slides/toolbox/goals-library.xml:1.1 presentations/slides/toolbox/goals-library.xml:1.2 --- presentations/slides/toolbox/goals-library.xml:1.1 Wed Sep 14 16:39:05 2005 +++ presentations/slides/toolbox/goals-library.xml Wed Feb 8 08:42:21 2006 @@ -7,6 +7,7 @@ <bullet>Clean and simple API</bullet> <bullet>Keep backward compatibility for longer periods of time</bullet> <bullet>Stable and few regressions</bullet> + <bullet>Clean IP, Open Source friendly</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/goals-process.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/goals-process.xml diff -u presentations/slides/toolbox/goals-process.xml:1.1 presentations/slides/toolbox/goals-process.xml:1.2 --- presentations/slides/toolbox/goals-process.xml:1.1 Wed Sep 14 16:39:05 2005 +++ presentations/slides/toolbox/goals-process.xml Wed Feb 8 08:42:21 2006 @@ -4,10 +4,10 @@ <list> <bullet>Move to PHP 5</bullet> - <bullet>Thoroughly plan the product to get a top notch API for the library.</bullet> - <bullet>Thoroughly tested. All code should be covered by unit tests PRIOR to implementation.</bullet> + <bullet>Thoroughly plan the product to get a top notch API for the library</bullet> + <bullet>Thoroughly tested. All code should be covered by unit tests PRIOR to implementation</bullet> <bullet>Make sure we keep the product open enough for future development</bullet> - <bullet>Do proper documentation during the development.</bullet> + <bullet>Do proper documentation during the development</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/toolbox/tie-in.png?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/toolbox/tie-in.png http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/.cvsignore?view=markup&rev=1.1 Index: presentations/slides/ezc/.cvsignore +++ presentations/slides/ezc/.cvsignore *.swp http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/archive.php?view=markup&rev=1.1 Index: presentations/slides/ezc/archive.php +++ presentations/slides/ezc/archive.php <?php require 'ezc-setup.php'; $archive = ezcArchive::open( dirname( __FILE__ ) . '/test-archive.zip' ); foreach( $archive as $entry ) { if ( $entry->getPath() == 'archive-logo.jpg' ) { $dir = dirname( __FILE__ ); echo "Extracting {$entry->getPath()} to $dir.<br/><br/>\n"; $archive->extractCurrent( $dir ); } echo $entry, "\n"; } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cache.php?view=markup&rev=1.1 Index: presentations/slides/ezc/cache.php +++ presentations/slides/ezc/cache.php <?php require 'ezc-setup.php'; @mkdir( '/tmp/temp-location' ); ezcCacheManager::createCache( 'identifier', '/tmp/temp-location', 'ezcCacheStorageFileEvalArray', array( 'ttl' => 30 ) ); $cache = ezcCacheManager::getCache( 'identifier' ); $myId = 'unique_id_1'; if ( ( $data = $cache->restore( $myId ) ) === false ) { $data = "Plain cache stored on " . date( 'Y-m-d, H:i:s' ); $cache->store( $myId, $data ); } echo $data; http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/configuration-manager.php?view=markup&rev=1.1 Index: presentations/slides/ezc/configuration-manager.php +++ presentations/slides/ezc/configuration-manager.php <?php require 'ezc-setup.php'; $cfg = ezcConfigurationManager::getInstance(); $cfg->init( 'ezcConfigurationIniReader', dirname( __FILE__ ). '/cfg' ); $pw = $cfg->getSetting( 'example', 'db', 'password' ); echo "The password is '$pw'.\n"; ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/configuration-read-write.php?view=markup&rev=1.1 Index: presentations/slides/ezc/configuration-read-write.php +++ presentations/slides/ezc/configuration-read-write.php <?php require 'ezc-setup.php'; $reader = new ezcConfigurationIniReader(); $reader->init( dirname( __FILE__ ). '/cfg', 'example2' ); // Validation $result = $reader->validate(); foreach ( $result->getResultList() as $resultItem ) { echo htmlspecialchars( basename( $resultItem->file ) . ":" . $resultItem->line . ":" . $resultItem->column . ":" . " " . $resultItem->details . "\n" ); } // Reading $reader->init( dirname( __FILE__ ). '/cfg', 'example' ); $cfg = $reader->load(); // Writing $writer = new ezcConfigurationArrayWriter(); $writer->init( dirname( __FILE__ ). '/cfg', 'example', $cfg ); $writer->save(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/consoletools-option.php?view=markup&rev=1.1 Index: presentations/slides/ezc/consoletools-option.php +++ presentations/slides/ezc/consoletools-option.php <?php require 'ezc-setup.php'; $optionHandler = new ezcConsoleInput(); $file = new ezcConsoleOption( 'f', 'file', ezcConsoleInput::TYPE_STRING ); $file->mandatory = true; $optionHandler->registerOption( $file ); try { $optionHandler->process(); } catch ( ezcConsoleException $e ) { die( $e->getMessage() ); } echo "Processing file: ", $optionHandler->getOption( 'f' )->value, "\n"; ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/consoletools-progressbar.php?view=markup&rev=1.1 Index: presentations/slides/ezc/consoletools-progressbar.php +++ presentations/slides/ezc/consoletools-progressbar.php <?php require 'ezc-setup.php'; $max = 23; $output = new ezcConsoleOutput; $output->formats->bar->color = 'red'; $output->formats->bar->style = array( 'bold' ); $options = array( 'emptyChar' => ' ', 'barChar' => '-', 'formatString' => '%act% / %max% [' . $output->formatText( '%bar%', 'bar' ). '] %fraction%%', ); $progress = new ezcConsoleProgressbar( $output, $max, $options ); for ( $i = 0; $i < $max; $i++ ) { usleep( 20000 ); $progress->advance(); } $progress->finish(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/consoletools-table.php?view=markup&rev=1.1 Index: presentations/slides/ezc/consoletools-table.php +++ presentations/slides/ezc/consoletools-table.php <?php require 'ezc-setup.php'; $out = new ezcConsoleOutput; $out->formats->headline->color = 'red'; $out->formats->headline->style = array( 'bold' ); $table = new ezcConsoleTable( $out, 60 ); $table[0]->format = 'headline'; $table[0]->borderFormat = 'headline'; $table[0][0]->content = 'Headline 1'; $table[0][1]->content = 'Headline 2'; $table[1][0]->content = "The next cell will wrap:"; $table[1][1]->content = <<<END If there is a lot of text in a specific cell then the ezcConsoleTable will correctly wrap around. END; $table[1][1]->align = ezcConsoleTable::ALIGN_RIGHT; $table->outputTable(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/database-query-abstraction.php?view=markup&rev=1.1 Index: presentations/slides/ezc/database-query-abstraction.php +++ presentations/slides/ezc/database-query-abstraction.php <?php require 'ezc-setup.php'; $db = ezcDbFactory::create( 'mysql://root@localhost/geolocation' ); $sq = $db->createSelectQuery(); $stmt = $sq->select( 'name', 'country', 'lat', 'lon' ) ->from( 'city' ) ->where( $sq->expr->like( 'normalized_name', $sq->bindValue( 'oslo%' ) ) ) ->orderBy( 'country', 'name' ) ->prepare(); $stmt->execute(); foreach ( $stmt as $entry ) { list( $name, $country, $lat, $lon ) = $entry; printf( '%s, %s is @ %.2f%s %.2f%s<br/>', $name, $country, abs( $lat ), ($lat > 0 ? "N" :"S" ), abs( $lon ), ( $lon > 0 ? "E" : "W" ) ); } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/database.php?view=markup&rev=1.1 Index: presentations/slides/ezc/database.php +++ presentations/slides/ezc/database.php <?php require 'ezc-setup.php'; $db1 = ezcDbFactory::create( 'mysql://root@localhost/ezc' ); ezcDbInstance::set( $db1, 'ezc' ); $trunk = ezcDbFactory::create( 'mysql://root@localhost/eztrunk' ); ezcDbInstance::set( $trunk, 'ezt' ); $db = ezcDbInstance::get( 'ezt' ); echo $db->getName(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/eventlog.php?view=markup&rev=1.1 Index: presentations/slides/ezc/eventlog.php +++ presentations/slides/ezc/eventlog.php <?php require 'ezc-setup.php'; $log = ezcLog::getInstance(); $log->source = $log->category = NULL; // Create writers $warningWriter = new ezcLogUnixFileWriter( "/tmp", "ezc-pres-warning.log", 128 ); $errorWriter = new ezcLogUnixFileWriter( "/tmp", "ezc-pres-error.log", 256 ); // Create filters $warningFilter = new ezcLogFilter; $warningFilter->severity = ezcLog::WARNING; $errorFilter = new ezcLogFilter; $errorFilter->severity = ezcLog::ERROR; $log->getmapper()->appendRule( new ezcLogFilterRule( $warningFilter, $warningWriter, true ) ); $log->getmapper()->appendRule( new ezcLogFilterRule( $errorFilter, $errorWriter, true ) ); // Log messages $log->log( "Oops, this was unexpected.", ezcLog::WARNING ); $log->log( "Oh no, major problem!", ezcLog::ERROR, array( "category" => "SQL" ) ); echo '<font size="6">'; echo 'Warnings<br/>', nl2br( htmlspecialchars( file_get_contents( '/tmp/ezc-pres-warning.log' ) ) ), "<br/>"; echo 'Errors<br/>', nl2br( htmlspecialchars( file_get_contents( '/tmp/ezc-pres-error.log' ) ) ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-archive.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-archive.xml +++ presentations/slides/ezc/example-archive.xml <slide> <title>Archive</title> <example filename='archive.php' result="1"/> <image align="center" filename="archive-logo.jpg" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-cache.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-cache.xml +++ presentations/slides/ezc/example-cache.xml <slide> <title>Cache</title> <example filename='cache.php' result="1"/> <list> <bullet>*FilePlain*: Raw data</bullet> <bullet>*FileArray*: var_export() data, include to restore</bullet> <bullet>*FileEvalArray*: var_export() data, eval() to restore</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-configuration-manager.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-configuration-manager.xml +++ presentations/slides/ezc/example-configuration-manager.xml <slide> <title>Configuration</title> <subtitle>Manager</subtitle> <example filename='configuration-manager.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-configuration-read-write.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-configuration-read-write.xml +++ presentations/slides/ezc/example-configuration-read-write.xml <slide> <title>Configuration</title> <subtitle>Read/Write</subtitle> <example filename='configuration-read-write.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-consoletools-options.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-consoletools-options.xml +++ presentations/slides/ezc/example-consoletools-options.xml <slide> <title>ConsoleTools</title> <subtitle>Script Arguments</subtitle> <example filename='consoletools-option.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-consoletools-progressbar.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-consoletools-progressbar.xml +++ presentations/slides/ezc/example-consoletools-progressbar.xml <?xml version="1.0" encoding="utf-8"?> <slide> <title>ConsoleTools</title> <subtitle>Progressbar</subtitle> <example filename='consoletools-progressbar.php'/> <break/> <image align="center" filename="progressbar.gif" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-consoletools-table.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-consoletools-table.xml +++ presentations/slides/ezc/example-consoletools-table.xml <slide> <title>ConsoleTools</title> <subtitle>Table</subtitle> <example filename='consoletools-table.php'/> <break/> <image align="center" filename="consoletools-table.png" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-database-instance.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-database-instance.xml +++ presentations/slides/ezc/example-database-instance.xml <slide> <title>Database</title> <subtitle>Handlers and Instances</subtitle> <blurb>Supported Handlers:</blurb> <list> <bullet>MySQL</bullet> <bullet>PostGreSQL</bullet> <bullet>Oracle</bullet> <bullet>SQLite</bullet> </list> <blurb>Using Instances:</blurb> <example filename='database.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-database-query.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-database-query.xml +++ presentations/slides/ezc/example-database-query.xml <slide> <title>Database</title> <subtitle>Query Abstraction</subtitle> <example encoding="iso-8859-1" filename='database-query-abstraction.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-eventlog.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-eventlog.xml +++ presentations/slides/ezc/example-eventlog.xml <slide> <title>EventLog</title> <example filename='eventlog.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-execution.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-execution.xml +++ presentations/slides/ezc/example-execution.xml <slide> <title>Execution</title> <example filename='execution.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-imageanalysis.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-imageanalysis.xml +++ presentations/slides/ezc/example-imageanalysis.xml <slide> <title>ImageAnalysis</title> <example filename='imageanalysis.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-imageconversion.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-imageconversion.xml +++ presentations/slides/ezc/example-imageconversion.xml <slide> <title>ImageConversion</title> <example filename='imageconversion.php'/> <break/> <blurb>Result:</blurb> <image filename='nacreous-small.jpg'/> <image filename='nacreous-grey.jpg'/> <break lines="20"/> <blurb> </blurb> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-mail.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-mail.xml +++ presentations/slides/ezc/example-mail.xml <slide> <title>Mail</title> <example filename='mail.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-persistentobject.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-persistentobject.xml +++ presentations/slides/ezc/example-persistentobject.xml <slide> <title>Persistent Object</title> <example encoding="iso-8859-1" filename='persistent-object.php'/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/example-userinput.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/example-userinput.xml +++ presentations/slides/ezc/example-userinput.xml <slide> <title>UserInput</title> <example filename='userinput.php' result="1"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/execution.php?view=markup&rev=1.1 Index: presentations/slides/ezc/execution.php +++ presentations/slides/ezc/execution.php <?php require 'ezc-setup.php'; class myExecutionHandler extends ezcExecutionBasicErrorHandler { public static function onError( Exception $exception = NULL ) { echo '<div class="shadow" style="margin: 1em 4em 0.8em 3em;"><div class="output" style="font-size: 1.8em; margin: -0.55555555555556em 0 0 -0.55555555555556em; background: #eeee33;">'; parent::onError( $exception ); } } ezcExecution::init( 'myExecutionHandler' ); //ezcExecution::cleanExit(); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/ezc-setup.php?view=markup&rev=1.1 Index: presentations/slides/ezc/ezc-setup.php +++ presentations/slides/ezc/ezc-setup.php <?php require 'ezc/Base/base.php'; function __autoload( $className ) { ezcBase::autoload( $className ); } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/future.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/future.xml +++ presentations/slides/ezc/future.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide> <title>What's Next?</title> <subtitle>Additions for eZ components 1.1</subtitle> <blurb>New components:</blurb> <list> <bullet>*Template*: Well, uh, templating</bullet> <bullet>*DatabaseSchema*: DDL manipulation</bullet> <bullet>*Feed*: RSS/ATOM feeds</bullet> <bullet>*Mail*: Parsing mail</bullet> <bullet>*PersistentObject*: Integration with Database Schema</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/imageanalysis.php?view=markup&rev=1.1 Index: presentations/slides/ezc/imageanalysis.php +++ presentations/slides/ezc/imageanalysis.php <?php require 'ezc-setup.php'; $image = new ezcImageAnalyzer( dirname( __FILE__ ) . '/moon.jpg' ); if ( in_array( $image->mime, array( 'image/tiff', 'image/jpeg' ) ) ) { $date = date( DATE_RFC822, $image->data->date ); $exif = $image->data->exif['EXIF']; $shutterSpeedArray = split( '/', $exif['ExposureTime'] ); $shutterSpeed = "1/" . $shutterSpeedArray[1] / $shutterSpeedArray[0] . " sec"; $apertureArray = split( '/', $exif['FNumber'] ); $aperture = "F" . round( $apertureArray[0] / $apertureArray[1], 1 ); $focalLengthArray = split( "/", $exif['FocalLength'] ); $focalLength = round( $focalLengthArray[0] / $focalLengthArray[1], 2 ) . " mm"; print <<<OUTPUTEND <dl> <di>Photo taken on:</di><dd>$date</dd> <di>Shutter speed:</di><dd>$shutterSpeed</dd> <di>Aperture:</di><dd>$aperture</dd> <di>Focal length:</di><dd>$focalLength</dd> </dl> OUTPUTEND; } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/imageconversion.php?view=markup&rev=1.1 Index: presentations/slides/ezc/imageconversion.php +++ presentations/slides/ezc/imageconversion.php <?php require 'ezc-setup.php'; $dir = dirname( __FILE__ ); // Setup $filters = array(); $settings = new ezcImageConverterSettings( array( new ezcImageHandlerSettings( 'GD', 'ezcImageGdHandler' ) ) ); $converter = new ezcImageConverter( $settings ); // Create transformations $filters[] = new ezcImageFilter( 'scale', array( 'width' => 320, 'height' => 240, 'direction' => ezcImageGeometryFilters::SCALE_DOWN, ) ); $converter->createTransformation( 'preview', $filters, array( 'image/jpeg' ) ); $filters[] = new ezcImageFilter( 'colorspace', array( 'space' => ezcImageColorspaceFilters::COLORSPACE_GREY ) ); $converter->createTransformation( 'prevgrey', $filters, array( 'image/jpeg' ) ); // Apply transformations $converter->transform( 'preview', "$dir/nacreous.jpg", "$dir/nacreous-small.jpg" ); $converter->transform( 'prevgrey', "$dir/nacreous.jpg", "$dir/nacreous-grey.jpg" ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/install-download.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/install-download.xml +++ presentations/slides/ezc/install-download.xml <?xml version="1.0" encoding="utf-8"?> <slide> <title>Installation and Setup</title> <subtitle>Download bundle</subtitle> <blurb>Installation:</blurb> <example><![CDATA[wget http://ez.no/downloads/ezcomponents-1.0.tar.bz2 tar -xjf ezcomponents-1.0.tar.bz2 pwd]]></example> <break lines="3"/> <blurb>Setup:</blurb> <example result='1'><![CDATA[<?php ini_set( 'include_path', '/tmp/ezcomponents-1.0:.' ); require 'Base/src/base.php'; function __autoload( $className ) { ezcBase::autoload( $className ); } ezcBase::checkDependency( 'Test', ezcBase::DEP_PHP_VERSION, '5.1.3' ); ?>]]></example> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/install-pear.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/install-pear.xml +++ presentations/slides/ezc/install-pear.xml <?xml version="1.0" encoding="utf-8"?> <slide> <title>Installation and Setup</title> <subtitle>PEAR Installer</subtitle> <blurb>Installation:</blurb> <example><![CDATA[pear channel-discover components.ez.no pear remote-list -c ezc pear install ezc/ezcomponents]]></example> <break lines="3"/> <blurb>Setup:</blurb> <example result='1'><![CDATA[<?php require 'ezc/Base/base.php'; function __autoload( $className ) { ezcBase::autoload( $className ); } ezcBase::checkDependency( 'Test', ezcBase::DEP_PHP_VERSION, '5.1.3' ); ?>]]></example> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/mail.php?view=markup&rev=1.1 Index: presentations/slides/ezc/mail.php +++ presentations/slides/ezc/mail.php <?php require 'ezc-setup.php'; $dir = dirname( __FILE__ ); $mail = new ezcMailComposer(); $mail->from = new ezcMailAddress( 'john@doe.com', 'John Doe' ); $mail->addTo( new ezcMailAddress( 'dr@ez.no', 'Derick Rethans' ) ); $mail->subject = "Example of an HTML email with attachments"; $mail->plainText = "Here is the text version of the mail. This is displayed if the client can not understand HTML"; $mail->htmlText = <<<ENDHTML <html> Here is the HTML version of your mail with an image: <img src='file://$dir/consoletools-table.png'/> </html> ENDHTML; $mail->addAttachment( "$dir/mail.php" ); $mail->build(); echo "<pre><font size='5'>", htmlspecialchars( $mail->generateHeaders() . $mail->generateBody() ); $transport = new ezcMailTransportSmtp( 'localhost', null, null, 2525 ); //$transport->send( $mail ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/overview.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/overview.xml +++ presentations/slides/ezc/overview.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Overview</title> <image align="center" filename="all_your_base.png" pdf-scale="0.8" y-offset="4"/> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/persistent-object.php?view=markup&rev=1.1 Index: presentations/slides/ezc/persistent-object.php +++ presentations/slides/ezc/persistent-object.php <?php require 'ezc-setup.php'; $session = new ezcPersistentSession( ezcDbInstance::get(), new ezcPersistentCodeManager( "path/to/definitions" ) ); // Creating New Objects $object = new City(); $object->normalized_name = "dieren"; $object->name = 'Dieren'; $object->country = 'NL'; $session->save( $object ); // Finding Objects $q = $session->createFindQuery( 'City' ); $q->where( $sq->expr->like( 'name', $sq->bindValue( 'oslo%' ) ) ) ->orderBy( 'country', 'name' ) ->limit( 10 ); $objects = $session->findIterator( $q, 'City' ); foreach ( $objects as $object ) { // ... } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/questions.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/questions.xml +++ presentations/slides/ezc/questions.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide> <title>Questions and Resources</title> <blurb>Questions anybody?</blurb> <break lines="5"/> <blurb>Resources:</blurb> <list> <bullet>*Download*: http://ez.no/download/ez_components</bullet> <bullet>*Documentation*: http://ez.no/doc/components/overview</bullet> <bullet>*Mailinglist*: http://lists.ez.no/mailman/listinfo/components</bullet> </list> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/test-archive.zip?view=markup&rev=1.1 Index: presentations/slides/ezc/test-archive.zip +++ presentations/slides/ezc/test-archive.zip PK ÄÀ1Xß ´aö0ï[ª~~ø@fûUú§%'=ã/ú¾vcè?-ZûZùýJ[¿*9Bh?Xèß+3ºþo4¿7Áÿ¿o¿lX¸/ýóiîwù?ǯq^G»³(,4ôW Ë_¾ÃlöpÙð¿ÖúSÌÃa?:@þüÕ÷¿Ëßm¿òþÙ¯- `eb"éÄ@ýýa¾>~¦_;CHô,4Ñ`+SI Å0Ú~ýÂÿs§ò I:þ¨0´¤C àÙ_/L¼Üܼ|¼øøñññ í)>¡)ÿ èo YÅ7¹}°JÈ»8owÁá¥9ѹOwÖ>#k³è ¿ÁG©ï£<ÔÎÊÏHm°ucºßôxUn}í°ÜÔ®÷ðNXó;â½&úÞ)7¥wpϮۼ¶dj+ö¯¡J»§Vh6º)#Ñ#7¬>%Î'»ã|Gôä'g]©×S¾bïX|IK«çL@ÃÑ7¨øául±ÄoÅ$Ò3{rx£]ÛcDo£e ·¬Ò^͸ÓçÅs¹Ú˦>1q*;×m;û|s»±?¤uaô¾0¹??æ¶y7ºRµC7¢%P4©§)ñGãY´xÇWN;%>Ùî×*ÄÌ´%úæÔîh6)+åÛ)ëÙÈj|ýpET¿`cÿîÄ[Ùt`AÞp¡þQiËG6(¤Ècaòlúǯ6vcw)ñådÇKm¶ìÄÄðî6WïògÔ<)1vüYPq(^ñUYWÉüLÚy÷Ò :`ÏC4#Ú;@/+Õô#±®×CK*ºÆ»Ä@óÃN¶µ*ùÕ+¤è >·æcö{ZdyÐ*ç÷f¹ð9Müòssq 2If>tÂÜ¥Î%ñ¨àjá¦Ïog*ªÂÔ¨Z rÖ=: ÷ QW?¹¹Ã¡¸ù~'Z"°©¤F%cg³¢oí¯Á-g\ø kλ³o9vV#6Á>JdÿÊ@禢ÙGÊé<*®<:G¬ëeÓ°¡¹>bHë#öî$£ ò+Q¿ ÃÇ4+ëf_ÒŹᣲI:z>#*];Ö&tQ$ÊW0 Î¥AÊYãÚ,4¾ÒnËs;z¸´GÔ}D·Úméäs¦¼Jߤ#ÍèÇ»¯,D=éRÑq·ßì|»\]ÿá|öRXox©<fæóοg½|ÿÛºJO¾ïæ3oÃ.´ÿ#76÷za{¨Ñvi[ì1>C+«£^|8ÚKÉøN9뽤º0\[Gù\×½|OúØ+ïònHc{\´TÎvõò7V ê»âUFgHu"Ø¢ríb÷¹²iêz¥7$¶")R«2Üüt&ëûÚa¯ÕuÎ1º}Ñjݸ®Ç®¥ ÔFxç;:ÐZ>½ ¤kôº7òZ¼r¦§1çùtÖ$¯D×jÜÃlñq pö+[%ñôþ¯! ïåe¼½&Æ}ÐÞCY%hå¤Ìí¦´ùJ,B¡BË["sRÛÍ´)®Ö° ·dü4ئVÝ@5ÿ_Ð?¾ ÷YõÒÊ»&:Jý¥ðUMÕÌV^Ò#~g ÍSMV²å`ðå(ÀÐâÏÿ/-áªIfúÈ>[:ìE3~>¨ `(îcÂ%áH¿=r8þäß ¿^XÛ9²°}RÿÛ¥¸¢º®ÑEÊO¦bee¬ úë°põ<1[Ht¢zÎËB-}ÇOÛy®jÈhÄ$ÙË>õ©heG´¦L¯:$sìAÓ6;,ïqÔYËl;¡Ð?½~=%¯ê_!ÿ³ÿGÌÿä%÷ÑVOÃëíc§©kP$: DÂæÆLSQÅ.}ûê ¶ÄÃeñð¼þ«Þñô§JÝF=±sZµqílw.C®*Ðä´ùïtàKɹfÈp$oáüø%ÅüEíêØ×ÜÁwí.9ZÖ{${ÑbG`&kbrýÜem_éÍý ¥.ª6/£ K¸Su7ÙY9X?ðÙvÜÎÍGè&¤æÄ!8'ëbùKUæÇ|=¯~õTé\%xu½KÎPxíÚº)¸£Þo:aaiÕÊT9 Îįù×?4þ!¿}!³ÈpH»wÌ9íâq,ænpÔ¨§ëÛ1÷8:î4S¨I*Ä+àµ`Ҫضî£c<Ú]J¿W÷%Ãˬñ7Ûh»t@þ^ãnÞî`Su)ì£ýÙ%ó»aAOAY¤×`]b8üÒ!Gä ÜÞsÌmÑ_%vØ4A/,y©Kî.ìäspOXH÷³-´{B~£Æ¥ä.¿¦,6ÎHåüzá¤i[ÓFȳ·w½h®4Ô¢Sz®G@\PÕDånìÇÓ/wµ&¥OôÑÈܦfÅfÍd«óäî6,v!BIoy~?!uö}U \d"c8§áý ¡^y¯$~|U-íí^ª*/"<[ïMضo~HÐ (¢ÔãKQåü¥n ݨ¡@R/úÇØ z ¹ö)@$I[&-LØCSÖy¾£}ÍD<m±ÿ8û5Ö oîÂ=?R+tvBÇx'Sݾó»³Òd¹"Ú±¬E¸ÌÕ} xE7ÃCÏ¿}5ô3 Áô*Ö¡Ô ½/zäÒpj¢pÙñg!|!!P¸0'oH¤¤l,¾Ï±zHSÒߪÕÉÎ8,<<¿EZqDf^L5!_ɲiÈsöCZ$ßd¼ÖÙYr$×*÷+ý±1¢Ç'Å $<.fôJ@¼ü$ÂEjó'jåD·òy,¸§\åз'/bJÇ|ê±OÈŪy#Õ¦%gSG:N$¨5;ÃÔæ'iMÙºæ©ÕÁKu×[«Ø/÷!j'ó6¶L×^ÞÒʼõi×Ëî!é)ȨÑßÂúâ²¼^õ¥j[ ¼¿9Ä=}÷ûqZ"höÕÀýöѾÃ}iËîVÇWYç¬Lί¡;CHý0fá¦`ð¬¦:ãÐRT9]Õ>´ÞSÊÿÿI,U/[¬A:[6·4Iw¼Î?¬§=k*êl½ë©¡'&ãÃÚÛúì¸oä¶ûñÌÃà÷УN ÝfBúuÁIþjáZ§â¶fÐsöÑ©¹æU%îíÏ'ô±ñí¢^ÜaÿÑ·;FK¯÷:á!¡j8íW9ÛåÆ<~4KRÄoÑ9ìVNe®KK~°°ö.M¬|æ1YHäOH¾¡5løww§® ã/¾02OÑm¼gtzÑ¿.Ò<+yÛHH°JîãÿaµJÉöÙx1ýNµ¸e;3ǺÌ%ò4þîpE\[ùøRÌ!ï±á¡ÉÕÉ á³Aú6§ìî¹ÃÔGÝõ¨qE'ÃMû5*dîÊ(´mÞïüÀk Uíi<¹\^žæ7AÆ(äÜVîR²l¸âK@ÔV+¥[HË&N]òeõ5iÃßO40öݤή Ü;~új44,ÖRæN.¹GKÓ-ÂU桱Ëð]!!;yêl³¸Úu9yJÌ'§[+|<@yÙée°Ìýn|Ú·¢Õf}Íþô/ÉJáöw®ú@f #|gID:]5V¬t»F8ðÙÒ¤ç2|y ~²âV¨ÝT vd#vnêÄ- céeú[Ï.êQ7áõÌæ[uj¸lmÛÐDW×Ñ7ë>~\rYìªÂ ;ª©ýQ³0\u´#¿úé&án)!|ºcp<ÛL^}é±8¦³ap« ±ï øMÉ-jöÙÔþ´*RµG}<!ÇwÕliØÉÑïmªÝºJÍ^cæÏ#¸®iæÏMSz^ã³wû®¿IVÉNYc6¸ùè]¼ äðV1ç [¡_ànØchh$;±|å²_gUqAïu!.Ç>{ÂA«Uòe/¥F SÅÒ¶ÆÖ¨^£³±4:HO¤XùwR§¼ lU¢,±%Õ°Ùøþ·]|¾³ÀnÛ*-}JéSï³<Ê?'@êý黯ع<~¼íÇ~î74Ë<øxÖ1&$6*hÍ4g4gëÐGþPK $øÚ¯®Æ_¼JmO%o:{Æaa}mØa8A4 &B(ø-ØÖÂV¤ÙssGÜÉòèUV?~õ¦»<"ôT.ÀoÚ;¡qé]Göà ÇÀ_!-d¤¦àHãß(ÓRËÑ"ä7« >Ò$q-úuì@Gwjð0oñ³øâCÓ3n [$!bÄÀ±Lxeëé9.^Ò,1¤}5¸;1Ç<Ü'ÿ¾ÇÚèèd&' Wz¿ûȦA;zÂ]OåâXüë·sé¶^ÅyG½e]±¹û= ÃahOïóG×\,Í»<é° ÃiÃ¥ÈÞAüR.±¥K`ºëæÈ# 1J9a¸s+x,K ^¦ktÐCÙþ+pm s7à Aâ9íκøÃøµ{ù°V¡BäçcvCX8a¸s+ø;ÆG}~[ÂT°[tfõï÷m#µú)ÀRàxØÅî5ñ$4äw7èpÅ3tÂpæÁàÙlFÁ÷°ñ| sú°ß×C#¾È°²æèÎ[À`®ìñÇË0jx8pOAAf¨zÈøú`2!÷c»Jµ!t6éÂ;:ýWì¾÷Ç0\yðä*:R÷Å¥ôÑ×W¤a¶lÊ®?ÅÁ[¼Bwâ?'a¼!±Ö缾mì¡>LVðèZ©¾>¿øè8x;aú s·É2öW£ÀäªÐꤼFøtæÄd¾uáÕÅ£w¿¯VÑ£s´Z'ah=ÞÊÏ Ã¾ê¿fÝ*ÅE41²1wSÝз3þÌðT®ÇÆ©ù9aøÁ×h¥àßÁ®èJÙ {¿s7äW¾½Ð8ð&\¹o§æçá?VçÓ.³#îJ>ÔFæ?©Ò5îP6tGøxæîÝÿ8ðæ8WFñ¨8 ?øjÚc6ؽWñÉ®Ó÷ô6±ÙI4ï÷Uà http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/title-ezc.xml?view=markup&rev=1.1 Index: presentations/slides/ezc/title-ezc.xml +++ presentations/slides/ezc/title-ezc.xml <slide fontsize="3.5em"> <title>Welcome!</title> <image align="center" filename="components.png" /> <break lines="3"/> <blurb class="event">RAD for PHP</blurb> <break/> <blurb class="event-date">PHP Conference UK. London, UK</blurb> <break/> <blurb class="event-presenter">Derick Rethans &lt;<a href="mailto:dr@ez.no">dr@ez.no</a>&gt;</blurb> <break/> <blurb class="pres-url-small"><a href="http://files.derickrethans.nl/ezc-phpuk6.pdf">http://files.derickrethans.nl/ezc-phpuk6.pdf</a></blurb> </slide> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/userinput.php?view=markup&rev=1.1 Index: presentations/slides/ezc/userinput.php +++ presentations/slides/ezc/userinput.php <?php require 'ezc-setup.php'; if ( ezcInputForm::hasGetData() ) { $definition = array( 'test' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::REQUIRED, 'int' ), 'test2' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::REQUIRED, 'number_int' ), ); try { $form = new ezcInputForm( INPUT_GET, $definition ); echo $form->test, "\n"; echo $form->test2, "\n"; } catch ( ezcInputFormException $e ) { die( $e->getMessage() ); } } ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cfg/example.ini?view=markup&rev=1.1 Index: presentations/slides/ezc/cfg/example.ini +++ presentations/slides/ezc/cfg/example.ini # Comment for the section [db] # This is ofcourse not my real password... password=noneofyourbusiness http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cfg/example.php?view=markup&rev=1.1 Index: presentations/slides/ezc/cfg/example.php +++ presentations/slides/ezc/cfg/example.php <?php return array ( 'settings' => array ( 'db' => array ( 'password' => 'noneofyourbusiness', ), ), 'comments' => array ( 'db' => array ( '#' => ' Comment for the section', 'password' => ' This is ofcourse not my real password...', ), ), ); ?> http://cvs.php.net/viewcvs.cgi/presentations/slides/ezc/cfg/example2.ini?view=markup&rev=1.1 Index: presentations/slides/ezc/cfg/example2.ini +++ presentations/slides/ezc/cfg/example2.ini sadufi87678&^%*^ [db] password=noneofyourbusiness