<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>notes171</title>
	<atom:link href="http://sas171.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sas171.wordpress.com</link>
	<description>ZendFramework, PHP and other webdev stuff.</description>
	<lastBuildDate>Mon, 15 Jan 2007 22:33:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sas171.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/15a743a31e864024ea44315a5a992573?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>notes171</title>
		<link>http://sas171.wordpress.com</link>
	</image>
			<item>
		<title>Quickstart: DOM Tree building</title>
		<link>http://sas171.wordpress.com/2007/01/15/quickstart-dom-tree-building/</link>
		<comments>http://sas171.wordpress.com/2007/01/15/quickstart-dom-tree-building/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 22:33:21 +0000</pubDate>
		<dc:creator>sas171</dc:creator>
				<category><![CDATA[Quick Start]]></category>

		<guid isPermaLink="false">http://sas171.wordpress.com/2007/01/15/quickstart-dom-tree-building/</guid>
		<description><![CDATA[1. Document object:
$dom = new DomDocument;
2 . Element:
$docElement = $dom-&#62;createElement(&#8216;root&#8217;) ;
$dom-&#62;appendChild($docElement) ;
3. Set attribute:
$docElement-&#62;setAttribute(&#8216;attrname&#8217;, &#8216;attrvalue&#8217;);
4. Element with textual content:
$para = $dom-&#62;createElement(&#8216;p&#8217;, &#8216;Lorem ipsum dolor&#8230;&#8217;) ;
5. Append child:
$docElement-&#62;appendChild($para);
6. Import node:
$import = $dom-&#62;importNode($foreignNode, true);
If the second argument is set to true the subtree under $foreignNode will be imported, too.  Now append the node named $import (see [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=12&subd=sas171&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>1. Document object:</strong></p>
<blockquote><p>$dom = new DomDocument;</p></blockquote>
<p><strong>2 . Element:</strong></p>
<blockquote><p>$docElement = $dom-&gt;createElement(&#8216;root&#8217;) ;</p>
<p>$dom-&gt;appendChild($docElement) ;</p></blockquote>
<p><strong>3. Set attribute:</strong></p>
<blockquote><p>$docElement-&gt;setAttribute(&#8216;attrname&#8217;, &#8216;attrvalue&#8217;);</p></blockquote>
<p><strong>4. Element with textual content:</strong></p>
<blockquote><p>$para = $dom-&gt;createElement(&#8216;p&#8217;, &#8216;Lorem ipsum dolor&#8230;&#8217;) ;</p></blockquote>
<p><strong>5. Append child:</strong></p>
<blockquote><p>$docElement-&gt;appendChild($para);</p></blockquote>
<p><strong>6. Import node:</strong></p>
<blockquote><p>$import = $dom-&gt;importNode($foreignNode, true);</p></blockquote>
<p>If the second argument is set to true the subtree under $foreignNode will be imported, too.  Now append the node named $import (see 5).</p>
<blockquote></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sas171.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sas171.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sas171.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sas171.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sas171.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sas171.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sas171.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sas171.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sas171.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sas171.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sas171.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sas171.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=12&subd=sas171&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sas171.wordpress.com/2007/01/15/quickstart-dom-tree-building/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d506630e6479fad4e04d2ad1a5fb8aa8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">sas171</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickstart: Zend_Session</title>
		<link>http://sas171.wordpress.com/2007/01/14/quickstart-zend_session/</link>
		<comments>http://sas171.wordpress.com/2007/01/14/quickstart-zend_session/#comments</comments>
		<pubDate>Sun, 14 Jan 2007 19:55:51 +0000</pubDate>
		<dc:creator>sas171</dc:creator>
				<category><![CDATA[Quick Start]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://sas171.wordpress.com/2007/01/14/quickstart-zend_session/</guid>
		<description><![CDATA[Bootstrap:
Zend::register('session', new Zend_Session());
Write some value
Zend::registry('session')-&#62;value = $value;
Read some value
$value = Zend::registry('session')-&#62;value;
Use isset
if(!isset(Zend::registry('session')-&#62;value)) {
    Zend::registry('session')-&#62;value = $value;
}
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=11&subd=sas171&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Bootstrap:</strong><br />
<code>Zend::register('session', new Zend_Session());</code></p>
<p><strong>Write some value</strong><br />
<code>Zend::registry('session')-&gt;value = $value;</code></p>
<p><strong>Read some value</strong><br />
<code>$value = Zend::registry('session')-&gt;value;</code></p>
<p><strong>Use isset</strong><br />
<code>if(!isset(Zend::registry('session')-&gt;value)) {<br />
    Zend::registry('session')-&gt;value = $value;<br />
}</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sas171.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sas171.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sas171.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sas171.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sas171.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sas171.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sas171.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sas171.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sas171.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sas171.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sas171.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sas171.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=11&subd=sas171&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sas171.wordpress.com/2007/01/14/quickstart-zend_session/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d506630e6479fad4e04d2ad1a5fb8aa8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">sas171</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Joins</title>
		<link>http://sas171.wordpress.com/2007/01/12/sql-joins/</link>
		<comments>http://sas171.wordpress.com/2007/01/12/sql-joins/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 01:07:10 +0000</pubDate>
		<dc:creator>sas171</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://sas171.wordpress.com/2007/01/12/sql-joins/</guid>
		<description><![CDATA[As somewhat of a follow-up to my previous post, Introduction to Developing a Relational Database, I’ll touch on the exciting subject of joining tables together. This should help tie in some of the “relational” aspects of the relational database.
Very nice artice about INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN and FULL OUTER JOIN with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=10&subd=sas171&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote><p>As somewhat of a follow-up to my previous post, Introduction to Developing a Relational Database, I’ll touch on the exciting subject of joining tables together. This should help tie in some of the “relational” aspects of the relational database.</p></blockquote>
<p>Very nice <a href="http://snook.ca/archives/sql/database_joins/">artice</a> about INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN and FULL OUTER JOIN with proper examples by Jonathan Snook.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sas171.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sas171.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sas171.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sas171.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sas171.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sas171.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sas171.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sas171.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sas171.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sas171.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sas171.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sas171.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=10&subd=sas171&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sas171.wordpress.com/2007/01/12/sql-joins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d506630e6479fad4e04d2ad1a5fb8aa8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">sas171</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Framework Application Example</title>
		<link>http://sas171.wordpress.com/2006/12/06/zend-framework-application-example/</link>
		<comments>http://sas171.wordpress.com/2006/12/06/zend-framework-application-example/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 16:50:18 +0000</pubDate>
		<dc:creator>sas171</dc:creator>
				<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://sas171.wordpress.com/2006/12/06/zend-framework-application-example/</guid>
		<description><![CDATA[Alexander Netkachev developed a small blog CMS. It isn&#8217;t full featured blogger like WordPress, but very good example of how to actually use Zend Framework.

The software includes and demonstrates:
    * How to use of Zend Framework controller
    * Database layer designed with Zend_Db_Table
    * Example of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=8&subd=sas171&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.alexatnet.com/">Alexander Netkachev</a> developed a small <a href="http://www.alexatnet.com/Blog/Index/2006-06-06/blog-cms-with-php-zend-framework-and-sqlite">blog CMS</a>. It isn&#8217;t full featured blogger like WordPress, but very good example of how to actually use Zend Framework.</p>
<blockquote><p>
The software includes and demonstrates:</p>
<p>    * How to use of Zend Framework controller<br />
    * Database layer designed with Zend_Db_Table<br />
    * Example of View/Model/Controller pattern<br />
    * How to create an Atom feed to synticate blog items</p>
</blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sas171.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sas171.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sas171.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sas171.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sas171.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sas171.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sas171.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sas171.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sas171.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sas171.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sas171.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sas171.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=8&subd=sas171&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sas171.wordpress.com/2006/12/06/zend-framework-application-example/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d506630e6479fad4e04d2ad1a5fb8aa8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">sas171</media:title>
		</media:content>
	</item>
		<item>
		<title>Count rows with Zend_Db</title>
		<link>http://sas171.wordpress.com/2006/12/05/count-rows-with-zend_db/</link>
		<comments>http://sas171.wordpress.com/2006/12/05/count-rows-with-zend_db/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 15:53:11 +0000</pubDate>
		<dc:creator>sas171</dc:creator>
				<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://sas171.wordpress.com/2006/12/05/count-rows-with-zend_db/</guid>
		<description><![CDATA[There are several ways to count rows in a table using the Zend_Db component. The first way is to fetch the rows in a row set object and run count() on it. As you see it isn&#8217;t really smart to build a row set object if you just want to know the number of rows. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=5&subd=sas171&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are several ways to count rows in a table using the Zend_Db component. The first way is to fetch the rows in a row set object and run count() on it. As you see it isn&#8217;t really smart to build a row set object if you just want to know the number of rows. There is a better way:<br />
<code><br />
$query = $db-&gt;select()-&gt;from('my_table', 'count(*)');<br />
$numRows = $db-&gt;fetchOne($query);<br />
</code> </p>
<p>You can perfectly embed this in your table model and use &#8220;where&#8221; conditions and joins to get the right numbers.</p>
<p>Regards to Justin Plock for this one.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sas171.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sas171.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sas171.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sas171.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sas171.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sas171.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sas171.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sas171.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sas171.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sas171.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sas171.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sas171.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sas171.wordpress.com&blog=590963&post=5&subd=sas171&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sas171.wordpress.com/2006/12/05/count-rows-with-zend_db/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d506630e6479fad4e04d2ad1a5fb8aa8?s=96&#38;d=identicon" medium="image">
			<media:title type="html">sas171</media:title>
		</media:content>
	</item>
	</channel>
</rss>