cvs: presentations / uw07.xml /slides/intro world.xml ws4.xml xml_eg_lite.xml
| From: | Rasmus Lerdorf | Date: | Wed, 24 Oct 2007 04:14:46 +0000 |
| Subject: | cvs: presentations / uw07.xml /slides/intro world.xml ws4.xml xml_eg_lite.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1434@lists.php.net to get a copy of this message | ||
rasmus Wed Oct 24 04:14:46 2007 UTC
Added files:
/presentations uw07.xml
/presentations/slides/intro world.xml xml_eg_lite.xml
Modified files:
/presentations/slides/intro ws4.xml
Log:
Waterloo talk
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/ws4.xml?r1=1.7&r2=1.8&diff_format=u
Index: presentations/slides/intro/ws4.xml
diff -u presentations/slides/intro/ws4.xml:1.7 presentations/slides/intro/ws4.xml:1.8
--- presentations/slides/intro/ws4.xml:1.7 Fri Sep 28 18:07:53 2007
+++ presentations/slides/intro/ws4.xml Wed Oct 24 04:14:46 2007
@@ -26,7 +26,7 @@
<example title="Example" fontsize="1.4em" rfontsize="1.3em"
result="1"><![CDATA[<?php
$context = <<< EOB
-PHP is a versatile scripting language that is mostly used to solve the web
+PHP is a versatile scripting language, which is mostly used to solve the web
problem. PHP is not a drug, and it is not a Philippine currency, but chicks
dig it. Ok, perhaps chicks don't really dig it, and it is actually a currency,
but it is still cool.
http://cvs.php.net/viewvc.cgi/presentations/uw07.xml?view=markup&rev=1.1
Index: presentations/uw07.xml
+++ presentations/uw07.xml
<presentation
template="php2"
navmode="html"
titlecolor="#1111aa"
navbarbackground="url(images/trans-ffffff.png)"
logo1="images/php-med-trans-light.gif"
titlesize="2em"
navbarheight="4.1em"
>
<!--
Scale, latency, and security are the key words for this year's talk. In order to build
these bigger and faster web applications, PHP has gotten bigger and faster as well.
This talk will explore recent PHP development and apply it to the three key words.
-->
<topic>PHP</topic>
<title>PHP</title>
<location>Waterloo, ON</location>
<date>Oct 24, 2007</date>
<speaker>Rasmus Lerdorf</speaker>
<email>rasmus@php.net</email>
<url>http://talks.php.net/show/uw07</url>
<slide>slides/intro/titlepage.xml</slide>
<!-- History -->
<slide>slides/intro/world.xml</slide>
<slide>slides/fowa/hist1.xml</slide>
<slide>slides/fowa/hist2.xml</slide>
<slide>slides/fowa/hist3.xml</slide>
<slide>slides/fowa/hist4.xml</slide>
<slide>slides/fowa/hist5.xml</slide>
<!-- Hormones -->
<slide>slides/intro/ossworks.xml</slide>
<slide>slides/intro/ego.xml</slide>
<slide>slides/intro/web20.xml</slide>
<slide>slides/intro/web2works.xml</slide>
<slide>slides/intro/php5.xml</slide>
<slide>slides/intro/xml_eg_lite.xml</slide>
<slide>slides/intro/rss_flickr.xml</slide>
<slide>slides/intro/php_yui1.xml</slide>
<slide>slides/intro/php_yui2.xml</slide>
<slide>slides/intro/php_yui3.xml</slide>
<slide>slides/intro/php_yui4.xml</slide>
<slide>slides/intro/php_yui5.xml</slide>
<slide>slides/intro/yajax.xml</slide>
<slide>slides/intro/ws4.xml</slide>
<slide>slides/intro/ws7.xml</slide>
<slide>slides/intro/geoflickr.xml</slide>
<!-- Performance -->
<slide>slides/intro/hurdles.xml</slide>
<slide>slides/intro/perf_overall1.xml</slide>
<slide>slides/intro/sq1.xml</slide>
<slide>slides/intro/sq2.xml</slide>
<slide>slides/intro/sq3.xml</slide>
<slide>slides/intro/sq4.xml</slide>
<slide>slides/intro/sq5.xml</slide>
<!-- Security -->
<slide>slides/fowa/security.xml</slide>
<slide>slides/intro/xss_common.xml</slide>
<slide>slides/intro/url_handlers.xml</slide>
<slide>slides/intro/xss_yrisk.xml</slide>
<slide>slides/fowa/filter.xml</slide>
<slide>slides/intro/perfsec_ref.xml</slide>
</presentation>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/world.xml?view=markup&rev=1.1
Index: presentations/slides/intro/world.xml
+++ presentations/slides/intro/world.xml
<slide title="World">
<break lines="1" />
<example hide="1" result="1" fontsize="1.4em"
rfontsize="1em" marginright="1em" type="marked"><![CDATA[
<script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.7&appid=YahooDemo"></script>
<div id="jsmapContainer" style="height: 600px; width: 930px;"></div>
<div id="buttonContainer" style="padding: 0.5em;">
<form>
<input type="button" id="1" value="Qeqertarsuaq"
onclick="mark('Qeqertarsuaq');"></input>
<input type="button" id="2" value="Frederikssund"
onclick="mark('Frederikssund');"></input>
<input type="button" id="3" value="Toronto"
onclick="mark('Toronto');"></input>
<input type="button" id="3" value="Waterloo"
onclick="mark('Waterloo, Ontario');"></input>
<input type="button" id="3" value="Calgary"
onclick="mark('Calgary');"></input>
<input type="button" id="3" value="Porto Alegre"
onclick="mark('Porto Alegre, Brazil');"></input>
<input type="button" id="3" value="Mountain View"
onclick="mark('Mountain View, CA');"></input>
<input type="button" id="3" value="Cary"
onclick="mark('Cary, NC');"></input>
<input type="button" id="3" value="San Francisco"
onclick="mark('San Francisco, CA');"></input>
<input type="button" id="3" value="Sunnyvale"
onclick="mark('Sunnyvale, CA');"></input>
</form>
</div>
<script type="text/javascript">
var Pin = new YImage();
Pin.src = 'http://www.lerdorf.com/red_pin.png';
Pin.size = new YSize(32,27);
Pin.offset = new YCoordPoint(1,4);
var markers = new Array();
var first = 1;
var last = '';
var geoDone = function(o) {
jsmap.panToLatLon(o.GeoPoint);
if(!first) {
markers[o.Address] = o.GeoPoint;
jsmap.addOverlay(new YPolyline([last,o.GeoPoint],'blue',5,0.4));
}
first = 0;
last = o.GeoPoint;
}
var mark = function(loc) {
if(!markers[loc]) {
jsmap.addOverlay(new YMarker(loc, Pin));
} else {
jsmap.panToLatLon(markers[loc]);
jsmap.addOverlay(new YPolyline([last,markers[loc]],'blue',5,0.4));
last = markers[loc];
}
};
var jsmap = new YMap('jsmapContainer');
jsmap.addZoomLong();
jsmap.addTypeControl();
YEvent.Capture(jsmap, EventsList.onEndGeoCode, geoDone);
jsmap.drawZoomAndCenter('Qeqertarsuaq',15);
</script>]]></example>
</slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/intro/xml_eg_lite.xml?view=markup&rev=1.1
Index: presentations/slides/intro/xml_eg_lite.xml
+++ presentations/slides/intro/xml_eg_lite.xml
<slide title="XML">
<break lines="1" />
<example title="All XML handling based on libxml2" marginleft="2em"
marginright="0em" result="0"><![CDATA[<?php
$dom = new domDocument;
$dom->load('menu.xml');
// domXPath and xsltProcessor for further processing
?>]]></example>
<example title="presentations/slides/intro/menu.xml" result="1"
hide="1" marginleft="2em" marginright="0em"
fontsize="1.75em" rfontsize="1.5em"><![CDATA[<?php
$fp = fopen('menu.xml','r');
while($line = fgets($fp)) echo str_replace('
',' ',htmlspecialchars($line))."<br />\n";
?>]]></example>
<example title="SimpleXML" result="1"
marginleft="2em"><![CDATA[<?php
$menu = simplexml_load_file('menu.xml');
# echo "<pre>"; print_r($menu); echo "</pre>";
foreach ($menu->food as $item) {
echo $item['itemno'] . ") ";
echo $item->price . " ... ";
echo $item->name . "<br />\n";
}
?>]]></example>
</slide>