cvs: presentations / srm-webtech2005.xml /slides/srm daemon-paradigm.png daemon-paradigm.xml demo-cluster-5.xml design.xml design2.xml future3.xml
moving.xml online4.xml remote-pizza.png remote-pizza.xml remote-resource.xml remote-resources.png remote-variables.png request-paradigm-limitation.xml
request-paradigm.png request-paradigm.xml resources.xml srm-design.png srm-design2.png
| From: | Derick Rethans | Date: | Tue, 19 Apr 2005 07:38:35 +0000 |
| Subject: | cvs: presentations / srm-webtech2005.xml /slides/srm daemon-paradigm.png daemon-paradigm.xml demo-cluster-5.xml design.xml design2.xml future3.xml moving.xml online4.xml remote-pizza.png remote-pizza.xml remote-resource.xml remote-resources.png remote-variables.png request-paradigm-limitation.xml request-paradigm.png request-paradigm.xml resources.xml srm-design.png srm-design2.png |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1113@lists.php.net to get a copy of this message | ||
derick Tue Apr 19 03:38:35 2005 EDT
Added files:
/presentations srm-webtech2005.xml
/presentations/slides/srm daemon-paradigm.png daemon-paradigm.xml
design2.xml online4.xml remote-pizza.png
remote-pizza.xml remote-resource.xml
remote-resources.png remote-variables.png
request-paradigm-limitation.xml
request-paradigm.png request-paradigm.xml
srm-design2.png
Modified files:
/presentations/slides/srm demo-cluster-5.xml design.xml future3.xml
moving.xml resources.xml srm-design.png
Log:
- Added WebTech talk.
http://cvs.php.net/diff.php/presentations/slides/srm/demo-cluster-5.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/srm/demo-cluster-5.xml diff -u presentations/slides/srm/demo-cluster-5.xml:1.1 presentations/slides/srm/demo-cluster-5.xml:1.2 --- presentations/slides/srm/demo-cluster-5.xml:1.1 Fri Nov 5 11:05:58 2004 +++ presentations/slides/srm/demo-cluster-5.xml Tue Apr 19 03:38:34 2005 @@ -4,19 +4,19 @@ <subtitle>Usage</subtitle> <example><![CDATA[<?php - echo "This is a simulation of uploading a file.\nHere we go:\n\n"; +echo "This is a simulation of uploading a file.\nHere we go:\n\n"; - echo "Uploading file"; flush(); - for ($i = 0; $i < 3; $i++) { - sleep(1); - echo "..."; flush(); - } - echo "Done\n\n\n"; - - echo "Now we register the uploaded file with the SRM daemon... "; - $s = new SRM('/tmp/srm.socket.main'); - $s->handle_uploaded_file('host', '/path/to/file', 'Our New File'); - echo "Done!\n"; +echo "Uploading file"; flush(); +for ($i = 0; $i < 3; $i++) { + sleep(1); + echo "..."; flush(); +} +echo "Done\n\n\n"; + +echo "Now we register the uploaded file with the SRM daemon... "; +$s = new SRM('/tmp/srm.socket.main'); +$s->handle_uploaded_file('host', '/path/to/file', 'Our New File'); +echo "Done!\n"; ?> ]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/design.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/srm/design.xml diff -u presentations/slides/srm/design.xml:1.2 presentations/slides/srm/design.xml:1.3 --- presentations/slides/srm/design.xml:1.2 Sun Oct 3 09:44:55 2004 +++ presentations/slides/srm/design.xml Tue Apr 19 03:38:34 2005 @@ -2,5 +2,5 @@ <slide fontsize="6em"> <title>Design diagram</title> - <image align="right" filename="srm-design.png" /> + <image align="center" filename="srm-design.png" /> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/future3.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/srm/future3.xml diff -u presentations/slides/srm/future3.xml:1.1 presentations/slides/srm/future3.xml:1.2 --- presentations/slides/srm/future3.xml:1.1 Sun Oct 3 09:45:45 2004 +++ presentations/slides/srm/future3.xml Tue Apr 19 03:38:34 2005 @@ -8,6 +8,5 @@ <bullet>Automatic saving of state</bullet> <bullet>ACLs to Bananas</bullet> <bullet>Load balancing</bullet> - <bullet>...</bullet> </list> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/moving.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/srm/moving.xml diff -u presentations/slides/srm/moving.xml:1.2 presentations/slides/srm/moving.xml:1.3 --- presentations/slides/srm/moving.xml:1.2 Fri Nov 5 11:05:58 2004 +++ presentations/slides/srm/moving.xml Tue Apr 19 03:38:34 2005 @@ -2,34 +2,32 @@ <slide fontsize="6em"> <title>Moving Objects</title> - <blurb fontsize="3em">foo.class.php:</blurb> + <blurb fontsize="3em">pizza.class.php:</blurb> <example fontsize="2em"><![CDATA[<?php - class foo { - var $bar = ''; +class pizza { + var $ingredients = array(); - function foo42() { - $this->bar = 'foo'; - return func_get_args(); - } + function get_price() { + return 4.12; + } - function echo_bar() { - echo $this->bar; - } + function set_ingredients($ingredients) { + $this->ingredients = $ingredients; } +} ?>]]></example> <break lines="2"/> - <blurb fontsize="3em">Script (objmove.php):</blurb> + <blurb fontsize="3em">Script (pizza-test.php):</blurb> <example fontsize="2em"><![CDATA[<?php - include '/usr/local/srm/banana/lib/foo.class.php'; - - $f = new foo; - $s = new SRM('/tmp/srm.socket'); - $f = new SRMApp($s, $f, 'key2'); - - var_dump($f->foo42(1, 2, 'bar', 3, 4)); +include '/usr/local/srm/banana/lib/foo.class.php'; - /* Properties don't work yet */ - echo $f->bar; +$pizza = new foo; +$s = new SRM('/tmp/srm.socket'); +$pizza = new SRMApp($s, $f, 'quatro_fromaggi'); + +echo $pizza->get_price(), "\n"; +$pizza->set_ingredients( + array('cheese', 'cheese', 'cheese', 'cheese')); ?>]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/resources.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/srm/resources.xml diff -u presentations/slides/srm/resources.xml:1.2 presentations/slides/srm/resources.xml:1.3 --- presentations/slides/srm/resources.xml:1.2 Sun Oct 3 09:44:55 2004 +++ presentations/slides/srm/resources.xml Tue Apr 19 03:38:34 2005 @@ -2,11 +2,7 @@ <slide fontsize="6em"> <title>Resources</title> - <blurb> </blurb> - <blurb> </blurb> - <blurb> </blurb> - <blurb> </blurb> + <break lines="25"/> <link fontsize="2em" marginleft="5em" leader="SRM: " href="http://www.vl-srm.net" target="_new"/> - <blurb> </blurb> <link fontsize="2em" marginleft="5em" leader="PHP: " href="http://www.php.net" target="_new"/> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/srm-design.png?r1=1.1&r2=1.2&ty=u Index: presentations/slides/srm/srm-design.png http://cvs.php.net/co.php/presentations/srm-webtech2005.xml?r=1.1&p=1 Index: presentations/srm-webtech2005.xml +++ presentations/srm-webtech2005.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>SRM</topic> <title>Enterprise PHP with SRM in eZ publish</title> <event>Webtech 2005</event> <location>Sofia, Bulgaria</location> <date>Apr 22, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <slide>slides/ze-xdebug/title.xml</slide> <slide>slides/srm/request-paradigm.xml</slide> <slide>slides/srm/request-paradigm-limitation.xml</slide> <slide>slides/srm/daemon-paradigm.xml</slide> <slide>slides/phpperform/extern_srm.xml</slide> <slide>slides/srm/banana.xml</slide> <slide>slides/srm/online3.xml</slide> <slide>slides/srm/online4.xml</slide> <slide>slides/srm/remote-resource.xml</slide> <slide>slides/srm/design.xml</slide> <slide>slides/srm/design2.xml</slide> <slide>slides/srm/sourcelayout.xml</slide> <slide>slides/srm/compiling.xml</slide> <slide>slides/srm/configure-and-run.xml</slide> <slide>slides/srm/interact.xml</slide> <slide>slides/srm/moving.xml</slide> <slide>slides/srm/remote-pizza.xml</slide> <slide>slides/srm/demo-cluster-1.xml</slide> <slide>slides/srm/demo-cluster-2.xml</slide> <slide>slides/srm/demo-cluster-3.xml</slide> <slide>slides/srm/demo-cluster-4.xml</slide> <slide>slides/srm/demo-cluster-5.xml</slide> <slide>slides/srm/demo-cluster-6.xml</slide> <slide>slides/srm/future3.xml</slide> <slide>slides/xdebug/questions.xml</slide> <slide>slides/srm/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/srm/daemon-paradigm.xml?r=1.1&p=1 Index: presentations/slides/srm/daemon-paradigm.xml +++ presentations/slides/srm/daemon-paradigm.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Daemon Paradigm</title> <image align="center" filename="daemon-paradigm.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/design2.xml?r=1.1&p=1 Index: presentations/slides/srm/design2.xml +++ presentations/slides/srm/design2.xml <slide fontsize="6em"> <title>Design diagram</title> <image align="center" filename="srm-design2.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/online4.xml?r=1.1&p=1 Index: presentations/slides/srm/online4.xml +++ presentations/slides/srm/online4.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Remote Variables Diagram</title> <image align="center" filename="remote-variables.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/remote-pizza.xml?r=1.1&p=1 Index: presentations/slides/srm/remote-pizza.xml +++ presentations/slides/srm/remote-pizza.xml <slide fontsize="6em"> <title>Remote Pizza</title> <image align="center" filename="remote-pizza.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/remote-resource.xml?r=1.1&p=1 Index: presentations/slides/srm/remote-resource.xml +++ presentations/slides/srm/remote-resource.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Remote Resources</title> <image align="center" filename="remote-resources.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/request-paradigm-limitation.xml?r=1.1&p=1 Index: presentations/slides/srm/request-paradigm-limitation.xml +++ presentations/slides/srm/request-paradigm-limitation.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Request Paradigm</title> <subtitle>Limitations</subtitle> <list> <bullet>No state preserving (except for sleep/wakeup and sessions)</bullet> <bullet>Nothing is persistent</bullet> <bullet>Re-loading data takes time: Parsing a large (9MB) XML document takes about 1.2 seconds with PHP 5.1-dev</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/srm/request-paradigm.xml?r=1.1&p=1 Index: presentations/slides/srm/request-paradigm.xml +++ presentations/slides/srm/request-paradigm.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Request Paradigm</title> <image align="center" filename="request-paradigm.png" /> </slide>
http://cvs.php.net/diff.php/presentations/slides/srm/demo-cluster-5.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/srm/demo-cluster-5.xml diff -u presentations/slides/srm/demo-cluster-5.xml:1.1 presentations/slides/srm/demo-cluster-5.xml:1.2 --- presentations/slides/srm/demo-cluster-5.xml:1.1 Fri Nov 5 11:05:58 2004 +++ presentations/slides/srm/demo-cluster-5.xml Tue Apr 19 03:38:34 2005 @@ -4,19 +4,19 @@ <subtitle>Usage</subtitle> <example><![CDATA[<?php - echo "This is a simulation of uploading a file.\nHere we go:\n\n"; +echo "This is a simulation of uploading a file.\nHere we go:\n\n"; - echo "Uploading file"; flush(); - for ($i = 0; $i < 3; $i++) { - sleep(1); - echo "..."; flush(); - } - echo "Done\n\n\n"; - - echo "Now we register the uploaded file with the SRM daemon... "; - $s = new SRM('/tmp/srm.socket.main'); - $s->handle_uploaded_file('host', '/path/to/file', 'Our New File'); - echo "Done!\n"; +echo "Uploading file"; flush(); +for ($i = 0; $i < 3; $i++) { + sleep(1); + echo "..."; flush(); +} +echo "Done\n\n\n"; + +echo "Now we register the uploaded file with the SRM daemon... "; +$s = new SRM('/tmp/srm.socket.main'); +$s->handle_uploaded_file('host', '/path/to/file', 'Our New File'); +echo "Done!\n"; ?> ]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/design.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/srm/design.xml diff -u presentations/slides/srm/design.xml:1.2 presentations/slides/srm/design.xml:1.3 --- presentations/slides/srm/design.xml:1.2 Sun Oct 3 09:44:55 2004 +++ presentations/slides/srm/design.xml Tue Apr 19 03:38:34 2005 @@ -2,5 +2,5 @@ <slide fontsize="6em"> <title>Design diagram</title> - <image align="right" filename="srm-design.png" /> + <image align="center" filename="srm-design.png" /> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/future3.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/srm/future3.xml diff -u presentations/slides/srm/future3.xml:1.1 presentations/slides/srm/future3.xml:1.2 --- presentations/slides/srm/future3.xml:1.1 Sun Oct 3 09:45:45 2004 +++ presentations/slides/srm/future3.xml Tue Apr 19 03:38:34 2005 @@ -8,6 +8,5 @@ <bullet>Automatic saving of state</bullet> <bullet>ACLs to Bananas</bullet> <bullet>Load balancing</bullet> - <bullet>...</bullet> </list> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/moving.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/srm/moving.xml diff -u presentations/slides/srm/moving.xml:1.2 presentations/slides/srm/moving.xml:1.3 --- presentations/slides/srm/moving.xml:1.2 Fri Nov 5 11:05:58 2004 +++ presentations/slides/srm/moving.xml Tue Apr 19 03:38:34 2005 @@ -2,34 +2,32 @@ <slide fontsize="6em"> <title>Moving Objects</title> - <blurb fontsize="3em">foo.class.php:</blurb> + <blurb fontsize="3em">pizza.class.php:</blurb> <example fontsize="2em"><![CDATA[<?php - class foo { - var $bar = ''; +class pizza { + var $ingredients = array(); - function foo42() { - $this->bar = 'foo'; - return func_get_args(); - } + function get_price() { + return 4.12; + } - function echo_bar() { - echo $this->bar; - } + function set_ingredients($ingredients) { + $this->ingredients = $ingredients; } +} ?>]]></example> <break lines="2"/> - <blurb fontsize="3em">Script (objmove.php):</blurb> + <blurb fontsize="3em">Script (pizza-test.php):</blurb> <example fontsize="2em"><![CDATA[<?php - include '/usr/local/srm/banana/lib/foo.class.php'; - - $f = new foo; - $s = new SRM('/tmp/srm.socket'); - $f = new SRMApp($s, $f, 'key2'); - - var_dump($f->foo42(1, 2, 'bar', 3, 4)); +include '/usr/local/srm/banana/lib/foo.class.php'; - /* Properties don't work yet */ - echo $f->bar; +$pizza = new foo; +$s = new SRM('/tmp/srm.socket'); +$pizza = new SRMApp($s, $f, 'quatro_fromaggi'); + +echo $pizza->get_price(), "\n"; +$pizza->set_ingredients( + array('cheese', 'cheese', 'cheese', 'cheese')); ?>]]></example> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/resources.xml?r1=1.2&r2=1.3&ty=u Index: presentations/slides/srm/resources.xml diff -u presentations/slides/srm/resources.xml:1.2 presentations/slides/srm/resources.xml:1.3 --- presentations/slides/srm/resources.xml:1.2 Sun Oct 3 09:44:55 2004 +++ presentations/slides/srm/resources.xml Tue Apr 19 03:38:34 2005 @@ -2,11 +2,7 @@ <slide fontsize="6em"> <title>Resources</title> - <blurb> </blurb> - <blurb> </blurb> - <blurb> </blurb> - <blurb> </blurb> + <break lines="25"/> <link fontsize="2em" marginleft="5em" leader="SRM: " href="http://www.vl-srm.net" target="_new"/> - <blurb> </blurb> <link fontsize="2em" marginleft="5em" leader="PHP: " href="http://www.php.net" target="_new"/> </slide> http://cvs.php.net/diff.php/presentations/slides/srm/srm-design.png?r1=1.1&r2=1.2&ty=u Index: presentations/slides/srm/srm-design.png http://cvs.php.net/co.php/presentations/srm-webtech2005.xml?r=1.1&p=1 Index: presentations/srm-webtech2005.xml +++ presentations/srm-webtech2005.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>SRM</topic> <title>Enterprise PHP with SRM in eZ publish</title> <event>Webtech 2005</event> <location>Sofia, Bulgaria</location> <date>Apr 22, 2005</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <slide>slides/ze-xdebug/title.xml</slide> <slide>slides/srm/request-paradigm.xml</slide> <slide>slides/srm/request-paradigm-limitation.xml</slide> <slide>slides/srm/daemon-paradigm.xml</slide> <slide>slides/phpperform/extern_srm.xml</slide> <slide>slides/srm/banana.xml</slide> <slide>slides/srm/online3.xml</slide> <slide>slides/srm/online4.xml</slide> <slide>slides/srm/remote-resource.xml</slide> <slide>slides/srm/design.xml</slide> <slide>slides/srm/design2.xml</slide> <slide>slides/srm/sourcelayout.xml</slide> <slide>slides/srm/compiling.xml</slide> <slide>slides/srm/configure-and-run.xml</slide> <slide>slides/srm/interact.xml</slide> <slide>slides/srm/moving.xml</slide> <slide>slides/srm/remote-pizza.xml</slide> <slide>slides/srm/demo-cluster-1.xml</slide> <slide>slides/srm/demo-cluster-2.xml</slide> <slide>slides/srm/demo-cluster-3.xml</slide> <slide>slides/srm/demo-cluster-4.xml</slide> <slide>slides/srm/demo-cluster-5.xml</slide> <slide>slides/srm/demo-cluster-6.xml</slide> <slide>slides/srm/future3.xml</slide> <slide>slides/xdebug/questions.xml</slide> <slide>slides/srm/resources.xml</slide> </presentation> http://cvs.php.net/co.php/presentations/slides/srm/daemon-paradigm.xml?r=1.1&p=1 Index: presentations/slides/srm/daemon-paradigm.xml +++ presentations/slides/srm/daemon-paradigm.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Daemon Paradigm</title> <image align="center" filename="daemon-paradigm.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/design2.xml?r=1.1&p=1 Index: presentations/slides/srm/design2.xml +++ presentations/slides/srm/design2.xml <slide fontsize="6em"> <title>Design diagram</title> <image align="center" filename="srm-design2.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/online4.xml?r=1.1&p=1 Index: presentations/slides/srm/online4.xml +++ presentations/slides/srm/online4.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Remote Variables Diagram</title> <image align="center" filename="remote-variables.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/remote-pizza.xml?r=1.1&p=1 Index: presentations/slides/srm/remote-pizza.xml +++ presentations/slides/srm/remote-pizza.xml <slide fontsize="6em"> <title>Remote Pizza</title> <image align="center" filename="remote-pizza.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/remote-resource.xml?r=1.1&p=1 Index: presentations/slides/srm/remote-resource.xml +++ presentations/slides/srm/remote-resource.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Remote Resources</title> <image align="center" filename="remote-resources.png" /> </slide> http://cvs.php.net/co.php/presentations/slides/srm/request-paradigm-limitation.xml?r=1.1&p=1 Index: presentations/slides/srm/request-paradigm-limitation.xml +++ presentations/slides/srm/request-paradigm-limitation.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Request Paradigm</title> <subtitle>Limitations</subtitle> <list> <bullet>No state preserving (except for sleep/wakeup and sessions)</bullet> <bullet>Nothing is persistent</bullet> <bullet>Re-loading data takes time: Parsing a large (9MB) XML document takes about 1.2 seconds with PHP 5.1-dev</bullet> </list> </slide> http://cvs.php.net/co.php/presentations/slides/srm/request-paradigm.xml?r=1.1&p=1 Index: presentations/slides/srm/request-paradigm.xml +++ presentations/slides/srm/request-paradigm.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Request Paradigm</title> <image align="center" filename="request-paradigm.png" /> </slide>