<?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>OnlyCentral.com</title>
	<atom:link href="http://www.onlycentral.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onlycentral.com</link>
	<description>Living in a digital age</description>
	<lastBuildDate>Mon, 16 Jan 2012 21:54:36 +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>PHP Json Formatter with Zend Framework</title>
		<link>http://www.onlycentral.com/2012/01/16/php-json-formatter-with-zend-framework/</link>
		<comments>http://www.onlycentral.com/2012/01/16/php-json-formatter-with-zend-framework/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 21:48:12 +0000</pubDate>
		<dc:creator>OnlyCentral.com</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.onlycentral.com/?p=55</guid>
		<description><![CDATA[I&#8217;ve been hunting the internet for a good Json Pretty Print for PHP when I finally discovered one right under my nose. The purpose was to output Json in a human readable form, making it easier to see what data &#8230; <a href="http://www.onlycentral.com/2012/01/16/php-json-formatter-with-zend-framework/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been hunting the internet for a good Json Pretty Print for PHP when I finally discovered one right under my nose.</p>
<p>The purpose was to output Json in a human readable form, making it easier to see what data is being transferred through one of my projects.<br />
<span id="more-55"></span><br />
PHP does not yet have its own implementation of Pretty Printing inside its Json system yet (as of PHP 5.3.x), however there is some intriguing constants inside the source code (look for JSON_PRETTY_PRINT, which can now also be found in the <a title="json_encode" href="http://php.net/json_encode">json_encode</a> manual page).</p>
<p>Meanwhile Zend Framework seems to have this solved through its Zend_Json class. With Zend Framework being open source you can easily get hold of the source code to translate it to any project and language you need, as long as your environment supports Perl compatible regular expressions (<a title="preg_split" href="http://php.net/preg_spilt">preg_split</a>).</p>
<p>&lt;code&gt;<br />
print Zend_Json::prettyPrint($json);<br />
&lt;/code&gt;</p>
<p>It is not quite perfect but it does the job.</p>
<p>I currently have an exporter storing full user accounts in a Json object saved as a file, part of this data is a column in the database which stores Json itself, it seems the Zend_Json::prettyPrint function will also go ahead and pretty this up also, not quite expected but cool none the less!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlycentral.com/2012/01/16/php-json-formatter-with-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking iOS AppStore Marketing Campaigns</title>
		<link>http://www.onlycentral.com/2011/12/01/tracking-ios-appstore-installs/</link>
		<comments>http://www.onlycentral.com/2011/12/01/tracking-ios-appstore-installs/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 08:29:31 +0000</pubDate>
		<dc:creator>OnlyCentral.com</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[metrics]]></category>

		<guid isPermaLink="false">http://www.onlycentral.com/?p=32</guid>
		<description><![CDATA[So I&#8217;ve been asked how do we identify where our users are coming from? Which marketing campaigns are the most successful? And are we making our money back? I&#8217;m sure there are many people out there with the same question! &#8230; <a href="http://www.onlycentral.com/2011/12/01/tracking-ios-appstore-installs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been asked how do we identify where our users are coming from? Which marketing campaigns are the most successful? And are we making our money back?</p>
<p>I&#8217;m sure there are many people out there with the same question!</p>
<p><span id="more-32"></span></p>
<p><strong>The problem:</strong></p>
<p>We want to use multiple ad networks to determine which provides the most engaged user, and which networks we are making our money back on. However Apple iOS App Store and Google Marketplace all make this difficult.</p>
<ol>
<li>Installs are all through a single source (AppStore).</li>
<li>The AppStore swallows all source information.</li>
<li>Apple doesn&#8217;t allow us to put tracking codes into the install process.</li>
<li>Applications and the Web Browser are sandboxed. We cannot set a cookie and read it from within an application.</li>
</ol>
<p><strong>The solution:</strong></p>
<p>I appreciate there are many sources of inaccuracy with this approach, however I think it&#8217;s a good start. We will need:</p>
<ul>
<li>Ad click tracking and forward to app store.</li>
<li>Consume a click, recording a new user against the click with as much accuracy as possible.</li>
</ul>
<p>This seems simple in concept but can be tricky to implement.</p>
<p><strong>Ad Click Tracking</strong></p>
<p>This involves writing a webservice which will record as many details about an ad click as possible, all open and available information given to us from the Safari browser will do.</p>
<p><strong>Ad Service Notification</strong></p>
<p>In our Game Servers we add a little extra to the Create New User functions, providing a callback with all of the details available which the browser normally can provide. This could even be done through a webview sent to a specific Game Server endpoint which can hopefully provide the identical information provided before.</p>
<p><strong>Final Piece of the Puzzle</strong></p>
<p>Consumption: We need to consume ad clicks as soon as we can. The longer we leave it the more inaccurate the results. Match up the first Ad Click with the first matching New User and attach the user to the click.</p>
<p>This should give us a picture of how successful and valuable our marketing campaigns have been when compared against each other.</p>
<p><strong>Accuracy</strong></p>
<p>Clearly there are massive sources of inaccuracy! I do wish Apple would allow us to put an arbitrary string into the install process ( think: appstore.com/myapp?source=my_advert2 ) as this would be far more accurate! But what other choice do we have?</p>
<p>If you want to find out more about the solution and how well it is working for us, please contact me and ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlycentral.com/2011/12/01/tracking-ios-appstore-installs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon EC2 Instances and the t1.micro</title>
		<link>http://www.onlycentral.com/2011/11/22/amazon-ec2-instances-t1-micro/</link>
		<comments>http://www.onlycentral.com/2011/11/22/amazon-ec2-instances-t1-micro/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 21:58:17 +0000</pubDate>
		<dc:creator>OnlyCentral.com</dc:creator>
				<category><![CDATA[Amazon AWS]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://www.onlycentral.com/?p=28</guid>
		<description><![CDATA[I&#8217;ve looked at the Amazon EC2 Instance Types and spotted the t1.micro. An interesting beast &#8211; at the time of writing it has 2 compute units (burstable), half a GB of RAM and as much disk space as you can &#8230; <a href="http://www.onlycentral.com/2011/11/22/amazon-ec2-instances-t1-micro/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve looked at the Amazon EC2 Instance Types and spotted the t1.micro. An interesting beast &#8211; at the time of writing it has 2 compute units (burstable), half a GB of RAM and as much disk space as you can throw at it with Amazon EBS.</p>
<p>I found it quite a pleasant experience, until we launched.</p>
<p>My opinions follow&#8230;</p>
<p><span id="more-28"></span></p>
<p><strong>Cheap</strong></p>
<p>These are certainly cheap! Cheaper than many other reputable hosting options out there (offering root level access on dedicated Virtual Machines). The next level up machine only has half the processing power and is 32 bit only for about 4 times the price!</p>
<p><strong>Fast</strong></p>
<p>They&#8217;re certainly quick! 2 compute units of raw power! Provided you don&#8217;t have noisy neighbours&#8230; They held up well in a loaded situation! So whats the problem here then? Notice I mentioned noisy neighbours&#8230; When others want resources you will have them taken away from you without warning. It seems the micro&#8217;s don&#8217;t have a lower guaranteed processing limit which would have been nice! I&#8217;ve had complete instances fall over and become unresponsive for minutes at a time (up to 20 mins on one occasion). Rebooting will not help you here, as it takes time for it to respond to the reboot, especially when it doesn&#8217;t have time to even answer a ping! 12,000ms ping time anyone? on a gigabit (shared) network as well.</p>
<p><strong>64 Bit</strong></p>
<p>Don&#8217;t be fooled. 64 bit is great! But the next level up machine is only 32 bit. You cannot boot any AMIs built in 64 bit micro&#8217;s in a 32 bit m1.small. This caused me a problem as I had to rebuild my instances in a hurry in the middle of an expensive marketing push!</p>
<p><strong>Shared</strong></p>
<p>Clearly the problem is over-subscription. This is mostly evident in the way the micros are mentioned in the documentation. It simply states &#8220;up to 2 EC2 compute units burst&#8221;. What they fail to tell you is there is no minimum. If others on the shared physical host start to have a party, you&#8217;re drowned out in all the noise.</p>
<p><strong>Conclusion</strong></p>
<p>Don&#8217;t touch the t1.micros. They will run well in a development environment but they&#8217;re very bad news for production!</p>
<p>Though to break that rule I&#8217;m thinking of moving my current VPS requirements to Amazon, I don&#8217;t want to pay for an m1.small just yet so I think I&#8217;ll take the risk with a t1.micro. Still undecided though.</p>
<p>I&#8217;ve heard a rumour Amazon might be removing 32 bit only instance types from their portfolio, this would be very nice! Only time will tell..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlycentral.com/2011/11/22/amazon-ec2-instances-t1-micro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And so it begins..</title>
		<link>http://www.onlycentral.com/2011/08/14/and-so-it-begins/</link>
		<comments>http://www.onlycentral.com/2011/08/14/and-so-it-begins/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 15:27:54 +0000</pubDate>
		<dc:creator>OnlyCentral.com</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.onlycentral.com/?p=1</guid>
		<description><![CDATA[So I&#8217;m giving wordpress a go.. I&#8217;ll be writing about a number of different things over the coming days, stay tuned! I&#8217;ve recently been working on some pretty interesting projects, some which have been very successful at their design goals &#8230; <a href="http://www.onlycentral.com/2011/08/14/and-so-it-begins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m giving wordpress a go.. I&#8217;ll be writing about a number of different things over the coming days, stay tuned!</p>
<p>I&#8217;ve recently been working on some pretty interesting projects, some which have been very successful at their design goals and have become the cornerstone for an entire company providing plenty of extremely useful information for people to draw interesting conclusions from.</p>
<p><span id="more-1"></span></p>
<p>I&#8217;m very proud of the stuff I&#8217;ve managed to create, not to mention it has allowed me to play amongst some very interesting players including providing solutions for the BBC and Electronic Arts.</p>
<p>Stay tuned for more as time goes on. I&#8217;m sure to let slip a few secrets every now and then&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlycentral.com/2011/08/14/and-so-it-begins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

