<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>SamBarrow.com</title>
	<link>http://www.sambarrow.com</link>
	<description>My Development Blog</description>
	<pubDate>Fri, 18 Apr 2008 18:52:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Web Framework</title>
		<link>http://www.sambarrow.com/archives/41</link>
		<comments>http://www.sambarrow.com/archives/41#comments</comments>
		<pubDate>Fri, 18 Apr 2008 18:27:09 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/41</guid>
		<description><![CDATA[Attached is a copy of a very very alpha stage web framework I just made. I took most of the code from a site I&#8217;m developing, and removed the site specific stuff from it. It&#8217;s fairly advanced, just not fully complete.
Features includes:
An interactive command line mode (pipe your email, run cron jobs, all through the [...]]]></description>
			<content:encoded><![CDATA[<p>Attached is a copy of a very very alpha stage web framework I just made. I took most of the code from a site I&#8217;m developing, and removed the site specific stuff from it. It&#8217;s fairly advanced, just not fully complete.</p>
<p>Features includes:</p>
<p>An interactive command line mode (pipe your email, run cron jobs, all through the same application, with complete separation from the web interface)<br />
An advanced controller/view architecture (no models yet).<br />
Controllers run in a fully virtual environment (virtual IP, session, etc), allowing unit testing of practically anything.<br />
A database revision system<br />
An advanced exception model for comprehensive error reporting and logging<br />
Maximum security with session hijacking and HTML/SQL injection prevention</p>
<p>Keep in mind, this is not CakePHP or Ruby on Rails. It doesn&#8217;t do as much for you, but in turn it provides maximum flexibility. This is not a &#8220;for dummies&#8221; framework, you have to know what you&#8217;re doing but it has major potential. Absolutely every line of code is written with maximum flexibility and modularity in mind.</p>
<p>It&#8217;s attached in a zip. Barely any documentation, if you have any questions at all though feel free to ask me.</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/04/framework.zip" title="Alpha Web Framework">Alpha Web Framework</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/41/feed</wfw:commentRss>
		</item>
		<item>
		<title>Updated type hinting patch</title>
		<link>http://www.sambarrow.com/archives/40</link>
		<comments>http://www.sambarrow.com/archives/40#comments</comments>
		<pubDate>Tue, 15 Apr 2008 14:51:01 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/40</guid>
		<description><![CDATA[Added type checking for default values and disallowing of null values on parameters without a null default.
Scalar Type Hinting Patch (04-15-2008)
]]></description>
			<content:encoded><![CDATA[<p>Added type checking for default values and disallowing of null values on parameters without a null default.</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/04/scalartypehinting-52.patch" title="Scalar Type Hinting Patch (04-15-2008)">Scalar Type Hinting Patch (04-15-2008)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/40/feed</wfw:commentRss>
		</item>
		<item>
		<title>URL Builder Class</title>
		<link>http://www.sambarrow.com/archives/38</link>
		<comments>http://www.sambarrow.com/archives/38#comments</comments>
		<pubDate>Sat, 12 Apr 2008 21:26:40 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/38</guid>
		<description><![CDATA[This class allows you to build URLs using an easy object oriented interface.
Example:
// My blog
$url = new sb_url;
$url -&#62; setDomain(&#8217;www.sambarrow.com&#8217;);
echo $url -&#62; generate() . &#8216;&#60;br /&#62;&#8217;;
// My blog archives
$url -&#62; setPath(&#8217;/archives&#8217;);
echo $url -&#62; generate() . &#8216;&#60;br /&#62;&#8217;;
// My blog (using SSL)
$url -&#62; setPath(&#8217;/');
$url -&#62; setProtocol(sb_protocol_https);
echo $url -&#62; generate() . &#8216;&#60;br /&#62;&#8217;;
Download:
URL Builder Class
]]></description>
			<content:encoded><![CDATA[<p>This class allows you to build URLs using an easy object oriented interface.</p>
<p>Example:</p>
<p>// My blog</p>
<p>$url = new sb_url;<br />
$url -&gt; setDomain(&#8217;www.sambarrow.com&#8217;);</p>
<p>echo $url -&gt; generate() . &#8216;&lt;br /&gt;&#8217;;</p>
<p>// My blog archives</p>
<p>$url -&gt; setPath(&#8217;/archives&#8217;);</p>
<p>echo $url -&gt; generate() . &#8216;&lt;br /&gt;&#8217;;</p>
<p>// My blog (using SSL)</p>
<p>$url -&gt; setPath(&#8217;/');<br />
$url -&gt; setProtocol(sb_protocol_https);</p>
<p>echo $url -&gt; generate() . &#8216;&lt;br /&gt;&#8217;;</p>
<p>Download:</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/04/urlclass.phps" title="URL Builder Class">URL Builder Class</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/38/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fully object oriented + strongly typed PHP</title>
		<link>http://www.sambarrow.com/archives/36</link>
		<comments>http://www.sambarrow.com/archives/36#comments</comments>
		<pubDate>Fri, 11 Apr 2008 20:07:41 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/36</guid>
		<description><![CDATA[I wrote a few classes today allowing you to use all of your types as objects (like in Java).
$string = new vstring(&#8217;Hello!&#8217;);
$upper = $string -&#62; upper();
echo $upper -&#62; get();
This will output &#8220;HELLO!&#8221;
Strong PHP Types
]]></description>
			<content:encoded><![CDATA[<p>I wrote a few classes today allowing you to use all of your types as objects (like in Java).</p>
<p>$string = new vstring(&#8217;Hello!&#8217;);<br />
$upper = $string -&gt; upper();<br />
echo $upper -&gt; get();</p>
<p>This will output &#8220;HELLO!&#8221;</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/04/strong-typing.phps" title="Strong PHP Types">Strong PHP Types</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/36/feed</wfw:commentRss>
		</item>
		<item>
		<title>New type hinting patch</title>
		<link>http://www.sambarrow.com/archives/32</link>
		<comments>http://www.sambarrow.com/archives/32#comments</comments>
		<pubDate>Mon, 31 Mar 2008 13:24:52 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Core Development]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/32</guid>
		<description><![CDATA[This new type hinting patch includes support for objects with __toString methods, allowing them to pass a string type hint.
Scalar Type Hinting Patch (March 31, 2008)
]]></description>
			<content:encoded><![CDATA[<p>This new type hinting patch includes support for objects with __toString methods, allowing them to pass a string type hint.</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/scalartypehinting-52.patch" title="Scalar Type Hinting Patch (March 31, 2008)">Scalar Type Hinting Patch (March 31, 2008)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/32/feed</wfw:commentRss>
		</item>
		<item>
		<title>Brute force login attack protection system</title>
		<link>http://www.sambarrow.com/archives/28</link>
		<comments>http://www.sambarrow.com/archives/28#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:34:20 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/28</guid>
		<description><![CDATA[This script allows a user X failed logins. After this, their account is locked for N minutes. After the lock ends, they are allowed X more failed logins, and the process starts from the beginning. All logins are logged with IP address and timestamp.
This script is specific to a site I recently made, so it [...]]]></description>
			<content:encoded><![CDATA[<p>This script allows a user X failed logins. After this, their account is locked for N minutes. After the lock ends, they are allowed X more failed logins, and the process starts from the beginning. All logins are logged with IP address and timestamp.</p>
<p>This script is specific to a site I recently made, so it will have to be adapted to your login system. I can do this if you are interested, charging for my time, or you can do it, just replace my site specific functions (alerts_add, app_redirect, and db_*) and create the tables.</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/login-protection-system-script.phps" title="Login Protection System Script">Login Protection System Script</a><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/login-protection-system-tables.sql" title="Login Protection System SQL Export"><br />
</a><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/login-protection-system-tables.sql" title="Login Protection System SQL Export">Login Protection System SQL Export</a><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/login-protection-system-tables.sql" title="Login Protection System SQL Export"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/28/feed</wfw:commentRss>
		</item>
		<item>
		<title>Common matching functions</title>
		<link>http://www.sambarrow.com/archives/26</link>
		<comments>http://www.sambarrow.com/archives/26#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:18:03 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/26</guid>
		<description><![CDATA[These are 3 functions that will match zip codes, alphanumeric strings, and email address.
Common matching functions
]]></description>
			<content:encoded><![CDATA[<p>These are 3 functions that will match zip codes, alphanumeric strings, and email address.</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/match.phps" title="Common matching functions">Common matching functions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/26/feed</wfw:commentRss>
		</item>
		<item>
		<title>Database Select Query Builder</title>
		<link>http://www.sambarrow.com/archives/22</link>
		<comments>http://www.sambarrow.com/archives/22#comments</comments>
		<pubDate>Thu, 27 Mar 2008 21:16:33 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://www.sambarrow.com/archives/22</guid>
		<description><![CDATA[Just something I was messing around with. I made a class that allows you to build your own queries, with full support for conditionals. Pretty interesting, take a look. It&#8217;s all done using object oriented.
Database Select Query Builder
]]></description>
			<content:encoded><![CDATA[<p>Just something I was messing around with. I made a class that allows you to build your own queries, with full support for conditionals. Pretty interesting, take a look. It&#8217;s all done using object oriented.</p>
<p><a href="http://www.sambarrow.com/wp-content/uploads/2008/03/selectclass.phps" title="Database Select Query Builder">Database Select Query Builder</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/22/feed</wfw:commentRss>
		</item>
		<item>
		<title>Database Security Functions</title>
		<link>http://www.sambarrow.com/archives/20</link>
		<comments>http://www.sambarrow.com/archives/20#comments</comments>
		<pubDate>Tue, 11 Mar 2008 18:13:52 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[PHP Libraries]]></category>

		<guid isPermaLink="false">http://sambarrow.com/posts/20</guid>
		<description><![CDATA[These two functions escape data for sql queries, and apply backticks to table/column names. They can be used in conjunction with the mysql functions for easy updating, insertion, etc. that I will be posting soon.
DB Security Functions
]]></description>
			<content:encoded><![CDATA[<p>These two functions escape data for sql queries, and apply backticks to table/column names. They can be used in conjunction with the mysql functions for easy updating, insertion, etc. that I will be posting soon.</p>
<p><a href="http://sambarrow.com/wp-content/uploads/2008/03/dbsec.phps" title="DB Security Functions">DB Security Functions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/20/feed</wfw:commentRss>
		</item>
		<item>
		<title>My Ubuntu Hardware Site</title>
		<link>http://www.sambarrow.com/archives/19</link>
		<comments>http://www.sambarrow.com/archives/19#comments</comments>
		<pubDate>Tue, 11 Mar 2008 15:26:03 +0000</pubDate>
		<dc:creator>Sam Barrow</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://sambarrow.com/posts/19</guid>
		<description><![CDATA[Many of you may have heard of my Ubuntu Linux hardware compatibility site. For those that are not aware, I did a complete from-scratch rewrite a couple of weeks back, along with new hosting. You can check out the new site at ubuntuhcl.org.
Contribute!
Leave a review on your Ubuntu hardware and contribute to our database of [...]]]></description>
			<content:encoded><![CDATA[<p>Many of you may have heard of my Ubuntu Linux hardware compatibility site. For those that are not aware, I did a complete from-scratch rewrite a couple of weeks back, along with new hosting. You can check out the new site at <a href="http://www.ubuntuhcl.org">ubuntuhcl.org</a>.</p>
<p>Contribute!<br />
Leave a review on your Ubuntu hardware and contribute to our database of hundreds of reviews.</p>
<p>Access the hardware review rss feed at <a href="http://www.ubuntuhcl.org/reviews/rss">ubuntuhcl.org/reviews/rss</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambarrow.com/archives/19/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
