cvs: presentations / clustering-ezcamp2005.xml symphony-migration.xml /slides/clustering static-cache-update.xml /slides/perf ezp-gausta.css
ezp-gausta.png /slides/time basic-dst-examples.xml basic-modyfing.xml basic-other-mods.xml basic-parse-time-new.xml basic-parse-time.xml
basic-using-zones.xml class-date.xml class-zone.xml clocks.jpg current-functions.xml current-limitations.xml dst-strange.png dst.png
improvements-formats.xml improvements-overview.xml improvements-timezones.xml indiana.png oo-classes.xml problems-dst.xml problems-dst2.xml
problems-dst3.xml problems-string-representation.xml problems-timezone-abbr.xml problems-timezones.xml usa-zones.png what-is-time.xml
what-is-time2.xml zone-places.png zones.png
| From: | Derick Rethans | Date: | Wed, 08 Jun 2005 13:49:56 +0000 |
| Subject: | cvs: presentations / clustering-ezcamp2005.xml symphony-migration.xml /slides/clustering static-cache-update.xml /slides/perf ezp-gausta.css ezp-gausta.png /slides/time basic-dst-examples.xml basic-modyfing.xml basic-other-mods.xml basic-parse-time-new.xml basic-parse-time.xml basic-using-zones.xml class-date.xml class-zone.xml clocks.jpg current-functions.xml current-limitations.xml dst-strange.png dst.png improvements-formats.xml improvements-overview.xml improvements-timezones.xml indiana.png oo-classes.xml problems-dst.xml problems-dst2.xml problems-dst3.xml problems-string-representation.xml problems-timezone-abbr.xml problems-timezones.xml usa-zones.png what-is-time.xml what-is-time2.xml zone-places.png zones.png |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1154@lists.php.net to get a copy of this message | ||
derick Wed Jun 8 09:49:56 2005 EDT
Added files:
/presentations symphony-migration.xml
/presentations/slides/clustering static-cache-update.xml
/presentations/slides/perf ezp-gausta.css ezp-gausta.png
/presentations/slides/time basic-dst-examples.xml
basic-modyfing.xml basic-other-mods.xml
basic-parse-time-new.xml
basic-parse-time.xml
basic-using-zones.xml class-date.xml
class-zone.xml clocks.jpg
current-functions.xml
current-limitations.xml dst-strange.png
dst.png improvements-formats.xml
improvements-overview.xml
improvements-timezones.xml indiana.png
oo-classes.xml problems-dst.xml
problems-dst2.xml problems-dst3.xml
problems-string-representation.xml
problems-timezone-abbr.xml
problems-timezones.xml usa-zones.png
what-is-time.xml what-is-time2.xml
zone-places.png zones.png
Modified files:
/presentations clustering-ezcamp2005.xml
Log:
- Added clustering main slide, somesmall clustering updates
- Added slides for the AC talk
http://cvs.php.net/diff.php/presentations/clustering-ezcamp2005.xml?r1=1.1&r2=1.2&ty=u Index: presentations/clustering-ezcamp2005.xml diff -u presentations/clustering-ezcamp2005.xml:1.1 presentations/clustering-ezcamp2005.xml:1.2 --- presentations/clustering-ezcamp2005.xml:1.1 Thu Jun 2 09:30:28 2005 +++ presentations/clustering-ezcamp2005.xml Wed Jun 8 09:49:54 2005 @@ -42,6 +42,7 @@ <slide>slides/clustering/static-cache-diagram.xml</slide> <slide>slides/clustering/static-cache-words-and-numbers.xml</slide> <slide>slides/clustering/static-cache-config.xml</slide> +<slide>slides/clustering/static-cache-update.xml</slide> <slide>slides/clustering/resources.xml</slide> http://cvs.php.net/co.php/presentations/symphony-migration.xml?r=1.1&p=1 Index: presentations/symphony-migration.xml +++ presentations/symphony-migration.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/perf/ezp.css" backgroundfixed="1" > <topic>PHP 5</topic> <title>Migrating from PHP 4 to PHP 5</title> <event>php|symphony</event> <location>On-line</location> <date>May 27, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <slide>slides/migrating/title.xml</slide> <!-- NEW STUFF --> <slide>slides/php5intro/nl/oldobjectmodel2.xml</slide> <slide>slides/php5intro/nl/newobjectmodel.xml</slide> <slide>slides/migrating/clone.xml</slide> <slide>slides/migrating/clone-compat.xml</slide> <slide>slides/php5_intro/obj_static.xml</slide> <slide>slides/php5_intro/obj_final.xml</slide> <slide>slides/php5_intro/obj_const.xml</slide> <slide>slides/php5_intro/obj_indirect.xml</slide> <slide>slides/php5_intro/obj_autoload.xml</slide> <slide>slides/php5_intro/obj_get_set.xml</slide> <slide>slides/php5_intro/obj_method_over.xml</slide> <slide>slides/php5_intro/obj_abstract.xml</slide> <slide>slides/php5_intro/obj_interface.xml</slide> <slide>slides/php5_intro/obj_exceptions.xml</slide> <slide>slides/php5_intro/obj_tostring.xml</slide> <slide>slides/php5_intro/spl_intro.xml</slide> <slide>slides/php5_intro/spl_ex1.xml</slide> <!-- COMPAT CHANGES (OO) --> <slide>slides/migrating/casting4.xml</slide> <slide>slides/migrating/casting5.xml</slide> <slide>slides/migrating/comparing4.xml</slide> <slide>slides/migrating/comparing5.xml</slide> <slide>slides/migrating/compat-mode.xml</slide> <slide>slides/migrating/this.xml</slide> <slide>slides/migrating/get_class.xml</slide> <slide>slides/migrating/e_strict.xml</slide> <slide>slides/migrating/var_vs_public.xml</slide> <slide>slides/migrating/constructors.xml</slide> <slide>slides/migrating/automagic_objects.xml</slide> <slide>slides/migrating/signatures.xml</slide> <slide>slides/migrating/define-before-use.xml</slide> <!-- COMPAT CHANGES (OTHERS --> <slide>slides/migrating/array_merge.xml</slide> <slide>slides/migrating/strrpos.xml</slide> <slide>slides/migrating/ip2long.xml</slide> <slide>slides/migrating/cli.xml</slide> <slide>slides/migrating/mysql.xml</slide> <!-- XML STUFF --> <slide>slides/php5_intro/xml_intro.xml</slide> <slide>slides/php5_intro/simplexml.xml</slide> <slide>slides/php5_intro/dom.xml</slide> <slide>slides/php5_intro/dom_ex.xml</slide> <slide>slides/php5_intro/xsl.xml</slide> <slide>slides/php5_intro/xsl_ex.xml</slide> <slide>slides/php5_intro/soap.xml</slide> <slide>slides/php5_intro/soap_ex.xml</slide> <slide>slides/php5_intro/sqlite_intro.xml</slide> <slide>slides/php5_intro/sqlite_ex.xml</slide> <slide>slides/php5_intro/sqlite_ex2.xml</slide> <!-- OTHER COOL STUFF --> <slide>slides/php5_intro/tidy_intro.xml</slide> <slide>slides/php5_intro/tidy_ex1.xml</slide> <slide>slides/php5_intro/tidy_ex2.xml</slide> <slide>slides/php5_intro/streams_intro.xml</slide> <slide>slides/php5_intro/streams_ex1.xml</slide> <slide>slides/php5_intro/streams_ex2.xml</slide> <slide>slides/xdebug/questions.xml</slide> <slide>slides/migrating/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-update.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-update.xml +++ presentations/slides/clustering/static-cache-update.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <subtitle>Updating</subtitle> <blurb>On publish:</blurb> <list> <bullet>The published node's cache</bullet> <bullet>The parent node's cache of the published node</bullet> <bullet>Everything from the ~AlwaysUpdateArray~ array</bullet> </list> <break/> <blurb>With a script:</blurb> <break/> <example>php bin/php/makestaticcache.php -s ezno -f</example> <break lines="2"/> <blurb>Nodes are cached as:</blurb> <break/> <list> <bullet>The 'fancy' url name (news/my_article)</bullet> <bullet>content/view/full/~nodeid~</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/perf/ezp-gausta.css?r=1.1&p=1 Index: presentations/slides/perf/ezp-gausta.css +++ presentations/slides/perf/ezp-gausta.css <style title="Default" type="text/css"> body { font-size: 10pt; margin-left:290px; margin-right:0em; margin-bottom:0em; background-image: url(presentations/slides/perf/ezp-gausta.png); background-attachment: fixed; } div.sticky { margin: 0; position: fixed; top: 0em; left: 290px; right: auto; bottom: auto; } div.navbar { padding: 4; margin: 0; height: 14em; font-family: verdana, tahoma, arial, helvetica, sans-serif; z-index: 99; } div.navbar_title, div.navbar_title a, div.subtitle { font-size: 32px; color: #698fe5; text-decoration: none; text-align: left; font-weight: bold; margin-top: 20px; } div.subtitle { margin-top: 5px; font-size: 24; font-weight: normal; font-style: italic; } div.navbar_nr a { font-size: 16px; color: #77a; text-decoration: none; position: fixed; right: 10px; bottom: 0px; } div.mainarea { margin-top: 120px; top: 150px; width: 733px; height: 600px; overflow: auto; } ul.pres { list-style: circle; font-size: 24pt; } ul.level2 { list-style: circle; font-size: 20pt; margin-left: 40px; margin-top: -15px; } li.pres_bullet { font-size: 28pt; margin-right: 40px; } li.pres_bullet_nr { font-size: 28pt; margin-right: 40px; list-style-type: decimal; } ul.large div li.pres_bullet { font-size: 40pt; } ul.small div li.pres_bullet { font-size: 20pt; } div.title_blurb { font-size: 80px; text-align: center; font-weight: bold; } div.small_blurb { font-size: 24px; } div.blurb, div.bit_larger_output_text { font-size: 28pt; width: 100%; } div.bit_larger_output_text { margin-top: 10px; } div.x_small_blurb { font-size: 0.5em; } div.large_blurb { font-size: 32pt; } div.large_blurb_center { font-size: 48px; text-align: center; } div.quote { font-size: 48px; text-align: center; margin-left: 40px; margin-right: 40px; } div.quote_attr { font-size: 32px; text-align: right; margin-right: 40px; } div.xx_large_blurb_center { font-size: 80px; text-align: center; } div.q_mark { text-align: center; font-size: 480px; } div.shadow, code { font-size: 18px; width: 640px; } div.example code, div.highlight code, div.bit_larger, div.bit_larger code, div.bit_larger_output { background: #eee; font-size: 23px; width: 100%; } div.example, div.highlight, div.bit_larger, div.bit_larger_output { margin-left: 20px; margin-right: 20px; } div.large code, div.large { font-size: 32px; background: #eee; font-weight: bold; margin-left: 20px; margin-right: 20px; } div.highlight code, div.highlight { background: #fffc00; font-weight: bold; } div.code_small, div.code_medium, div.code_large, div.example { background: #eee; } div.code_small code { font-size: 12px; } div.code_medium code, div.code_medium pre { font-size: 20px; } div.code_large code, div.code_large pre { font-size: 24px; } div.example pre { font-size: 23px; } div.event, div.event-date, div.event-presenter { text-align: center; font-size: 32pt; } div.pres-url-small { text-align: center; font-size: 24pt; } img.spaced { margin-right: 25px; margin-left: 25px; margin-top: 25px; margin-bottom: 25px; } table { font-size: 20pt; } </style> http://cvs.php.net/co.php/presentations/slides/time/basic-dst-examples.xml?r=1.1&p=1 Index: presentations/slides/time/basic-dst-examples.xml +++ presentations/slides/time/basic-dst-examples.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Examples with Daylight Savings Time</title> <example><![CDATA[<?php ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-modyfing.xml?r=1.1&p=1 Index: presentations/slides/time/basic-modyfing.xml +++ presentations/slides/time/basic-modyfing.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Modifying Dates</title> <example><![CDATA[<?php ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-other-mods.xml?r=1.1&p=1 Index: presentations/slides/time/basic-other-mods.xml +++ presentations/slides/time/basic-other-mods.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Other modifications</title> <list> <bullet>The ~date()~ / ~gmdate()~ and ~strftime()~ functions can also accepts a Date object instead of a timestamp</bullet> <bullet>The ~getdate()~ function also accepts a Date object as first parameter</bullet> <bullet>The ~Date::mktime()~ and ~Date::gmmktime()~ functions return a Date object</bullet> <bullet>The ~localtime()~ function also accepts a Date object as first parameter</bullet> <bullet>~Date::time()~ returns a Date object representing the current time</bullet> <bullet>All other date related functions are aliased into the Date class as static methods</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-parse-time-new.xml?r=1.1&p=1 Index: presentations/slides/time/basic-parse-time-new.xml +++ presentations/slides/time/basic-parse-time-new.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Parsing Dates - Take #2</title> <blurb>Parsing strings for date time information with the ~strtotime()~ function:</blurb> <example><![CDATA[<?php $ts = Date::strtotime("2005-07-11 22:16:50 CEST"); ?>]]></example> <break/> <blurb>With initial timestamp:</blurb> <example><![CDATA[<?php $date = Date::strtotime("2005-07-11 22:16:50 CEST"); $ts = Date::strtotime("next week", $date); ?>]]></example> <break/> <blurb>The function calls are exactly the same, except that they will not return an integer, but instead they return a Date object which is a wrapper around a 64 bit integer (with some additional functionality ofcourse).</blurb> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-parse-time.xml?r=1.1&p=1 Index: presentations/slides/time/basic-parse-time.xml +++ presentations/slides/time/basic-parse-time.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Parsing Dates</title> <blurb>Parsing strings for date time information with the ~strtotime()~ function:</blurb> <example><![CDATA[<?php $ts = strtotime("2005-07-11 22:16:50 CEST"); ?>]]></example> <break/> <blurb>With initial timestamp:</blurb> <example><![CDATA[<?php $date = strtotime("2005-07-11 22:16:50 CEST"); $ts = strtotime("next week", $date); ?>]]></example> <break/> <blurb>The timestamps returned are still 32 bit signed integers as this is all that PHP supports.</blurb> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-using-zones.xml?r=1.1&p=1 Index: presentations/slides/time/basic-using-zones.xml +++ presentations/slides/time/basic-using-zones.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Using Timezones</title> <blurb>Specifying timezone abbreviation while parsing:</blurb> <example><![CDATA[<?php $ts = Date::strtotime("1978-12-22 09:15 CET"); ?>]]></example> <break lines="3"/> <blurb>Specifying timezone identifier while parsing:</blurb> <example><![CDATA[<?php $ts = Date::strtotime("1978-12-22 09:15 Europe/Oslo"); ?>]]></example> <break lines="3"/> <blurb>Setting a default timezone:</blurb> <example><![CDATA[<?php Date::setDefaultTimezone("Europe/Oslo"); $ts = Date::strtotime("1978-12-22 09:15"); ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/class-date.xml?r=1.1&p=1 Index: presentations/slides/time/class-date.xml +++ presentations/slides/time/class-date.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date Class</title> <example><![CDATA[<?php class Date { function __construct(/*int*/ timestamp); function __construct(Date dateObj); function setTimezone(/*string*/ timezone); function modify(/*string*/ modify_string); } ?>]]></example> <break/> </slide> http://cvs.php.net/co.php/presentations/slides/time/class-zone.xml?r=1.1&p=1 Index: presentations/slides/time/class-zone.xml +++ presentations/slides/time/class-zone.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Timezone Class</title> <example><![CDATA[<?php class Timezone { function __construct(/*string*/ identifier); function getOffset(Date dateObj); function loadFromAbbreviation(/*string*/ abbr); } ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/current-functions.xml?r=1.1&p=1 Index: presentations/slides/time/current-functions.xml +++ presentations/slides/time/current-functions.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 4 and PHP 5.0</title> <list> <bullet>~checkdate()~ -- Validate a Gregorian date</bullet> <bullet>~date()~ / ~gmdate()~ -- Format a local/GMT time/date</bullet> <bullet>~getdate()~ -- Get date/time information (from a timestamp)</bullet> <bullet>~gettimeofday()~ -- Get current time (as an array)</bullet> <bullet>~localtime()~ -- Get the local time (as an array)</bullet> <bullet>~mktime()~ / ~gmmktime()~ -- Get Unix timestamp for a date</bullet> <bullet>~strftime()~ / ~gmstrftime()~ -- Format a local/GMT time/date according to locale settings</bullet> <bullet>~strtotime()~ -- Parse about any English textual datetime description into a Unix timestamp</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/current-limitations.xml?r=1.1&p=1 Index: presentations/slides/time/current-limitations.xml +++ presentations/slides/time/current-limitations.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 4 and PHP 5.0</title> <subtitle>Limitations</subtitle> <list> <bullet>Uses Unix timestamp as base unit (seconds since 1970-01-01, 00:00 GMT)</bullet> <bullet>Only 32 bit integers for timestamps (1902 to 2038)</bullet> <bullet>Limited to only positive numbers on some Operating Systems (1970 to 2038)</bullet> <bullet>~strtotime()~ is buggy and very complex</bullet> <bullet>No way of dealing correctly with timezones</bullet> <bullet>Some functions are Operating System dependent</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/improvements-formats.xml?r=1.1&p=1 Index: presentations/slides/time/improvements-formats.xml +++ presentations/slides/time/improvements-formats.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 5.1</title> <subtitle>String Formats</subtitle> <blurb>"American" formats:</blurb> <example>9/11 4:08 pm 12/22/78 8:51:00 am</example> <break/> <blurb>"Combined" formats:</blurb> <example>Sat, 24 Apr 2004 21:48:40 +0200 2001-11-29T13:20:01.123-05:00</example> <break/> <blurb>Descriptive formats:</blurb> <example>tomorrow last saturday four months ago +40 days 2 hours</example> <break/> <blurb>Textual formats:</blurb> <example>December 22. 1978 22-december-78</example> <break/> <blurb>All ISO 8601 formats:</blurb> <example>1978/12/22 1978-12-22 70-4-25 13:03:12.45678 15:57:41.0 pdt 13:03 CEST 13:03:12.45678 +0100 13:03:12.45678 CEST 04:05 -0930 15:57-8 231431 CEST 23:41F</example> <break/> <blurb>Database specific formats:</blurb> <example>1999-Jan-08 1999.238</example> </slide> http://cvs.php.net/co.php/presentations/slides/time/improvements-overview.xml?r=1.1&p=1 Index: presentations/slides/time/improvements-overview.xml +++ presentations/slides/time/improvements-overview.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 5.1</title> <subtitle>Improvements</subtitle> <list> <bullet>64 bit timestamps (more than Sun's life)</bullet> <bullet>~strtotime()~ has been rewritten</bullet> <bullet>Nothing is Operating System dependent</bullet> <bullet>Full support for timezones, DST, date modifications</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/improvements-timezones.xml?r=1.1&p=1 Index: presentations/slides/time/improvements-timezones.xml +++ presentations/slides/time/improvements-timezones.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 5.1</title> <subtitle>Timezone Support</subtitle> <list> <bullet>Bundled timezone database with 533 zones</bullet> <bullet>Not dependent on timezone abbreviations</bullet> <bullet>Timezones have the format: Continent/Location or Continent/Location/Sublocation - Like: Europe/Amsterdam, America/Indiana/Knox</bullet> </list> <image align="center" filename="zone-places.png"/> </slide> http://cvs.php.net/co.php/presentations/slides/time/oo-classes.xml?r=1.1&p=1 Index: presentations/slides/time/oo-classes.xml +++ presentations/slides/time/oo-classes.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>OO Interface</title> <example><![CDATA[<?php ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-dst.xml?r=1.1&p=1 Index: presentations/slides/time/problems-dst.xml +++ presentations/slides/time/problems-dst.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Daylight Savings Time</subtitle> <list> <bullet>Artificial time offset to save "daylight"</bullet> <bullet>Not all countires/areas use it</bullet> <bullet>Switches are not done at the same time for all areas</bullet> <bullet>There are plenty of exceptions</bullet> </list> <image align="center" filename="usa-zones.png"/> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-dst2.xml?r=1.1&p=1 Index: presentations/slides/time/problems-dst2.xml +++ presentations/slides/time/problems-dst2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Daylight Savings Time (Indiana)</subtitle> <image align="right" filename="indiana.png"/> <blurb>Three different rules:</blurb> <list> <bullet>Most counties: Eastern, no DST</bullet> <bullet>Counties |ff5555|close| to Chicago and Evansvile: Central, DST</bullet> <bullet>Counties |5555ff|close| to Cincinnatti and Lousville: Eastern, DST</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-dst3.xml?r=1.1&p=1 Index: presentations/slides/time/problems-dst3.xml +++ presentations/slides/time/problems-dst3.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Other problems with DST and timezones</subtitle> <image align="center" filename="dst-strange.png"/> <list> <bullet>|5555ff|Australia| has vertical timezones</bullet> <bullet>|55ff55|Brazil| changes change-over dates every year</bullet> <bullet>Lord Howe Island (Australia) moves only half an hour between DST and non-DST</bullet> <bullet>|ff5555|Nepal| uses an quarter of an hour offsets</bullet> <bullet>And this continues for a while...</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-string-representation.xml?r=1.1&p=1 Index: presentations/slides/time/problems-string-representation.xml +++ presentations/slides/time/problems-string-representation.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems with Dates and Time</title> <subtitle>Date representation</subtitle> <blurb>Ambiguities:</blurb> <example class="bit_larger">06 08 04</example> <list> <bullet>August 6th, 2004</bullet> <bullet>June 8th, 2004</bullet> <bullet>August 4th, 2006</bullet> </list> <break lines="2"/> <blurb>Unreadable:</blurb> <example class="bit_larger">20040425010541</example> <list> <bullet>April 25th, 2005, 01:05:41</bullet> </list> <break lines="2"/> <blurb>"Weird" formats:</blurb> <example class="bit_larger">third saturday 2004-03-10 16:33:17.11403+01 2001-11-29T13:20:01.123-05:00 23:41:00.0Z 04:05:07.789 +0930 1999.238</example> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-timezone-abbr.xml?r=1.1&p=1 Index: presentations/slides/time/problems-timezone-abbr.xml +++ presentations/slides/time/problems-timezone-abbr.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Timezone Abbreviations</subtitle> <blurb>One identifier can mean different zones:</blurb> <list> <bullet>PST: ~P~acific ~S~tandard ~T~ime, ~P~akistan ~S~tandard ~T~ime</bullet> <bullet>EST: ~E~astern ~S~tandard ~T~ime (USA), ~E~astern ~S~tandard ~T~ime (Australia) and ~E~astern ~B~razil ~S~tandard ~T~ime</bullet> </list> <break lines="2"/> <blurb>One zone can have multiple identifiers</blurb> <list> <bullet>Central Europe Summer Time: CEST or CETDST</bullet> </list> <blurb>Names can be different on Operating Systems</blurb> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-timezones.xml?r=1.1&p=1 Index: presentations/slides/time/problems-timezones.xml +++ presentations/slides/time/problems-timezones.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Timezones</subtitle> <image align="center" filename="zones.png"/> <list> <bullet>Most places have whole-hour timezone offsets</bullet> <bullet>Some places have half-hour or even quarter-hour timezone offsets</bullet> <bullet>Some places change timezones during the year</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/what-is-time.xml?r=1.1&p=1 Index: presentations/slides/time/what-is-time.xml +++ presentations/slides/time/what-is-time.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>What is Time?</title> <blurb class="quote">This thing all things devours: Birds, beasts, trees, flowers; Gnaws iron, bites steel, Grinds hard stones to meal; Slays king, ruins town, And beats high mountain down.</blurb> <break/> <image align="center" filename="clocks.jpg"/> </slide> http://cvs.php.net/co.php/presentations/slides/time/what-is-time2.xml?r=1.1&p=1 Index: presentations/slides/time/what-is-time2.xml +++ presentations/slides/time/what-is-time2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>What is Time?</title> <list> <bullet>Time quantifies or measures the interval between events, or the duration of events. ~(wikipedia)~</bullet> <bullet>The standard unit for time is the SI second.</bullet> <bullet>A second is the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-133 atom.</bullet> <bullet>We use larger units: minute, hour, day, week, month, year, century.</bullet> <bullet>Those additional units make things hard.</bullet> </list> </slide>
http://cvs.php.net/diff.php/presentations/clustering-ezcamp2005.xml?r1=1.1&r2=1.2&ty=u Index: presentations/clustering-ezcamp2005.xml diff -u presentations/clustering-ezcamp2005.xml:1.1 presentations/clustering-ezcamp2005.xml:1.2 --- presentations/clustering-ezcamp2005.xml:1.1 Thu Jun 2 09:30:28 2005 +++ presentations/clustering-ezcamp2005.xml Wed Jun 8 09:49:54 2005 @@ -42,6 +42,7 @@ <slide>slides/clustering/static-cache-diagram.xml</slide> <slide>slides/clustering/static-cache-words-and-numbers.xml</slide> <slide>slides/clustering/static-cache-config.xml</slide> +<slide>slides/clustering/static-cache-update.xml</slide> <slide>slides/clustering/resources.xml</slide> http://cvs.php.net/co.php/presentations/symphony-migration.xml?r=1.1&p=1 Index: presentations/symphony-migration.xml +++ presentations/symphony-migration.xml <?xml version="1.0" encoding="iso-8859-1"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/perf/ezp.css" backgroundfixed="1" > <topic>PHP 5</topic> <title>Migrating from PHP 4 to PHP 5</title> <event>php|symphony</event> <location>On-line</location> <date>May 27, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <slide>slides/migrating/title.xml</slide> <!-- NEW STUFF --> <slide>slides/php5intro/nl/oldobjectmodel2.xml</slide> <slide>slides/php5intro/nl/newobjectmodel.xml</slide> <slide>slides/migrating/clone.xml</slide> <slide>slides/migrating/clone-compat.xml</slide> <slide>slides/php5_intro/obj_static.xml</slide> <slide>slides/php5_intro/obj_final.xml</slide> <slide>slides/php5_intro/obj_const.xml</slide> <slide>slides/php5_intro/obj_indirect.xml</slide> <slide>slides/php5_intro/obj_autoload.xml</slide> <slide>slides/php5_intro/obj_get_set.xml</slide> <slide>slides/php5_intro/obj_method_over.xml</slide> <slide>slides/php5_intro/obj_abstract.xml</slide> <slide>slides/php5_intro/obj_interface.xml</slide> <slide>slides/php5_intro/obj_exceptions.xml</slide> <slide>slides/php5_intro/obj_tostring.xml</slide> <slide>slides/php5_intro/spl_intro.xml</slide> <slide>slides/php5_intro/spl_ex1.xml</slide> <!-- COMPAT CHANGES (OO) --> <slide>slides/migrating/casting4.xml</slide> <slide>slides/migrating/casting5.xml</slide> <slide>slides/migrating/comparing4.xml</slide> <slide>slides/migrating/comparing5.xml</slide> <slide>slides/migrating/compat-mode.xml</slide> <slide>slides/migrating/this.xml</slide> <slide>slides/migrating/get_class.xml</slide> <slide>slides/migrating/e_strict.xml</slide> <slide>slides/migrating/var_vs_public.xml</slide> <slide>slides/migrating/constructors.xml</slide> <slide>slides/migrating/automagic_objects.xml</slide> <slide>slides/migrating/signatures.xml</slide> <slide>slides/migrating/define-before-use.xml</slide> <!-- COMPAT CHANGES (OTHERS --> <slide>slides/migrating/array_merge.xml</slide> <slide>slides/migrating/strrpos.xml</slide> <slide>slides/migrating/ip2long.xml</slide> <slide>slides/migrating/cli.xml</slide> <slide>slides/migrating/mysql.xml</slide> <!-- XML STUFF --> <slide>slides/php5_intro/xml_intro.xml</slide> <slide>slides/php5_intro/simplexml.xml</slide> <slide>slides/php5_intro/dom.xml</slide> <slide>slides/php5_intro/dom_ex.xml</slide> <slide>slides/php5_intro/xsl.xml</slide> <slide>slides/php5_intro/xsl_ex.xml</slide> <slide>slides/php5_intro/soap.xml</slide> <slide>slides/php5_intro/soap_ex.xml</slide> <slide>slides/php5_intro/sqlite_intro.xml</slide> <slide>slides/php5_intro/sqlite_ex.xml</slide> <slide>slides/php5_intro/sqlite_ex2.xml</slide> <!-- OTHER COOL STUFF --> <slide>slides/php5_intro/tidy_intro.xml</slide> <slide>slides/php5_intro/tidy_ex1.xml</slide> <slide>slides/php5_intro/tidy_ex2.xml</slide> <slide>slides/php5_intro/streams_intro.xml</slide> <slide>slides/php5_intro/streams_ex1.xml</slide> <slide>slides/php5_intro/streams_ex2.xml</slide> <slide>slides/xdebug/questions.xml</slide> <slide>slides/migrating/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/clustering/static-cache-update.xml?r=1.1&p=1 Index: presentations/slides/clustering/static-cache-update.xml +++ presentations/slides/clustering/static-cache-update.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Static Cache</title> <subtitle>Updating</subtitle> <blurb>On publish:</blurb> <list> <bullet>The published node's cache</bullet> <bullet>The parent node's cache of the published node</bullet> <bullet>Everything from the ~AlwaysUpdateArray~ array</bullet> </list> <break/> <blurb>With a script:</blurb> <break/> <example>php bin/php/makestaticcache.php -s ezno -f</example> <break lines="2"/> <blurb>Nodes are cached as:</blurb> <break/> <list> <bullet>The 'fancy' url name (news/my_article)</bullet> <bullet>content/view/full/~nodeid~</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/perf/ezp-gausta.css?r=1.1&p=1 Index: presentations/slides/perf/ezp-gausta.css +++ presentations/slides/perf/ezp-gausta.css <style title="Default" type="text/css"> body { font-size: 10pt; margin-left:290px; margin-right:0em; margin-bottom:0em; background-image: url(presentations/slides/perf/ezp-gausta.png); background-attachment: fixed; } div.sticky { margin: 0; position: fixed; top: 0em; left: 290px; right: auto; bottom: auto; } div.navbar { padding: 4; margin: 0; height: 14em; font-family: verdana, tahoma, arial, helvetica, sans-serif; z-index: 99; } div.navbar_title, div.navbar_title a, div.subtitle { font-size: 32px; color: #698fe5; text-decoration: none; text-align: left; font-weight: bold; margin-top: 20px; } div.subtitle { margin-top: 5px; font-size: 24; font-weight: normal; font-style: italic; } div.navbar_nr a { font-size: 16px; color: #77a; text-decoration: none; position: fixed; right: 10px; bottom: 0px; } div.mainarea { margin-top: 120px; top: 150px; width: 733px; height: 600px; overflow: auto; } ul.pres { list-style: circle; font-size: 24pt; } ul.level2 { list-style: circle; font-size: 20pt; margin-left: 40px; margin-top: -15px; } li.pres_bullet { font-size: 28pt; margin-right: 40px; } li.pres_bullet_nr { font-size: 28pt; margin-right: 40px; list-style-type: decimal; } ul.large div li.pres_bullet { font-size: 40pt; } ul.small div li.pres_bullet { font-size: 20pt; } div.title_blurb { font-size: 80px; text-align: center; font-weight: bold; } div.small_blurb { font-size: 24px; } div.blurb, div.bit_larger_output_text { font-size: 28pt; width: 100%; } div.bit_larger_output_text { margin-top: 10px; } div.x_small_blurb { font-size: 0.5em; } div.large_blurb { font-size: 32pt; } div.large_blurb_center { font-size: 48px; text-align: center; } div.quote { font-size: 48px; text-align: center; margin-left: 40px; margin-right: 40px; } div.quote_attr { font-size: 32px; text-align: right; margin-right: 40px; } div.xx_large_blurb_center { font-size: 80px; text-align: center; } div.q_mark { text-align: center; font-size: 480px; } div.shadow, code { font-size: 18px; width: 640px; } div.example code, div.highlight code, div.bit_larger, div.bit_larger code, div.bit_larger_output { background: #eee; font-size: 23px; width: 100%; } div.example, div.highlight, div.bit_larger, div.bit_larger_output { margin-left: 20px; margin-right: 20px; } div.large code, div.large { font-size: 32px; background: #eee; font-weight: bold; margin-left: 20px; margin-right: 20px; } div.highlight code, div.highlight { background: #fffc00; font-weight: bold; } div.code_small, div.code_medium, div.code_large, div.example { background: #eee; } div.code_small code { font-size: 12px; } div.code_medium code, div.code_medium pre { font-size: 20px; } div.code_large code, div.code_large pre { font-size: 24px; } div.example pre { font-size: 23px; } div.event, div.event-date, div.event-presenter { text-align: center; font-size: 32pt; } div.pres-url-small { text-align: center; font-size: 24pt; } img.spaced { margin-right: 25px; margin-left: 25px; margin-top: 25px; margin-bottom: 25px; } table { font-size: 20pt; } </style> http://cvs.php.net/co.php/presentations/slides/time/basic-dst-examples.xml?r=1.1&p=1 Index: presentations/slides/time/basic-dst-examples.xml +++ presentations/slides/time/basic-dst-examples.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Examples with Daylight Savings Time</title> <example><![CDATA[<?php ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-modyfing.xml?r=1.1&p=1 Index: presentations/slides/time/basic-modyfing.xml +++ presentations/slides/time/basic-modyfing.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Modifying Dates</title> <example><![CDATA[<?php ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-other-mods.xml?r=1.1&p=1 Index: presentations/slides/time/basic-other-mods.xml +++ presentations/slides/time/basic-other-mods.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Other modifications</title> <list> <bullet>The ~date()~ / ~gmdate()~ and ~strftime()~ functions can also accepts a Date object instead of a timestamp</bullet> <bullet>The ~getdate()~ function also accepts a Date object as first parameter</bullet> <bullet>The ~Date::mktime()~ and ~Date::gmmktime()~ functions return a Date object</bullet> <bullet>The ~localtime()~ function also accepts a Date object as first parameter</bullet> <bullet>~Date::time()~ returns a Date object representing the current time</bullet> <bullet>All other date related functions are aliased into the Date class as static methods</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-parse-time-new.xml?r=1.1&p=1 Index: presentations/slides/time/basic-parse-time-new.xml +++ presentations/slides/time/basic-parse-time-new.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Parsing Dates - Take #2</title> <blurb>Parsing strings for date time information with the ~strtotime()~ function:</blurb> <example><![CDATA[<?php $ts = Date::strtotime("2005-07-11 22:16:50 CEST"); ?>]]></example> <break/> <blurb>With initial timestamp:</blurb> <example><![CDATA[<?php $date = Date::strtotime("2005-07-11 22:16:50 CEST"); $ts = Date::strtotime("next week", $date); ?>]]></example> <break/> <blurb>The function calls are exactly the same, except that they will not return an integer, but instead they return a Date object which is a wrapper around a 64 bit integer (with some additional functionality ofcourse).</blurb> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-parse-time.xml?r=1.1&p=1 Index: presentations/slides/time/basic-parse-time.xml +++ presentations/slides/time/basic-parse-time.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Parsing Dates</title> <blurb>Parsing strings for date time information with the ~strtotime()~ function:</blurb> <example><![CDATA[<?php $ts = strtotime("2005-07-11 22:16:50 CEST"); ?>]]></example> <break/> <blurb>With initial timestamp:</blurb> <example><![CDATA[<?php $date = strtotime("2005-07-11 22:16:50 CEST"); $ts = strtotime("next week", $date); ?>]]></example> <break/> <blurb>The timestamps returned are still 32 bit signed integers as this is all that PHP supports.</blurb> </slide> http://cvs.php.net/co.php/presentations/slides/time/basic-using-zones.xml?r=1.1&p=1 Index: presentations/slides/time/basic-using-zones.xml +++ presentations/slides/time/basic-using-zones.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Using Timezones</title> <blurb>Specifying timezone abbreviation while parsing:</blurb> <example><![CDATA[<?php $ts = Date::strtotime("1978-12-22 09:15 CET"); ?>]]></example> <break lines="3"/> <blurb>Specifying timezone identifier while parsing:</blurb> <example><![CDATA[<?php $ts = Date::strtotime("1978-12-22 09:15 Europe/Oslo"); ?>]]></example> <break lines="3"/> <blurb>Setting a default timezone:</blurb> <example><![CDATA[<?php Date::setDefaultTimezone("Europe/Oslo"); $ts = Date::strtotime("1978-12-22 09:15"); ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/class-date.xml?r=1.1&p=1 Index: presentations/slides/time/class-date.xml +++ presentations/slides/time/class-date.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date Class</title> <example><![CDATA[<?php class Date { function __construct(/*int*/ timestamp); function __construct(Date dateObj); function setTimezone(/*string*/ timezone); function modify(/*string*/ modify_string); } ?>]]></example> <break/> </slide> http://cvs.php.net/co.php/presentations/slides/time/class-zone.xml?r=1.1&p=1 Index: presentations/slides/time/class-zone.xml +++ presentations/slides/time/class-zone.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Timezone Class</title> <example><![CDATA[<?php class Timezone { function __construct(/*string*/ identifier); function getOffset(Date dateObj); function loadFromAbbreviation(/*string*/ abbr); } ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/current-functions.xml?r=1.1&p=1 Index: presentations/slides/time/current-functions.xml +++ presentations/slides/time/current-functions.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 4 and PHP 5.0</title> <list> <bullet>~checkdate()~ -- Validate a Gregorian date</bullet> <bullet>~date()~ / ~gmdate()~ -- Format a local/GMT time/date</bullet> <bullet>~getdate()~ -- Get date/time information (from a timestamp)</bullet> <bullet>~gettimeofday()~ -- Get current time (as an array)</bullet> <bullet>~localtime()~ -- Get the local time (as an array)</bullet> <bullet>~mktime()~ / ~gmmktime()~ -- Get Unix timestamp for a date</bullet> <bullet>~strftime()~ / ~gmstrftime()~ -- Format a local/GMT time/date according to locale settings</bullet> <bullet>~strtotime()~ -- Parse about any English textual datetime description into a Unix timestamp</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/current-limitations.xml?r=1.1&p=1 Index: presentations/slides/time/current-limitations.xml +++ presentations/slides/time/current-limitations.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 4 and PHP 5.0</title> <subtitle>Limitations</subtitle> <list> <bullet>Uses Unix timestamp as base unit (seconds since 1970-01-01, 00:00 GMT)</bullet> <bullet>Only 32 bit integers for timestamps (1902 to 2038)</bullet> <bullet>Limited to only positive numbers on some Operating Systems (1970 to 2038)</bullet> <bullet>~strtotime()~ is buggy and very complex</bullet> <bullet>No way of dealing correctly with timezones</bullet> <bullet>Some functions are Operating System dependent</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/improvements-formats.xml?r=1.1&p=1 Index: presentations/slides/time/improvements-formats.xml +++ presentations/slides/time/improvements-formats.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 5.1</title> <subtitle>String Formats</subtitle> <blurb>"American" formats:</blurb> <example>9/11 4:08 pm 12/22/78 8:51:00 am</example> <break/> <blurb>"Combined" formats:</blurb> <example>Sat, 24 Apr 2004 21:48:40 +0200 2001-11-29T13:20:01.123-05:00</example> <break/> <blurb>Descriptive formats:</blurb> <example>tomorrow last saturday four months ago +40 days 2 hours</example> <break/> <blurb>Textual formats:</blurb> <example>December 22. 1978 22-december-78</example> <break/> <blurb>All ISO 8601 formats:</blurb> <example>1978/12/22 1978-12-22 70-4-25 13:03:12.45678 15:57:41.0 pdt 13:03 CEST 13:03:12.45678 +0100 13:03:12.45678 CEST 04:05 -0930 15:57-8 231431 CEST 23:41F</example> <break/> <blurb>Database specific formats:</blurb> <example>1999-Jan-08 1999.238</example> </slide> http://cvs.php.net/co.php/presentations/slides/time/improvements-overview.xml?r=1.1&p=1 Index: presentations/slides/time/improvements-overview.xml +++ presentations/slides/time/improvements-overview.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 5.1</title> <subtitle>Improvements</subtitle> <list> <bullet>64 bit timestamps (more than Sun's life)</bullet> <bullet>~strtotime()~ has been rewritten</bullet> <bullet>Nothing is Operating System dependent</bullet> <bullet>Full support for timezones, DST, date modifications</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/improvements-timezones.xml?r=1.1&p=1 Index: presentations/slides/time/improvements-timezones.xml +++ presentations/slides/time/improvements-timezones.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Date/Time Functions in PHP 5.1</title> <subtitle>Timezone Support</subtitle> <list> <bullet>Bundled timezone database with 533 zones</bullet> <bullet>Not dependent on timezone abbreviations</bullet> <bullet>Timezones have the format: Continent/Location or Continent/Location/Sublocation - Like: Europe/Amsterdam, America/Indiana/Knox</bullet> </list> <image align="center" filename="zone-places.png"/> </slide> http://cvs.php.net/co.php/presentations/slides/time/oo-classes.xml?r=1.1&p=1 Index: presentations/slides/time/oo-classes.xml +++ presentations/slides/time/oo-classes.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>OO Interface</title> <example><![CDATA[<?php ?>]]></example> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-dst.xml?r=1.1&p=1 Index: presentations/slides/time/problems-dst.xml +++ presentations/slides/time/problems-dst.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Daylight Savings Time</subtitle> <list> <bullet>Artificial time offset to save "daylight"</bullet> <bullet>Not all countires/areas use it</bullet> <bullet>Switches are not done at the same time for all areas</bullet> <bullet>There are plenty of exceptions</bullet> </list> <image align="center" filename="usa-zones.png"/> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-dst2.xml?r=1.1&p=1 Index: presentations/slides/time/problems-dst2.xml +++ presentations/slides/time/problems-dst2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Daylight Savings Time (Indiana)</subtitle> <image align="right" filename="indiana.png"/> <blurb>Three different rules:</blurb> <list> <bullet>Most counties: Eastern, no DST</bullet> <bullet>Counties |ff5555|close| to Chicago and Evansvile: Central, DST</bullet> <bullet>Counties |5555ff|close| to Cincinnatti and Lousville: Eastern, DST</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-dst3.xml?r=1.1&p=1 Index: presentations/slides/time/problems-dst3.xml +++ presentations/slides/time/problems-dst3.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Other problems with DST and timezones</subtitle> <image align="center" filename="dst-strange.png"/> <list> <bullet>|5555ff|Australia| has vertical timezones</bullet> <bullet>|55ff55|Brazil| changes change-over dates every year</bullet> <bullet>Lord Howe Island (Australia) moves only half an hour between DST and non-DST</bullet> <bullet>|ff5555|Nepal| uses an quarter of an hour offsets</bullet> <bullet>And this continues for a while...</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-string-representation.xml?r=1.1&p=1 Index: presentations/slides/time/problems-string-representation.xml +++ presentations/slides/time/problems-string-representation.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems with Dates and Time</title> <subtitle>Date representation</subtitle> <blurb>Ambiguities:</blurb> <example class="bit_larger">06 08 04</example> <list> <bullet>August 6th, 2004</bullet> <bullet>June 8th, 2004</bullet> <bullet>August 4th, 2006</bullet> </list> <break lines="2"/> <blurb>Unreadable:</blurb> <example class="bit_larger">20040425010541</example> <list> <bullet>April 25th, 2005, 01:05:41</bullet> </list> <break lines="2"/> <blurb>"Weird" formats:</blurb> <example class="bit_larger">third saturday 2004-03-10 16:33:17.11403+01 2001-11-29T13:20:01.123-05:00 23:41:00.0Z 04:05:07.789 +0930 1999.238</example> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-timezone-abbr.xml?r=1.1&p=1 Index: presentations/slides/time/problems-timezone-abbr.xml +++ presentations/slides/time/problems-timezone-abbr.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Timezone Abbreviations</subtitle> <blurb>One identifier can mean different zones:</blurb> <list> <bullet>PST: ~P~acific ~S~tandard ~T~ime, ~P~akistan ~S~tandard ~T~ime</bullet> <bullet>EST: ~E~astern ~S~tandard ~T~ime (USA), ~E~astern ~S~tandard ~T~ime (Australia) and ~E~astern ~B~razil ~S~tandard ~T~ime</bullet> </list> <break lines="2"/> <blurb>One zone can have multiple identifiers</blurb> <list> <bullet>Central Europe Summer Time: CEST or CETDST</bullet> </list> <blurb>Names can be different on Operating Systems</blurb> </slide> http://cvs.php.net/co.php/presentations/slides/time/problems-timezones.xml?r=1.1&p=1 Index: presentations/slides/time/problems-timezones.xml +++ presentations/slides/time/problems-timezones.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>Problems</title> <subtitle>Timezones</subtitle> <image align="center" filename="zones.png"/> <list> <bullet>Most places have whole-hour timezone offsets</bullet> <bullet>Some places have half-hour or even quarter-hour timezone offsets</bullet> <bullet>Some places change timezones during the year</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/time/what-is-time.xml?r=1.1&p=1 Index: presentations/slides/time/what-is-time.xml +++ presentations/slides/time/what-is-time.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>What is Time?</title> <blurb class="quote">This thing all things devours: Birds, beasts, trees, flowers; Gnaws iron, bites steel, Grinds hard stones to meal; Slays king, ruins town, And beats high mountain down.</blurb> <break/> <image align="center" filename="clocks.jpg"/> </slide> http://cvs.php.net/co.php/presentations/slides/time/what-is-time2.xml?r=1.1&p=1 Index: presentations/slides/time/what-is-time2.xml +++ presentations/slides/time/what-is-time2.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide> <title>What is Time?</title> <list> <bullet>Time quantifies or measures the interval between events, or the duration of events. ~(wikipedia)~</bullet> <bullet>The standard unit for time is the SI second.</bullet> <bullet>A second is the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-133 atom.</bullet> <bullet>We use larger units: minute, hour, day, week, month, year, century.</bullet> <bullet>Those additional units make things hard.</bullet> </list> </slide>