cvs: presentations / top7-nyc.xml /slides/top7 objects_ex_run.php php5object.xml titlepage-nyc.xml /slides/xmlandphp simple.xml simple1.xml
| From: | Sterling Hughes | Date: | Sat, 26 Apr 2003 19:54:06 +0000 |
| Subject: | cvs: presentations / top7-nyc.xml /slides/top7 objects_ex_run.php php5object.xml titlepage-nyc.xml /slides/xmlandphp simple.xml simple1.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-653@lists.php.net to get a copy of this message | ||
sterling Sat Apr 26 15:54:06 2003 EDT
Added files:
/presentations top7-nyc.xml
/presentations/slides/top7 objects_ex_run.php php5object.xml
titlepage-nyc.xml
/presentations/slides/xmlandphp simple.xml simple1.xml
Log:
add these babies
Index: presentations/top7-nyc.xml
+++ presentations/top7-nyc.xml
<presentation
template="php"
navmode="html"
>
<topic>PHP</topic>
<title>Top 7 Mistakes in PHP programming</title>
<event>PHPCon NY</event>
<location>NYC, NY</location>
<date>April 25, 2003</date>
<speaker>Sterling Hughes</speaker>
<email>sterling@php.net</email>
<url>http://conf.php.net/</url>
<slide>slides/top7/titlepage-nyc.xml</slide>
<slide>slides/top7/mistake7.xml</slide>
<slide>slides/top7/types.xml</slide>
<slide>slides/top7/types1.xml</slide>
<slide>slides/top7/complex.xml</slide>
<slide>slides/top7/complex1.xml</slide>
<slide>slides/top7/complex2.xml</slide>
<slide>slides/top7/mistake2.xml</slide>
<slide>slides/top7/prototyping.xml</slide>
<slide>slides/top7/mistake6.xml</slide>
<slide>slides/top7/logical.xml</slide>
<slide>slides/top7/content.xml</slide>
<slide>slides/top7/phptmpl.xml</slide>
<slide>slides/top7/functmpl.xml</slide>
<slide>slides/top7/smarty.xml</slide>
<slide>slides/top7/smart_ex.xml</slide>
<slide>slides/top7/mistake5.xml</slide>
<slide>slides/top7/prf_sqlquery.xml</slide>
<slide>slides/phpperform/visitation1.xml</slide>
<slide>slides/phpperform/visitation2.xml</slide>
<slide>slides/phpperform/visitation3.xml</slide>
<slide>slides/phpperform/visitation4.xml</slide>
<slide>slides/phpperform/visitation5.xml</slide>
<slide>slides/top7/mistake1.xml</slide>
<slide>slides/top7/time.xml</slide>
<slide>slides/top7/deliverables.xml</slide>
<slide>slides/top7/mistake4.xml</slide>
<slide>slides/top7/errorhandl.xml</slide>
<slide>slides/top7/errorhandlobj.xml</slide>
<slide>slides/top7/trycatch.xml</slide>
<slide>slides/top7/mistake3.xml</slide>
<slide>slides/top7/holes.xml</slide>
<slide>slides/top7/shell.xml</slide>
<slide>slides/top7/db.xml</slide>
<slide>slides/top7/rglobals.xml</slide>
<slide>slides/top7/thanks.xml</slide>
</presentation>
Index: presentations/slides/top7/objects_ex_run.php
+++ presentations/slides/top7/objects_ex_run.php
<?php
class simple {
var $name;
}
function changeName ($o) {
$o->name = "Sterling Hughes";
}
$o = new simple;
$o->name = "Johnny Red";
echo $o->name . "\n<br />\n";
changeName($o);
$o->name = "Johnny Red";
echo $o->name . "\n<br />\n";
?>
Index: presentations/slides/top7/php5object.xml
+++ presentations/slides/top7/php5object.xml
<slide title="PHP5 Objects">
<blurb>
PHP5 Objects are sexy.
</blurb>
</slide>
Index: presentations/slides/top7/titlepage-nyc.xml
+++ presentations/slides/top7/titlepage-nyc.xml
<slide fontsize="3.5em">
<title>Welcome</title>
<blurb>
</blurb>
<blurb align="center" fontsize="6.0em">Top 7 Mistakes in PHP
Programming</blurb>
<blurb align="center" fontsize="4.0em">PHPCon NY</blurb>
<blurb align="center">April 25, 2003</blurb>
<link align="center" leader="Sterling Hughes, "
href="sterling@php.net"/>
</slide>
Index: presentations/slides/xmlandphp/simple.xml
+++ presentations/slides/xmlandphp/simple.xml
<slide title="Simple XML API">
<blurb>
Simple XML API is meant to be a clean way to be smart about
XML.
</blurb>
</slide>
Index: presentations/slides/xmlandphp/simple1.xml
+++ presentations/slides/xmlandphp/simple1.xml
<slide title="Simple Wishlist">
<example><![CDATA[<?php
$w = new XML_Simple('thedata.xml');
$items = $w->item;
while ($item = $w->item->next())
{
$url = $w['uri'] . $item['id'];
echo "<a href=\"$url\">";
echo $item->title;
echo "</a>\n<br />\n";
echo "{$item->description}<br />\n";
}
?>]]></example>
</slide>