<?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>Jordan Hall &#187; web programming</title>
	<atom:link href="http://jordanhall.co.uk/tag/web-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://jordanhall.co.uk</link>
	<description>Jordan Hall - programmer and geek</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:36:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bitcoin Helper 0.11 &#8211; Error handling and caching</title>
		<link>http://jordanhall.co.uk/social-media-search-engine-optimisation-seo/bitcoin-helper-0-11-error-handling-and-exchange-rate-caching-13011366/</link>
		<comments>http://jordanhall.co.uk/social-media-search-engine-optimisation-seo/bitcoin-helper-0-11-error-handling-and-exchange-rate-caching-13011366/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 09:49:13 +0000</pubDate>
		<dc:creator>Jordan Hall</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Social Media & Search Engine Optimisation (SEO)]]></category>
		<category><![CDATA[Bitcoin]]></category>
		<category><![CDATA[crypto-currency]]></category>
		<category><![CDATA[currency]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[web programming]]></category>

		<guid isPermaLink="false">http://jordanhall.co.uk/?p=1366</guid>
		<description><![CDATA[This is a quick post to announce the release of Bitcoin Helper 0.11. Bitcoin Helper 0.11 contains significantly better error handler than the initial release (0.1) and also makes the file-based caching of the JSON retrieved from bitcoincharts.com mandatory. Error Handling It can now handle internal issues with network communication to the data source and incorrect [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jordanhall.co.uk/wp-content/uploads/2012/01/error_warning_icon.png"><img class="alignright  wp-image-1371" title="Warning icon" src="http://jordanhall.co.uk/wp-content/uploads/2012/01/error_warning_icon.png" alt="Warning icon" width="63" height="63" /></a>This is a quick post to announce the release of Bitcoin Helper 0.11. Bitcoin Helper 0.11 contains significantly better error handler than the initial release (0.1) and also makes the file-based caching of the JSON retrieved from bitcoincharts.com mandatory.</p>
<h2>Error Handling</h2>
<p>It can now handle internal issues with network communication to the data source and incorrect JSON formatting of retrieved data. Bitcoin Helper 0.11 also checks to ensure the requested ISO 4217 currency code, for conversion to Bitcoin, is supported.</p>
<p>Certain functions in Bitcoin Helper now return a negative integer in the case that an error occurs. Details regarding these error codes can be found in the source code comments of bitcoin_helper.php. The relevant section of commenting is quoted below for convenience.</p>
<blockquote><p>/* Information about error codes</p>
<p>Certain functions within Bitcoin Helper (0.11 onwards) will return<br />
numeric error codes in the case of unexpected error or failure.</p>
<p>You should make sure to check the returned value for error codes<br />
(inte<del>r</del>gers less than zero) in your code. The following reference<br />
shows the error numbers and an explanation.</p>
<p>* -1 = Network error retrieving data from bitcoincharts.com<br />
* -2 = Error decoding JSON data retrieved from bitcoincharts.com<br />
* -3 = Currency code not supported<br />
* -4 = Could not write to cache file &#8211; check permissions!<br />
*/</p></blockquote>
<h2>File-based Caching</h2>
<p>Bitcoin Helper 0.1 would cache the JSON containing currency exchange rates to a file if possible. This caching is now a requirement as of Bitcoin Helper 0.11.</p>
<p>Bitcoin Helper will attempt to write a file named &#8216;bitcoin_weighted_prices.json&#8217;. If this file is not writeable, you will receive error code -4.</p>
<p>If you receive this error, you will need to alter the permissions of the directory to allow this file to be created. Once created, you can revert the directory permissions if you desire and make only the individual &#8216;bitcoin_weighted_prices.json&#8217; file writeable.</p>
<h2>Download Bitcoin Helper 0.11</h2>
<p>To download Bitcoin Helper 0.11 with improved error handling, please go to the <a title="Bitcoin Helper – PHP Bitcoin class" href="http://jordanhall.co.uk/projects/bitcoin-helper-php-bitcoin-class/">Bitcoin Helper</a> project page.</p>
]]></content:encoded>
			<wfw:commentRss>http://jordanhall.co.uk/social-media-search-engine-optimisation-seo/bitcoin-helper-0-11-error-handling-and-exchange-rate-caching-13011366/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitcoin Helper 0.1 &#8211; Converting currencies to Bitcoin</title>
		<link>http://jordanhall.co.uk/web-applications-cloud-computing/bitcoin-helper-0-1-converting-currencies-to-bitcoin-41011357/</link>
		<comments>http://jordanhall.co.uk/web-applications-cloud-computing/bitcoin-helper-0-1-converting-currencies-to-bitcoin-41011357/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 15:19:41 +0000</pubDate>
		<dc:creator>Jordan Hall</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web, Applications & Cloud Computing]]></category>
		<category><![CDATA[Bitcoin]]></category>
		<category><![CDATA[crypto-currency]]></category>
		<category><![CDATA[currency]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[web programming]]></category>

		<guid isPermaLink="false">http://jordanhall.co.uk/?p=1357</guid>
		<description><![CDATA[Over the past few months, I&#8217;ve gained quite an interest in the crypto-currency Bitcoin. Bitcoin is a new currency which has no physical form, but can be considered Internet cash. If you want more information on Bitcoin in general, take a look at the We Use Coins website, which has a great introductory video and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jordanhall.co.uk/wp-content/uploads/2012/01/bitcoin.png"><img class="alignright  wp-image-1359" title="Bitcoin logo" src="http://jordanhall.co.uk/wp-content/uploads/2012/01/bitcoin-150x150.png" alt="" width="120" height="120" /></a>Over the past few months, I&#8217;ve gained quite an interest in the crypto-currency Bitcoin.</p>
<p>Bitcoin is a new currency which has no physical form, but can be considered Internet cash. If you want more information on Bitcoin in general, take a look at the <a href="http://www.weusecoins.com/" target="_blank">We Use Coins</a> website, which has a great introductory video and articles/links to other useful Bitcoin resources.</p>
<h2>Bitcoin Helper 0.1 Released</h2>
<p>As part of my interest in Bitcoin, I&#8217;ve decided to start a mini-project in the form of <a href="http://jordanhall.co.uk/projects/bitcoin-helper-php-bitcoin-class/">Bitcoin Helper</a>, a PHP class which will contain multiple methods to aid web site/application developers in integrating Bitcoin related functionality into their systems. The first function, which comes in Bitcoin Helper 0.1, is a really easy to use converter that can convert non Bitcoin currencies into the equivalent Bitcoin value and return the result.</p>
<p>To see how simple it is to use, see the following code snippet.</p>
<p style="padding-left: 30px;"><code>include "bitcoin_helper.php";<br />
$bh = new bitcoin_helper;<br />
echo $bh-&gt;convert_to_btc("GBP", 10);</code></p>
<p>This will convert £10 (Great British Pounds) into Bitcoin and echo out the result. The following works for USD and Euros as well.</p>
<p style="padding-left: 30px;"><code>echo $bh-&gt;convert_to_btc("USD", 10);<br />
echo $bh-&gt;convert_to_btc("EUR", 10);</code></p>
<p>The trade data for several other currencies is provided from the external source (see the Bitcoin Charts website). If your currency is listed there, entering its ISO 4217 currency code as the first parameter of the convert_to_btc function should allow you to convert any value of that currency into Bitcoin.</p>
<p>Please note that this is the first release of Bitcoin Helper, so I can not guarantee it is bug free. More checks, validation, improvements and new features will be added in the future versions. Feel free to leave a comment with any suggestions.</p>
<p>I hope this very basic Bitcoin Helper release can assist web developers with some simple Bitcoin conversion in their sites.</p>
<h3>Download Bitcoin Helper 0.1</h3>
<p>To download this first version of Bitcoin Helper (0.1), please visit the <a href="http://jordanhall.co.uk/projects/bitcoin-helper-php-bitcoin-class/">Bitcoin Helper project page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jordanhall.co.uk/web-applications-cloud-computing/bitcoin-helper-0-1-converting-currencies-to-bitcoin-41011357/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contacular PHP Contact Form</title>
		<link>http://jordanhall.co.uk/web-applications-cloud-computing/contacular-php-contact-form-0602504/</link>
		<comments>http://jordanhall.co.uk/web-applications-cloud-computing/contacular-php-contact-form-0602504/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:03:06 +0000</pubDate>
		<dc:creator>Jordan Hall</dc:creator>
				<category><![CDATA[Web, Applications & Cloud Computing]]></category>
		<category><![CDATA[contact form]]></category>
		<category><![CDATA[Contacular]]></category>
		<category><![CDATA[Contacular PHP contact form]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[open source software]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP contact form]]></category>
		<category><![CDATA[PHP form processors]]></category>
		<category><![CDATA[web contact form]]></category>
		<category><![CDATA[web programming]]></category>

		<guid isPermaLink="false">http://jordanhall.co.uk/?p=504</guid>
		<description><![CDATA[This is just a quick post to announce the recent start of one of my recent open source projects, Contacular. I have been building up Contacular&#8217;s overall feature set over the past week, having made the initial release on the 25th of January 2010. I now believe it is worthy of a post here, based [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick post to announce the recent start of one of my recent open source projects, <a href="http://contacular.co.uk/">Contacular</a>. I have been building up Contacular&#8217;s overall feature set over the past week, having made the initial release on the 25th of January 2010. I now believe it is worthy of a post here, based on the large influx of recent visitors to the Contacular website.</p>
<h3>So, what is Contacular?</h3>
<p><a href="http://jordanhall.co.uk/wp-content/uploads/2010/02/contacular-bot1.jpg"><img class="alignright size-full wp-image-510" title="Contacular bot" src="http://jordanhall.co.uk/wp-content/uploads/2010/02/contacular-bot1.jpg" alt="Contacular PHP contact form bot" width="180" height="240" /></a>Contacular is an open source contact form generator and processor written in <a href="http://jordanhall.co.uk/tag/PHP/">PHP</a>. It is designed to be used as either a complete <a href="http://contacular.co.uk">PHP contact form</a> solution, with full validation and e-mailing, or as an initial code base for web development to build upon. I&#8217;ve designed Contacular to be really simple to get up and running with and yet still be very expandable. The entire system is object-orientated and open source licensed.</p>
<p>A quick overview of the <a href="http://contacular.co.uk/contacular-features.php">features of Contacular</a>:</p>
<ol>
<li>Fully integrated contact form solution</li>
<li>Simple generation of contact forms</li>
<li>Many built-in Contacular contact form types</li>
<li>Integrated <a href="http://recaptcha.net">reCAPTCHA</a> human check / spam protection support</li>
<li>Adoption of existing website styling (CSS) wherever possible</li>
<li>Form field validation in all forms</li>
<li>Automatic validation error reporting</li>
<li>Advanced validation &#8211; e.g. checking submitted e-mail addresses are from real domains</li>
<li>E-mailing form results to one or more recipients</li>
<li>GPL licensed, open source, object orientated code base</li>
<li>Tested in multiple browsers on multiple platforms</li>
<li>Seamless upgrading to new versions &#8211; just download and replace the files</li>
<li>Easily expandable</li>
<li>More on the way&#8230;</li>
</ol>
<p>Take a look at the <a href="http://contacular.co.uk/how-to-use-contacular-tutorial.php">how to use Contacular</a> guide, and if you&#8217;re interested, go ahead and <a href="http://contacular.co.uk/download-contacular.php">download Contacular</a>. The latest version is always at the top, with that download page also containing the <a href="http://contacular.co.uk/download-contacular.php">Contacular change log</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jordanhall.co.uk/web-applications-cloud-computing/contacular-php-contact-form-0602504/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

