cvs: presentations / php6-unicode-phpnorge.xml /slides/i18nl10n roadmap.xml the-simple-things.xml the-unicode-things.xml unicode-scripts.xml
/slides/internals gc1.xml namespaces-import.xml namespaces-resolve1.xml namespaces-resolve2.xml namespaces-resolve3.xml namespaces.xml
/slides/toolbox ms.xml
| From: | Derick Rethans | Date: | Thu, 24 Jan 2008 12:39:02 +0000 |
| Subject: | cvs: presentations / php6-unicode-phpnorge.xml /slides/i18nl10n roadmap.xml the-simple-things.xml the-unicode-things.xml unicode-scripts.xml /slides/internals gc1.xml namespaces-import.xml namespaces-resolve1.xml namespaces-resolve2.xml namespaces-resolve3.xml namespaces.xml /slides/toolbox ms.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1454@lists.php.net to get a copy of this message | ||
derick Thu Jan 24 12:39:02 2008 UTC
Added files:
/presentations php6-unicode-phpnorge.xml
/presentations/slides/i18nl10n the-simple-things.xml
the-unicode-things.xml
unicode-scripts.xml
/presentations/slides/internals gc1.xml namespaces-import.xml
namespaces-resolve1.xml
namespaces-resolve2.xml
namespaces-resolve3.xml
namespaces.xml
/presentations/slides/toolbox ms.xml
Modified files:
/presentations/slides/i18nl10n roadmap.xml
Log:
- Added slides for PHP Norge presentation.
http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/roadmap.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/i18nl10n/roadmap.xml diff -u presentations/slides/i18nl10n/roadmap.xml:1.2 presentations/slides/i18nl10n/roadmap.xml:1.3 --- presentations/slides/i18nl10n/roadmap.xml:1.2 Fri Nov 3 14:51:55 2006 +++ presentations/slides/i18nl10n/roadmap.xml Thu Jan 24 12:39:02 2008 @@ -4,10 +4,10 @@ <list type="number"> <bullet>Support Unicode in the Engine</bullet> - <bullet>Upgrade existing functions: 40% done</bullet> + <bullet>Upgrade existing functions: 60% done</bullet> <bullet>Add new functions for explicit i18n/l10n support</bullet> <bullet>Expose ICU's features</bullet> </list> - <blurb>http://php.net/ ~scoates/unicode/render_func_data.php</blurb> + <blurb>http://php.net/~scoates/unicode/render_func_data.php</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/php6-unicode-phpnorge.xml?view=markup&rev=1.1 Index: presentations/php6-unicode-phpnorge.xml +++ presentations/php6-unicode-phpnorge.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/ezc/ez.css" backgroundfixed="1" > <topic>Localization and Internationalization</topic> <title>PHP 6 og Unicode</title> <event>PHP Norge</event> <location>Oslo, Norway</location> <date>January 24th, 2008</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/grown-up/title.xml</slide> <!-- SIMPLE THINGS --> <slide>slides/i18nl10n/the-simple-things.xml</slide> <slide>slides/internals/variables-circular.xml</slide> <slide>slides/internals/gc1.xml</slide> <slide>slides/internals/namespaces.xml</slide> <slide>slides/internals/namespaces-import.xml</slide> <slide>slides/internals/namespaces-resolve1.xml</slide> <slide>slides/internals/namespaces-resolve2.xml</slide> <slide>slides/internals/namespaces-resolve3.xml</slide> <!-- UNICODE --> <slide>slides/i18nl10n/the-unicode-things.xml</slide> <slide>slides/i18nl10n/unicode-scripts.xml</slide> <slide>slides/i18nl10n/challenges2.xml</slide> <slide>slides/i18nl10n/sorting.xml</slide> <slide>slides/i18nl10n/php-can-do-it-now.xml</slide> <slide>slides/i18nl10n/php-now-iconv.xml</slide> <slide>slides/i18nl10n/php-now-mbstring.xml</slide> <slide>slides/i18nl10n/php-now-locales.xml</slide> <!-- UNICODE --> <slide>slides/i18nl10n/unicode.xml</slide> <slide>slides/i18nl10n/composition.xml</slide> <slide>slides/i18nl10n/properties.xml</slide> <!-- PHP SOON --> <slide>slides/i18nl10n/goals-1.xml</slide> <slide>slides/i18nl10n/basics-1.xml</slide> <slide>slides/i18nl10n/surrogates.xml</slide> <!-- how does the encoding work? --> <slide>slides/i18nl10n/icu.xml</slide> <slide>slides/i18nl10n/roadmap.xml</slide> <slide>slides/i18nl10n/unicode-semantics.xml</slide> <!-- STRINGS --> <slide>slides/i18nl10n/string-types.xml</slide> <slide>slides/i18nl10n/string-literals.xml</slide> <slide>slides/i18nl10n/characters-not-bytes.xml</slide> <slide>slides/i18nl10n/upgrading-locale.xml</slide> <slide>slides/i18nl10n/locale-example.xml</slide> <slide>slides/i18nl10n/locale-example2.xml</slide> <slide>slides/i18nl10n/locale-example-arrays.xml</slide> <slide>slides/i18nl10n/iterator-example.xml</slide> <!-- DIFFERENT ENCODINGS --> <slide>slides/i18nl10n/encoding-overview.xml</slide> <slide>slides/i18nl10n/script-encoding.xml</slide> <slide>slides/i18nl10n/script-encoding-pragma.xml</slide> <slide>slides/i18nl10n/script-encoding-fun1.xml</slide> <slide>slides/i18nl10n/script-encoding-fun2.xml</slide> <slide>slides/i18nl10n/runtime-encoding.xml</slide> <slide>slides/i18nl10n/http-output-encoding.xml</slide> <slide>slides/i18nl10n/stream-encoding1.xml</slide> <slide>slides/i18nl10n/stream-encoding2.xml</slide> <slide>slides/i18nl10n/stream-encoding3.xml</slide> <slide>slides/i18nl10n/translit1.xml</slide> <slide>slides/i18nl10n/fallback-encoding.xml</slide> <!-- EXIT --> <slide>slides/i18nl10n/when.xml</slide> <slide>slides/i18nl10n/resources.xml</slide> <!-- resources --> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/the-simple-things.xml?view=markup&rev=1.1 Index: presentations/slides/i18nl10n/the-simple-things.xml +++ presentations/slides/i18nl10n/the-simple-things.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>What's new?</title> <break lines="16"/> <blurb class="title_blurb">The non-Unicode things</blurb> <blurb class="subtitle_blurb">(Actually, also in PHP 5.3)</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/the-unicode-things.xml?view=markup&rev=1.1 Index: presentations/slides/i18nl10n/the-unicode-things.xml +++ presentations/slides/i18nl10n/the-unicode-things.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>What's new?</title> <break lines="16"/> <blurb class="title_blurb">The Unicode things</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/unicode-scripts.xml?view=markup&rev=1.1 Index: presentations/slides/i18nl10n/unicode-scripts.xml +++ presentations/slides/i18nl10n/unicode-scripts.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Unicode?</title> <example> Ã'është Unicode?, – á©áá®áµ áááµá áá? – ٠ا ÙÙ Ø§ÙØ´Ùرة اÙÙ ÙØØ¯Ø© "ÙÙÙÙÙÙØ¯" Ø – à¦à¦à¦¨à¦¿à¦à§à¦¡ à¦à§? – á©áá®áµ áá¨á áá? – Ðакво е Unicode ? – ä»ä¹æ¯Unicode(ç»ä¸ç )? – Å to je Unicode? – Co je Unicode? – Hvad er Unicode? – Wat is Unicode? – Kio estas Unikodo? – Mikä on Unicode? – Qu'est ce qu'Unicode? – á á áá áá¡ á£áááááá? – Was ist Unicode? – Τι είναι Ïο Unicode; – Τί εἶναι Ïὸ Unicode; – ×× ×× ××× ××§×× (Unicode)? – यà¥à¤¨à¤¿à¤à¥à¤¡ à¤à¥à¤¯à¤¾ हà¥? – Hvað er Unicode? – Que es Unicode? – Cos'è Unicode? – ì ëì½ëì ëí´? – Kas tai yra Unikodas? – ШÑо е Unicode? – X'inhu l-Unicode? – Czym jest Unikod? – O que é Unicode? – Ce este Unicode? – ЧÑо Ñакое Unicode? – á©áá®áµ ááá©? – ШÑа je Unicode? – Kaj je Unicode? – ¿Qué es Unicode? – Vad är Unicode? – யà¯à®©à®¿à®à¯à®à¯à®à¯ à®à®©à¯à®±à®¾à®²à¯ à®à®©à¯à®©?, – à°¯à±à°¨à±à°à±à°¡à± à° à°à°à± à°à°®à°¿à°à°¿?, – Unicode à¸à¸·à¸à¸à¸°à¹à¸£? – á©áá®áµ á¥áá³á á¢á©? – Å to je Unicode? – Evrensel Kod Nedir? – ﻳï¯ï»§ï¯©ï»ï»®ïº© ﺩﯨï®ï»ªï»¥ ï»§ï¯©ï»¤ï»ªØ – Unicode dégen néme? – Unicode là gì? – Beth yw Unicode? – á©áá®áµ áá¨á á¨á? </example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/gc1.xml?view=markup&rev=1.1 Index: presentations/slides/internals/gc1.xml +++ presentations/slides/internals/gc1.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Garbage Collection</title> <list> <bullet>Collects all the variable containers into a buffer</bullet> <bullet>Once buffer is full, the algorithm runs to reclaim space</bullet> <bullet>Can be turned on and off at will: *gc_enable()*, *gc_disable()*</bullet> <bullet>Drastically reduces memory usage for testing eZ Components (2.4GB->500MB)</bullet> </list> <example> GC Statistics ------------- Runs: 124 Collected: 2434961 Root buffer length: 4 Root buffer peak: 10000 Possible Remove from Marked Root Buffered buffer grey -------- -------- ----------- ------ ZVAL 13233645 2444651 2106657 18967079 ZOBJ 41671687 2120597 1218587 2475517 </example> <!-- # vim: encoding=utf8 --> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-import.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-import.xml +++ presentations/slides/internals/namespaces-import.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Using namespaces: use</subtitle> <list> <bullet>the *use* operator makes a namespaces available</bullet> </list> <example><![CDATA[<?php use eZ::Database::Connection as DbConnection; use eZ::Database; new DbConnection(); // uses eZ::Database::Connection new Database::Driver(); // would use eZ::Database::Connection ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-resolve1.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-resolve1.xml +++ presentations/slides/internals/namespaces-resolve1.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Name resolution rules</subtitle> <blurb>All qualified names (A::B::C) are translated during compile-time.</blurb> <example><![CDATA[<?php use eZ::Database::Driver; // translated at compile-time to eZ::Database::Driver::Sqlite() new Driver::Sqlite(); ?>]]></example> <break lines="3"/> <blurb>All unqualified names (C) are translated during compile-time.</blurb> <example><![CDATA[<?php use eZ::Database::Driver; // translated at compile-time to eZ::Database::Driver() new Driver(); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-resolve2.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-resolve2.xml +++ presentations/slides/internals/namespaces-resolve2.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Name resolution rules</subtitle> <blurb>Inside a namespace, all unqualified names (C) are translated during run-time.</blurb> <example><![CDATA[<?php namespace eZ::Database; // translated at run-time first to eZ::Database::Driver() new Driver(); ?>]]></example> <blurb>If not found, it looks for the *internal class* Driver.</blurb> <blurb>If not found, it attempts to autoload eZ::Database::Driver.</blurb> <break/> <blurb>In order to use the global class Driver, use "%new ::Driver()%."</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-resolve3.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-resolve3.xml +++ presentations/slides/internals/namespaces-resolve3.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Quirks</subtitle> <blurb>You can not override internal classes:</blurb> <break/> <example><![CDATA[ez_datetime.php <?php namespace eZ; class DateTime { } ?>]]></example> <break lines="3"/> <example><![CDATA[test.php <?php require 'ez_datetime.php'; use eZ::DateTime; ?>]]></example> <break lines="3"/> <blurb>Displays:</blurb> <example><![CDATA[Fatal error: Cannot use eZ::DateTime as DateTime because the name is already in use in /tmp/test.php on line 4]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces.xml +++ presentations/slides/internals/namespaces.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <list> <bullet>Solves name clashes</bullet> <bullet>Provides name aliases and resolving</bullet> <bullet>Can contain constants, classes and functions</bullet> </list> <example><![CDATA[<?php namespace eZ; const DEVELOPMENT = 42; class Configuration { } function bootstrap() { } ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/toolbox/ms.xml?view=markup&rev=1.1 Index: presentations/slides/toolbox/ms.xml +++ presentations/slides/toolbox/ms.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>It's All His Fault</title> <image filename="schumi1.jpg"/> </slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/roadmap.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/i18nl10n/roadmap.xml diff -u presentations/slides/i18nl10n/roadmap.xml:1.2 presentations/slides/i18nl10n/roadmap.xml:1.3 --- presentations/slides/i18nl10n/roadmap.xml:1.2 Fri Nov 3 14:51:55 2006 +++ presentations/slides/i18nl10n/roadmap.xml Thu Jan 24 12:39:02 2008 @@ -4,10 +4,10 @@ <list type="number"> <bullet>Support Unicode in the Engine</bullet> - <bullet>Upgrade existing functions: 40% done</bullet> + <bullet>Upgrade existing functions: 60% done</bullet> <bullet>Add new functions for explicit i18n/l10n support</bullet> <bullet>Expose ICU's features</bullet> </list> - <blurb>http://php.net/ ~scoates/unicode/render_func_data.php</blurb> + <blurb>http://php.net/~scoates/unicode/render_func_data.php</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/php6-unicode-phpnorge.xml?view=markup&rev=1.1 Index: presentations/php6-unicode-phpnorge.xml +++ presentations/php6-unicode-phpnorge.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/ezc/ez.css" backgroundfixed="1" > <topic>Localization and Internationalization</topic> <title>PHP 6 og Unicode</title> <event>PHP Norge</event> <location>Oslo, Norway</location> <date>January 24th, 2008</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/grown-up/title.xml</slide> <!-- SIMPLE THINGS --> <slide>slides/i18nl10n/the-simple-things.xml</slide> <slide>slides/internals/variables-circular.xml</slide> <slide>slides/internals/gc1.xml</slide> <slide>slides/internals/namespaces.xml</slide> <slide>slides/internals/namespaces-import.xml</slide> <slide>slides/internals/namespaces-resolve1.xml</slide> <slide>slides/internals/namespaces-resolve2.xml</slide> <slide>slides/internals/namespaces-resolve3.xml</slide> <!-- UNICODE --> <slide>slides/i18nl10n/the-unicode-things.xml</slide> <slide>slides/i18nl10n/unicode-scripts.xml</slide> <slide>slides/i18nl10n/challenges2.xml</slide> <slide>slides/i18nl10n/sorting.xml</slide> <slide>slides/i18nl10n/php-can-do-it-now.xml</slide> <slide>slides/i18nl10n/php-now-iconv.xml</slide> <slide>slides/i18nl10n/php-now-mbstring.xml</slide> <slide>slides/i18nl10n/php-now-locales.xml</slide> <!-- UNICODE --> <slide>slides/i18nl10n/unicode.xml</slide> <slide>slides/i18nl10n/composition.xml</slide> <slide>slides/i18nl10n/properties.xml</slide> <!-- PHP SOON --> <slide>slides/i18nl10n/goals-1.xml</slide> <slide>slides/i18nl10n/basics-1.xml</slide> <slide>slides/i18nl10n/surrogates.xml</slide> <!-- how does the encoding work? --> <slide>slides/i18nl10n/icu.xml</slide> <slide>slides/i18nl10n/roadmap.xml</slide> <slide>slides/i18nl10n/unicode-semantics.xml</slide> <!-- STRINGS --> <slide>slides/i18nl10n/string-types.xml</slide> <slide>slides/i18nl10n/string-literals.xml</slide> <slide>slides/i18nl10n/characters-not-bytes.xml</slide> <slide>slides/i18nl10n/upgrading-locale.xml</slide> <slide>slides/i18nl10n/locale-example.xml</slide> <slide>slides/i18nl10n/locale-example2.xml</slide> <slide>slides/i18nl10n/locale-example-arrays.xml</slide> <slide>slides/i18nl10n/iterator-example.xml</slide> <!-- DIFFERENT ENCODINGS --> <slide>slides/i18nl10n/encoding-overview.xml</slide> <slide>slides/i18nl10n/script-encoding.xml</slide> <slide>slides/i18nl10n/script-encoding-pragma.xml</slide> <slide>slides/i18nl10n/script-encoding-fun1.xml</slide> <slide>slides/i18nl10n/script-encoding-fun2.xml</slide> <slide>slides/i18nl10n/runtime-encoding.xml</slide> <slide>slides/i18nl10n/http-output-encoding.xml</slide> <slide>slides/i18nl10n/stream-encoding1.xml</slide> <slide>slides/i18nl10n/stream-encoding2.xml</slide> <slide>slides/i18nl10n/stream-encoding3.xml</slide> <slide>slides/i18nl10n/translit1.xml</slide> <slide>slides/i18nl10n/fallback-encoding.xml</slide> <!-- EXIT --> <slide>slides/i18nl10n/when.xml</slide> <slide>slides/i18nl10n/resources.xml</slide> <!-- resources --> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/the-simple-things.xml?view=markup&rev=1.1 Index: presentations/slides/i18nl10n/the-simple-things.xml +++ presentations/slides/i18nl10n/the-simple-things.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>What's new?</title> <break lines="16"/> <blurb class="title_blurb">The non-Unicode things</blurb> <blurb class="subtitle_blurb">(Actually, also in PHP 5.3)</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/the-unicode-things.xml?view=markup&rev=1.1 Index: presentations/slides/i18nl10n/the-unicode-things.xml +++ presentations/slides/i18nl10n/the-unicode-things.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>What's new?</title> <break lines="16"/> <blurb class="title_blurb">The Unicode things</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/i18nl10n/unicode-scripts.xml?view=markup&rev=1.1 Index: presentations/slides/i18nl10n/unicode-scripts.xml +++ presentations/slides/i18nl10n/unicode-scripts.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Unicode?</title> <example> Ã'është Unicode?, – á©áá®áµ áááµá áá? – ٠ا ÙÙ Ø§ÙØ´Ùرة اÙÙ ÙØØ¯Ø© "ÙÙÙÙÙÙØ¯" Ø – à¦à¦à¦¨à¦¿à¦à§à¦¡ à¦à§? – á©áá®áµ áá¨á áá? – Ðакво е Unicode ? – ä»ä¹æ¯Unicode(ç»ä¸ç )? – Å to je Unicode? – Co je Unicode? – Hvad er Unicode? – Wat is Unicode? – Kio estas Unikodo? – Mikä on Unicode? – Qu'est ce qu'Unicode? – á á áá áá¡ á£áááááá? – Was ist Unicode? – Τι είναι Ïο Unicode; – Τί εἶναι Ïὸ Unicode; – ×× ×× ××× ××§×× (Unicode)? – यà¥à¤¨à¤¿à¤à¥à¤¡ à¤à¥à¤¯à¤¾ हà¥? – Hvað er Unicode? – Que es Unicode? – Cos'è Unicode? – ì ëì½ëì ëí´? – Kas tai yra Unikodas? – ШÑо е Unicode? – X'inhu l-Unicode? – Czym jest Unikod? – O que é Unicode? – Ce este Unicode? – ЧÑо Ñакое Unicode? – á©áá®áµ ááá©? – ШÑа je Unicode? – Kaj je Unicode? – ¿Qué es Unicode? – Vad är Unicode? – யà¯à®©à®¿à®à¯à®à¯à®à¯ à®à®©à¯à®±à®¾à®²à¯ à®à®©à¯à®©?, – à°¯à±à°¨à±à°à±à°¡à± à° à°à°à± à°à°®à°¿à°à°¿?, – Unicode à¸à¸·à¸à¸à¸°à¹à¸£? – á©áá®áµ á¥áá³á á¢á©? – Å to je Unicode? – Evrensel Kod Nedir? – ﻳï¯ï»§ï¯©ï»ï»®ïº© ﺩﯨï®ï»ªï»¥ ï»§ï¯©ï»¤ï»ªØ – Unicode dégen néme? – Unicode là gì? – Beth yw Unicode? – á©áá®áµ áá¨á á¨á? </example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/gc1.xml?view=markup&rev=1.1 Index: presentations/slides/internals/gc1.xml +++ presentations/slides/internals/gc1.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Garbage Collection</title> <list> <bullet>Collects all the variable containers into a buffer</bullet> <bullet>Once buffer is full, the algorithm runs to reclaim space</bullet> <bullet>Can be turned on and off at will: *gc_enable()*, *gc_disable()*</bullet> <bullet>Drastically reduces memory usage for testing eZ Components (2.4GB->500MB)</bullet> </list> <example> GC Statistics ------------- Runs: 124 Collected: 2434961 Root buffer length: 4 Root buffer peak: 10000 Possible Remove from Marked Root Buffered buffer grey -------- -------- ----------- ------ ZVAL 13233645 2444651 2106657 18967079 ZOBJ 41671687 2120597 1218587 2475517 </example> <!-- # vim: encoding=utf8 --> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-import.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-import.xml +++ presentations/slides/internals/namespaces-import.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Using namespaces: use</subtitle> <list> <bullet>the *use* operator makes a namespaces available</bullet> </list> <example><![CDATA[<?php use eZ::Database::Connection as DbConnection; use eZ::Database; new DbConnection(); // uses eZ::Database::Connection new Database::Driver(); // would use eZ::Database::Connection ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-resolve1.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-resolve1.xml +++ presentations/slides/internals/namespaces-resolve1.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Name resolution rules</subtitle> <blurb>All qualified names (A::B::C) are translated during compile-time.</blurb> <example><![CDATA[<?php use eZ::Database::Driver; // translated at compile-time to eZ::Database::Driver::Sqlite() new Driver::Sqlite(); ?>]]></example> <break lines="3"/> <blurb>All unqualified names (C) are translated during compile-time.</blurb> <example><![CDATA[<?php use eZ::Database::Driver; // translated at compile-time to eZ::Database::Driver() new Driver(); ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-resolve2.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-resolve2.xml +++ presentations/slides/internals/namespaces-resolve2.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Name resolution rules</subtitle> <blurb>Inside a namespace, all unqualified names (C) are translated during run-time.</blurb> <example><![CDATA[<?php namespace eZ::Database; // translated at run-time first to eZ::Database::Driver() new Driver(); ?>]]></example> <blurb>If not found, it looks for the *internal class* Driver.</blurb> <blurb>If not found, it attempts to autoload eZ::Database::Driver.</blurb> <break/> <blurb>In order to use the global class Driver, use "%new ::Driver()%."</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces-resolve3.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces-resolve3.xml +++ presentations/slides/internals/namespaces-resolve3.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <subtitle>Quirks</subtitle> <blurb>You can not override internal classes:</blurb> <break/> <example><![CDATA[ez_datetime.php <?php namespace eZ; class DateTime { } ?>]]></example> <break lines="3"/> <example><![CDATA[test.php <?php require 'ez_datetime.php'; use eZ::DateTime; ?>]]></example> <break lines="3"/> <blurb>Displays:</blurb> <example><![CDATA[Fatal error: Cannot use eZ::DateTime as DateTime because the name is already in use in /tmp/test.php on line 4]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/internals/namespaces.xml?view=markup&rev=1.1 Index: presentations/slides/internals/namespaces.xml +++ presentations/slides/internals/namespaces.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Namespaces</title> <list> <bullet>Solves name clashes</bullet> <bullet>Provides name aliases and resolving</bullet> <bullet>Can contain constants, classes and functions</bullet> </list> <example><![CDATA[<?php namespace eZ; const DEVELOPMENT = 42; class Configuration { } function bootstrap() { } ?>]]></example> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/toolbox/ms.xml?view=markup&rev=1.1 Index: presentations/slides/toolbox/ms.xml +++ presentations/slides/toolbox/ms.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>It's All His Fault</title> <image filename="schumi1.jpg"/> </slide>