cvs: presentations /slides/sqlite_jan error.xml escape.xml foreach.xml open.xml
| From: | Ilia Alshanetsky | Date: | Wed, 21 Jan 2004 04:12:33 +0000 |
| Subject: | cvs: presentations /slides/sqlite_jan error.xml escape.xml foreach.xml open.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-950@lists.php.net to get a copy of this message | ||
iliaa Tue Jan 20 23:12:33 2004 EDT
Modified files:
/presentations/slides/sqlite_jan error.xml escape.xml foreach.xml
open.xml
Log:
Various small corrections.
http://cvs.php.net/diff.php/presentations/slides/sqlite_jan/error.xml?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/sqlite_jan/error.xml
diff -u presentations/slides/sqlite_jan/error.xml:1.1 presentations/slides/sqlite_jan/error.xml:1.2
--- presentations/slides/sqlite_jan/error.xml:1.1 Fri Jan 16 17:15:21 2004
+++ presentations/slides/sqlite_jan/error.xml Tue Jan 20 23:12:33 2004
@@ -2,8 +2,8 @@
<image filename="bsod.jpg" align="right" />
-<blurb>SQLite allows retrieval of a numeric error codes allowing for custom handling of
different errors. It also provides
-a mechanism for converting an error code into a human readable error string.</blurb>
+<blurb>SQLite allows retrieval of a numeric error codes, making it simple to implement
different handlers for
+various errors. It also provides a mechanism for converting an error code into a human readable
error string.</blurb>
<break lines="3" />
http://cvs.php.net/diff.php/presentations/slides/sqlite_jan/escape.xml?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/sqlite_jan/escape.xml
diff -u presentations/slides/sqlite_jan/escape.xml:1.1
presentations/slides/sqlite_jan/escape.xml:1.2
--- presentations/slides/sqlite_jan/escape.xml:1.1 Fri Jan 16 17:15:21 2004
+++ presentations/slides/sqlite_jan/escape.xml Tue Jan 20 23:12:33 2004
@@ -1,6 +1,6 @@
<slide title="Securing SQLite Queries">
-<blurb>SQLite has it's own query escaping function, sqlite_escape_string() which in
addition to preventing SQL injection,
-which is particularly dangerous due to query chaining capability will safely handle binary
data.</blurb>
+<blurb>SQLite has it's own query escaping function, sqlite_escape_string() that in
addition to simple
+data escaping will also encode binary data.</blurb>
<example fontsize="1.6em" title=""><![CDATA[<?php
$db = sqlite_open("/path/to/database") or die($error);
http://cvs.php.net/diff.php/presentations/slides/sqlite_jan/foreach.xml?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/sqlite_jan/foreach.xml
diff -u presentations/slides/sqlite_jan/foreach.xml:1.1
presentations/slides/sqlite_jan/foreach.xml:1.2
--- presentations/slides/sqlite_jan/foreach.xml:1.1 Fri Jan 16 17:15:21 2004
+++ presentations/slides/sqlite_jan/foreach.xml Tue Jan 20 23:12:33 2004
@@ -1,7 +1,7 @@
<slide title="SQLite Iterators/Foreach">
-<blurb>The real power of iterators comes through the ability to overload foreach allowing an
extremely fast way for iterating
-through object properties. <![CDATA[<font color="red">(PHP5
only)</font>]]></blurb>
+<blurb>The real power of iterators comes through the ability to use %foreach()% for an
extremely
+fast data retrieval from objects.</blurb>
<example fontsize="1.6em" result="1" type="php"
filename="foreach.php" />
http://cvs.php.net/diff.php/presentations/slides/sqlite_jan/open.xml?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/sqlite_jan/open.xml
diff -u presentations/slides/sqlite_jan/open.xml:1.1 presentations/slides/sqlite_jan/open.xml:1.2
--- presentations/slides/sqlite_jan/open.xml:1.1 Fri Jan 16 17:15:21 2004
+++ presentations/slides/sqlite_jan/open.xml Tue Jan 20 23:12:33 2004
@@ -1,6 +1,6 @@
<slide title="Opening a Database">
-<blurb>As with any database system the first thing you must do is open a database. Since
SQLite is based on files
+<blurb>As with any database system the first thing you must do is open a database. Since
SQLite is based on files,
opening a database differs very little from opening a regular file.</blurb>
<example fontsize="1.6em" title=""><![CDATA[<?php