<?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>threegerbers.com &#187; Code Examples</title>
	<atom:link href="http://threegerbers.com/archives/category/code-examples/feed" rel="self" type="application/rss+xml" />
	<link>http://threegerbers.com</link>
	<description>General thoughts, observations, and code from the life of Joel Gerber</description>
	<lastBuildDate>Fri, 09 Apr 2010 15:22:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone apps with Flash</title>
		<link>http://threegerbers.com/archives/160</link>
		<comments>http://threegerbers.com/archives/160#comments</comments>
		<pubDate>Wed, 24 Feb 2010 17:34:50 +0000</pubDate>
		<dc:creator>jg</dc:creator>
				<category><![CDATA[Code Examples]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://threegerbers.com/?p=160</guid>
		<description><![CDATA[Looking forward to the official CS5 release!

]]></description>
			<content:encoded><![CDATA[<p>Looking forward to the official CS5 release!<br/><br />
<object width="425" height="256"><param name="movie" value="http://images.tv.adobe.com/swf/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="fileID=5039&#038;context=76&#038;embeded=true&#038;environment=production"></param><embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=5039&#038;context=76&#038;embeded=true&#038;environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="256"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://threegerbers.com/archives/160/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Backup</title>
		<link>http://threegerbers.com/archives/118</link>
		<comments>http://threegerbers.com/archives/118#comments</comments>
		<pubDate>Mon, 09 Feb 2009 01:16:47 +0000</pubDate>
		<dc:creator>jg</dc:creator>
				<category><![CDATA[Code Examples]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://threegerbers.com/?p=118</guid>
		<description><![CDATA[I needed a PHP script that would backup a MySQL database and email the copy to a specified email address. I found parts of the script below on the we and added them together along with some
of my PHP code. This script will backup all tables in a single database, using mysqldump, zip the resulting [...]]]></description>
			<content:encoded><![CDATA[<p>I needed a PHP script that would backup a MySQL database and email the copy to a specified email address. I found parts of the script below on the we and added them together along with some<br />
of my PHP code. This script will backup all tables in a single database, using mysqldump, zip the resulting file and email the zip file as an attachment to a specified email address.</p>
<p>To use this script, download the file, change the .txt extension to .php and change the parameters at the top of the file. You can run the script interactively or setup a cron job or a Windows Scheduled Task.</p>
<p class="warning">[The requested file <kbd>http://threegerbers.com/examples/mysqlbackup.txt</kbd> could not be found]</p>
]]></content:encoded>
			<wfw:commentRss>http://threegerbers.com/archives/118/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Forms and PHP</title>
		<link>http://threegerbers.com/archives/85</link>
		<comments>http://threegerbers.com/archives/85#comments</comments>
		<pubDate>Mon, 19 Jan 2009 19:30:11 +0000</pubDate>
		<dc:creator>jg</dc:creator>
				<category><![CDATA[Code Examples]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://threegerbers.com/?p=85</guid>
		<description><![CDATA[Does anyone really like HTML forms? Seriously, just say no to HTML forms! Most of the IDEs and server-side technologies give you some visual tools to handle html form creation and validation but these tools lock you into specific technology and still leave the problem of cross-browser formatting up to the developer. After looking at [...]]]></description>
			<content:encoded><![CDATA[<p>Does anyone really like HTML forms? Seriously, just say no to HTML forms! Most of the IDEs and server-side technologies give you some visual tools to handle html form creation and validation but these tools lock you into specific technology and still leave the problem of cross-browser formatting up to the developer. After looking at Flex it seems like a potential answer to the cross-browser formatting problem and supports using whatever server-side technology you desire.</p>
<p>Here&#8217;s a quick sample to show you want can be done. The MXML source for a form is below. The form includes simple validation and will post to a web server that is running PHP. The post variables are echoed back to the Flex form.</p>
<h2>How to deploy this example</h2>
<p>1. Download SampleForm.mxml, edit the url in the httpservice to point to your web server and build the Flex project.<br />
2. Download Form.txt, rename Form.txt to Form.php and move it to your web server<br />
3. Preview the Flex form!</p>
<h2>Flex MXML File</h2>
<p class="warning">[The requested file <kbd>http://threegerbers.com/examples/SampleForm.mxml</kbd> could not be found]</p>
<h2>PHP file to handle the response</h2>
<p class="warning">[The requested file <kbd>http://threegerbers.com/examples/form.txt</kbd> could not be found]</p>
]]></content:encoded>
			<wfw:commentRss>http://threegerbers.com/archives/85/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

