<?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/"
	>

<channel>
	<title>Realm of Zod &#187; php</title>
	<atom:link href="http://blog.realmofzod.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.realmofzod.com</link>
	<description>Programming and Technology</description>
	<lastBuildDate>Wed, 09 Jun 2010 19:59:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Portable File Encryption with PHP and Java</title>
		<link>http://blog.realmofzod.com/2010/06/09/portable-file-encryption-with-php-and-java/</link>
		<comments>http://blog.realmofzod.com/2010/06/09/portable-file-encryption-with-php-and-java/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:59:44 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[decryption]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[swing]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=256</guid>
		<description><![CDATA[<!-- Easy AdSense V2.86 -->
<!-- Post[count: 1] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6616898812779690";
/* 468x60, created 11/12/09 */
google_ad_slot = "0995711308";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- Easy AdSense V2.86 -->

I had a client project come up recently that required HIPAA compliance which meant encryption was going to be involved. The goal was to collect patient information and then store it in encrypted pdf files so they could be downloaded, decrypted, and entered into another system. It did not sound like the most efficient system however that was the spec I was given. I had never worked with symmetric encryption before although it has always been a topic of interest so I jumped at the opportunity to expand my knowledge of cryptography.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/06/09/portable-file-encryption-with-php-and-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic paths in external javascript and stylesheets</title>
		<link>http://blog.realmofzod.com/2010/04/19/dynamic-paths-in-external-javascript-and-stylesheets/</link>
		<comments>http://blog.realmofzod.com/2010/04/19/dynamic-paths-in-external-javascript-and-stylesheets/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 17:46:13 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=252</guid>
		<description><![CDATA[<!-- Easy AdSense V2.86 -->
<!-- Post[count: 2] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6616898812779690";
/* 468x60, created 11/12/09 */
google_ad_slot = "0995711308";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- Easy AdSense V2.86 -->

Best practices  dictate that unobtrusive javascript is king these days which means that all javascript should live in external js files instead of cluttering up the html. Simple enough, however, situations arise sometimes where you need to adapt your javascript for dynamic conditions of the application, most notably, the current base directory where your application lives. If your application is small enough you can just hard code paths to images, other scripts, or internal urls however if you are anything like me, you probably shudder at the thought of hard coding any thing. Take this use case into consideration: let's say we have an external javascript file called myscript.js which houses all of our javascript for handling click events on ajax powered links throughout the site.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/04/19/dynamic-paths-in-external-javascript-and-stylesheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Geo Coordinates from Google Maps in PHP</title>
		<link>http://blog.realmofzod.com/2010/02/05/get-geo-coordinates-from-google-maps-in-php/</link>
		<comments>http://blog.realmofzod.com/2010/02/05/get-geo-coordinates-from-google-maps-in-php/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 19:00:21 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=234</guid>
		<description><![CDATA[Google maps offers a rich api for getting a lot of information as you are probably already aware. I've written a few locators in the last couple of years involving the use of google maps and doing radial searches based on zip codes. The difficult part for me was getting the geo coordinates of the queried zip code to use as a reference point for doing the radial search. I ended up writing a nice simple class to encapsulate converting zip codes into geo-coordinates.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/02/05/get-geo-coordinates-from-google-maps-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why HipHop is Hype and Facebook Looks Foolish</title>
		<link>http://blog.realmofzod.com/2010/02/04/why-hiphop-is-hype-and-facebook-looks-foolish/</link>
		<comments>http://blog.realmofzod.com/2010/02/04/why-hiphop-is-hype-and-facebook-looks-foolish/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 01:30:28 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hiphop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[platforms]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=236</guid>
		<description><![CDATA[The twitterverse has been in a flurry of hype over Facebook's latest abortion: HipHop. For those who don't know, HipHop is Facebook's answer to scalability problems on their platform. Since everyone and their dog (literally) is on facebook, their platform responds to millions of requests each day, meaning they need serious hardware and software that can handle this brutal, unrelenting onslaught every second of every day. Facebook is written in Php which is suitable language for most applications on the web however when you push it as hard as facebook has, it starts to split at the seems like any runtime that was not designed with enterprise in mind. You can extend its life with the use of load balancers, smart caching,  and good development practices but sooner or later it will fail you.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/02/04/why-hiphop-is-hype-and-facebook-looks-foolish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dynamically Manage Models with Zend_CodeGenerator</title>
		<link>http://blog.realmofzod.com/2010/01/19/dynamically-manage-models-with-zend_codegenerator/</link>
		<comments>http://blog.realmofzod.com/2010/01/19/dynamically-manage-models-with-zend_codegenerator/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 18:30:01 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scaffolding]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=179</guid>
		<description><![CDATA[The holidays have passed and at last I've gotten enough of my obligations out of the way to begin to innovate on some new code as well as play with some of the new offerings in the latest versions of the Zend Framework. I've been most interested in particular with Zend_CodeGenerator since I have spent a lot of time in the last year writing boilerplate code for various projects. I find that the bulk of my time is spent prototyping models so I figured it would not be hard to build a model scaffolding script not unlike the 'rake' command in ruby on rails and similar commandline tools offered by the many application platforms out there. Rather than killing my wrists pounding out models, their various attributes and associated mutators/accessors, I decided that my time would be more efficiently spent describing my models using a short hand format (preferably xml) and then having a script translate that into actual classes and files. The Doctrine ORM allows you do this very thing translating YAML into Doctrine Models. This was very interesting to me but I chose to take it a step further and have it build all of my Domain Model infrastructure while it was at it (This includes the models, the gateway classes, and the DAO classes).]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2010/01/19/dynamically-manage-models-with-zend_codegenerator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Doctrine, Complex SQL Queries, and Paginators</title>
		<link>http://blog.realmofzod.com/2009/10/07/doctrine-complex-sql-queries-and-paginators/</link>
		<comments>http://blog.realmofzod.com/2009/10/07/doctrine-complex-sql-queries-and-paginators/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 00:45:46 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Domain Model]]></category>
		<category><![CDATA[DRY]]></category>
		<category><![CDATA[Pagination]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=146</guid>
		<description><![CDATA[<img class="alignleft size-medium wp-image-147" title="Mad_scientist_caricature_2" src="http://blog.realmofzod.com/wp-content/uploads/2009/10/Mad_scientist_caricature_2-300x280.png" alt="Mad_scientist_caricature_2" width="210" height="196" />In my efforts to build web applications using domain model programming I've encountered some interesting technical hurdles for keeping my implementation details away from my models. The most problematic issue that has come up time and time again has been that of using paginators. It's very difficult to keep your paginator class in the dark about database implementation details and have it be able to handle complex use cases. Over the last few months I have slowly evolved a sophisticated way to describe a complex sql query using nothing more than an associative array which can be passed to a clueless paginator which talks to the database through a predefined interface to a model gateway. Yeah the mad scientist is me because that's how I felt when I looked back on the pure genius of this method.]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/10/07/doctrine-complex-sql-queries-and-paginators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eROI releases Moonit into the wild</title>
		<link>http://blog.realmofzod.com/2009/09/14/eroi-releases-moonit-into-the-wild/</link>
		<comments>http://blog.realmofzod.com/2009/09/14/eroi-releases-moonit-into-the-wild/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 23:20:41 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[eroi]]></category>
		<category><![CDATA[Doctrine]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=130</guid>
		<description><![CDATA[
After months of development, and over a year of brainstorming, Moonit LLC unveiled moonit.com at TechCrunch50 2009 today. As the primary back end developer for this site I felt compelled to be a huge cheerleader for this site as it is the latest example of the incredible talent of the developers, designers and managers at eroi. In [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/09/14/eroi-releases-moonit-into-the-wild/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Implement a Rest API with the Zend Framework</title>
		<link>http://blog.realmofzod.com/2009/05/06/implement-a-rest-api-with-the-zend-framework/</link>
		<comments>http://blog.realmofzod.com/2009/05/06/implement-a-rest-api-with-the-zend-framework/#comments</comments>
		<pubDate>Thu, 07 May 2009 03:08:32 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Silk CMS]]></category>
		<category><![CDATA[Site-Related]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=73</guid>
		<description><![CDATA[Edit: Recent developments in the 1.9 version of the Zend Framework has caused much of this information to become obsolete. Please consider Zend_Rest_Server deprecated and use Zend_Rest_Controller instead. I will write an updated article once I have experimented with it. Thanks to the other developers who brought this to my attention.
As a developer and I [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/05/06/implement-a-rest-api-with-the-zend-framework/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Modular Zend Framework Skeleton 2009</title>
		<link>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/</link>
		<comments>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 20:29:18 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[skeleton]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=52</guid>
		<description><![CDATA[So the application skeleton series proved to be more popular than I was expecting. Unfortunately after a couple of server migrations, the source code examples that were linked to those articles did not survive the trip. I&#8217;ve gotten a lot of comments to restore those examples so I decided to write a new article to [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/04/08/modular-zend-framework-skeleton-2009/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Object Oriented GD</title>
		<link>http://blog.realmofzod.com/2009/04/06/object-oriented-gd/</link>
		<comments>http://blog.realmofzod.com/2009/04/06/object-oriented-gd/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 01:07:34 +0000</pubDate>
		<dc:creator>brandon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[object oriented]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.realmofzod.com/?p=48</guid>
		<description><![CDATA[Sooner or later we all need to use the gd library whether it be for generating thumbnails, scaling images, cropping, or whatever. When compiled with gd support, PHP offers a massive arsenal of functions to accomplish all of the image related tasks you can think of. With the advent of object oriented frameworks such as [...]]]></description>
		<wfw:commentRss>http://blog.realmofzod.com/2009/04/06/object-oriented-gd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
