<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Wild Web Works Blogs</title>
	<link>http://www.wildwebworks.com/blogs</link>
	<description>Programming</description>
	<lastBuildDate>Wed, 15 Apr 2009 21:41:49 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Passing Dates between Postgres and Flex</title>
		<description><![CDATA[In my opinion, ActionScript has the worst datatype for dates.  They may be a joy to man handle in Flex, but they are not very compatible with any other program.

Our Postgres VO (types) uses timestamps and Flex VO has dates.  Here&#8217;s what you need to do to make that work back and forth.
We [...]]]></description>
		<link>http://www.wildwebworks.com/blogs/2009/04/passing-dates-between-postgres-and-flex/</link>
			</item>
	<item>
		<title>Using Value Objects in Postgres and Flex</title>
		<description><![CDATA[Using VO records with the Postgres/PHP/Flex trio is the way to go.  It guarantees that your objects come over in the correct format in direct correlation to what you have going on in all three programs.  ZendAMF really likes VOs, too.

There is one HUGE THING TO REMEMBER IN FLEX &#8211; You must instantiate [...]]]></description>
		<link>http://www.wildwebworks.com/blogs/2009/04/using-value-objects-in-postgres-and-flex/</link>
			</item>
	<item>
		<title>Actionscript vs Postgres &#8211; Boolean Values</title>
		<description><![CDATA[Actionscript does not send boolean values that Postgres can take.  You need to work a little magic on the way over.

For VO records coming in from Postgres via PHP we use the following class.

package utility
&#123;
	public class BooleanConverter
	&#123;
		public static function convertBool&#40;pgBool:String&#41;:Boolean&#123;
			var newBool:Boolean = new Boolean;
			if&#40;pgBool == &#34;t&#34; &#124;&#124; pgBool == &#34;T&#34; &#124;&#124; pgBool == &#34;1&#34; [...]]]></description>
		<link>http://www.wildwebworks.com/blogs/2009/04/actionscript-vs-postgres-boolean-values/</link>
			</item>
	<item>
		<title>Database Connection Class &#8211; Flex,PHP,Postgres</title>
		<description><![CDATA[We reuse our database connection many times throughout our code.  The call is a bit complex and continually copying it was a waste of space.  We came up with a class.  This is the DBConnection.as page in its entirety.


package utility
&#123;
	// Import
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.remoting.RemoteObject;
&#160;
	public class DBConnection
	&#123;
	// Create Remote Object for connection to PHP [...]]]></description>
		<link>http://www.wildwebworks.com/blogs/2009/04/database-connection-class-flexphppostgres/</link>
			</item>
	<item>
		<title>Safari Books Online</title>
		<description><![CDATA[If you need a reference source, you should consider Safari Books Online.  It&#8217;s a small monthly investment to have access to so many resources including video and books.  All the great O&#8217;Reilly books are there along with a multitude of other publishers.  It should be included in every programmer&#8217;s arsenal.

They have added a bunch of [...]]]></description>
		<link>http://www.wildwebworks.com/blogs/2009/03/safari-books/</link>
			</item>
</channel>
</rss>
