<?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>dreadfullyposh.com &#187; Code</title>
	<atom:link href="http://dreadfullyposh.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://dreadfullyposh.com</link>
	<description>life. death. and social networking.</description>
	<lastBuildDate>Sat, 14 Aug 2010 17:59:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A Plea for Independent MojoMotor Addon Developers</title>
		<link>http://dreadfullyposh.com/2010/08/a-plea-for-independent-mojomotor-addon-developers/</link>
		<comments>http://dreadfullyposh.com/2010/08/a-plea-for-independent-mojomotor-addon-developers/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 17:47:38 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Rambling]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[mojomotor]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=341</guid>
		<description><![CDATA[<p><span style="font-weight: normal; font-size: 13px;">As one of the developers of <a href="http://mojoaddons.com" target="_blank">MojoAddons</a>, along with <a href="http://twitter.com/zackkitzmiller" target="_blank">Zack Kitzmiller</a>, <a href="http://philsturgeon.co.uk" target="_blank">Phil Sturgeon</a>, <a href="http://dhorrigan.com" target="_blank">Dan Horrigan</a> and <a href="http://myerman.com">Tom Myer</a>, we’ve banded together to provide much-needed functionality to extend the <a href="http://mojomotor.com" target="_blank">MojoMotor</a></span>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: normal; font-size: 13px;">As one of the developers of <a href="http://mojoaddons.com" target="_blank">MojoAddons</a>, along with <a href="http://twitter.com/zackkitzmiller" target="_blank">Zack Kitzmiller</a>, <a href="http://philsturgeon.co.uk" target="_blank">Phil Sturgeon</a>, <a href="http://dhorrigan.com" target="_blank">Dan Horrigan</a> and <a href="http://myerman.com">Tom Myer</a>, we’ve banded together to provide much-needed functionality to extend the <a href="http://mojomotor.com" target="_blank">MojoMotor</a> platform.</span></p>
<p>I’ve noticed two threads of discussion happening surrounding the addons we’re creating, selling and supporting, and I’m finding both of these discussions to be a bit discouraging. So I write this post- a rationale of why and how we do what we as well as a plea for your support.</p>
<h3>The first discussion revolves around the question, “Why do you charge for all of your addons?”</h3>
<p><strong>From my perspective, commercial addons are the ideal solution for a commercial product such as MojoMotor.</strong> While it may come across that we just want to cash in on a new market, for me  at least the rationale is deeper than that.</p>
<p>As a web developer using ExpressionEngine for my clients, I often need the functionality provided by addons. I am given a choice when I start the project, either I can build all of the functionality myself, or I can purchase someone else’s addon and use it. There is also the third option of finding a free alternative.</p>
<p>I normally choose to purchase a commercial addon. Why?</p>
<p>In either the case of building my own or using someone’s free alternative, I lose support for the addon. If I build it myself, I have to support it. A free addon may have support, but there’s no guarantee of how long it will be available, how attentive the developer will be, etc.</p>
<p>When I’m charging customers thousands of dollars for a website, I don’t want to be taking that kind of risk to my credibility. If something isn’t working, I need to be able to get in contact with someone who knows what they’re doing. Sure I could dig through the code and figure it out myself, but that’s a waste of both my time and the customer’s money. That’s why I use a commercial CMS like ExpressionEngine, and stick with commercial addons to add functionality.</p>
<p>In the same vein, the addons I and other MojoAddons developers are selling come with support. That’s where the price comes into play. Most of us wouldn’t mind contributing a small piece of code to the community to help people out, and both Dan and Phil have done this, but the influx of support requests makes it unreasonable to do this for our larger and more complicated products. It just comes down to a matter of time—donating maybe two or three hours to the cause is one thing, but the unending hours of e-mail support add up and take us away from our other priorities.</p>
<p><strong>Support is the main reason why we charge for our addons.</strong></p>
<p>Along this same line of thinking, I just want to remind our customers that you shouldn’t hesitate to contact us for support. In the MojoAddons download center, and e-mail is provided for support of each of the products you’ve purchased. You’ve paid for our support, so please don’t hesitate to use it.</p>
<p>We’ve had a lot of great reactions to our addons, and we’re excited about that. But a few bugs have cropped up here and there, and I’d encourage you to contact us for help when you do find a problem, rather than trying to fix it yourself. In the end it’ll help make our products better, and it’ll help us help other users of our addons.</p>
<h3>The second discussion I’ve become aware of surrounds the development of free alternatives to the addons we’re selling.</h3>
<p>Firstly, I’m all about supporting the community. EllisLab is known for fostering active, friendly and helpful communities of users surrounding its products. It’s one of the reasons it’s so great to work with CodeIgniter, ExpressionEngine and now MojoMotor. I just want to get that out of the way to begin with. In no way do I condemn the creation of community code and addons for the good of everyone.</p>
<p>What I do condemn is blatant imitation of commercial addons. I’m certainly no intellectual property expert, and I don’t really want to dive into legal battles. But the reality is, there have been several free addons released that clearly have a basis in the functionality my colleagues and I have envisioned and built.</p>
<p><strong>It’s discouraging to see this, tearing down the hard work we’ve done and the support which we’ve committed to offer.</strong></p>
<p>A lot of thinking, preparation, development time and testing has gone into creating the products we sell. And we’re proud of what we’ve done, creating, hopefully, easy-to-use tools for MojoMotor users.</p>
<p>I totally support the creation of free alternatives, as long as they don’t duplicate the functionality of our addons with nearly-identical syntax, etc.</p>
<p>While I don’t have any recourse for this situation, I want to try and turn this around to have a positive outcome. There are GREAT developers out there now, working hard and fast to create everything the MojoMotor users wish and hope for in addon software.  So, instead of condemning these actions I’m going to call them to a greater cause:</p>
<p><strong>As software developers in a great community with a brand new product, I encourage every developer to INNOVATE. </strong>Sure the other MojoAddons developers and I have had some pretty awesome ideas thus far, but the community can no move forward if we simply continue to rebuild the same addons in small iterations. The MojoMotor users are calling out for the features they want to see.</p>
<p>Regardless of whether you choose to release your addons for free or commercially, we developers are problem solvers. And trust me, there are plenty of problems out there to solve. So get out there, do it. Don’t let the ideas I or my colleagues have created hold you back to an idea of how your addons should work.</p>
<p>We are a community, and I am glad that EllisLab is committed to organizing its users in this way. I encourage everyone here to respect the creations others have come up with, continue to build up the products we love with equally awesome addons and lastly to work together, not against each other, to bring MojoMotor to new levels of functionality that will benefit everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/08/a-plea-for-independent-mojomotor-addon-developers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Introducing MojoAddons</title>
		<link>http://dreadfullyposh.com/2010/07/introducing-mojoaddons/</link>
		<comments>http://dreadfullyposh.com/2010/07/introducing-mojoaddons/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 22:45:40 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=339</guid>
		<description><![CDATA[Get your mojo back.]]></description>
			<content:encoded><![CDATA[<p>This week an exciting thing happened. MojoMotor, the brand new content management system from EllisLab, makers of ExpressionEngine, was released.</p>
<p>I had been testing MojoMotor along with several other developers in the beta program and got a head start into working with the code. As a result <a href="http://twitter.com/zackkitzmiller" target="_blank">Zack Kitzmiller</a> and I set off on a path to build several much-needed addons for the new CMS. Along the way, we also built a really cool little site to show them off and sell them, as well as help to sell third-party addons from other developers. In the future we&#8217;ll also be adding third-party packaged themes for MojoMotor users.</p>
<p>So, with that, I&#8217;m happy to introduce <a href="http://mojoaddons.com" target="_blank">MojoAddons.com</a>.</p>
<p>If you&#8217;re trying out MojoAddons and using it for a project, I think you&#8217;ll find our addons are a great fit for making MojoMotor just a bit more powerful.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/07/introducing-mojoaddons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Book Review: CodeIgniter 1.7 Professional Development</title>
		<link>http://dreadfullyposh.com/2010/07/book-review-codeigniter-1-7-professional-development/</link>
		<comments>http://dreadfullyposh.com/2010/07/book-review-codeigniter-1-7-professional-development/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 01:34:25 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=316</guid>
		<description><![CDATA[<p>I was recently asked to review Packt Publishing’s new book, <em><a href="http://www.packtpub.com/codeigniter-1-7-professional-development/book?utm_source=dreadfullyposh.com&#38;utm_medium=bookrev&#38;utm_content=blog&#38;utm_campaign=mdb_003231">CodeIgniter 1.7: Professional Development</a></em>, by fellow CodeIgniter community member, <a href="http://adamgriffiths.co.uk">Adam Griffiths</a>. Adam is a well-known developer in the CI community, who, despite his young age, has become well-known among&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I was recently asked to review Packt Publishing’s new book, <em><a href="http://www.packtpub.com/codeigniter-1-7-professional-development/book?utm_source=dreadfullyposh.com&amp;utm_medium=bookrev&amp;utm_content=blog&amp;utm_campaign=mdb_003231">CodeIgniter 1.7: Professional Development</a></em>, by fellow CodeIgniter community member, <a href="http://adamgriffiths.co.uk">Adam Griffiths</a>. Adam is a well-known developer in the CI community, who, despite his young age, has become well-known among the ranks of  CodeIgniter developers with his open source contributions.</p>
<p>I’m always excited to see new CodeIgniter books published, as the framework is growing in popularity and credibility among PHP developers, with applications springing up across the Internet. The framework is known for its excellent user guide and a strong community backing. But sometimes the resources available aren’t quite enough to make the concepts click in a new developer’s mind.</p>
<p>For me, the process involved viewing some of the available screencasts and looking at code that other had written in their applications. It wasn’t hard, but Adam’s new book would have been helpful to me in those early days of development with CodeIgniter. A selection of other CI-focused books have been published in the past, but I haven’t found many to be as practical as Adam’s. In previous books, often a single sample project is selected and used throughout the book to explain all of the concepts.</p>
<p>Adam’s approach is quite different and takes a look at various pieces of functionality that application developers might find very useful, while not walking them through the entire process of building an example application.</p>
<p>Specifically, Adam’s examples of using Twitter and Facebook authentication as well as accessing RESTful web services prove very useful, as these functions are increasingly at the core of many applications being built today.</p>
<p>The book also spends a bit of time talking about the basics of style in PHP coding. A guide like this would have helped to alleviate the evolution of coding style I’ve experienced as I’ve spent more and more time building web applications. It provides a solid baseline, referencing the CodeIgniter documentation’s style guide as a resource for maintaining code consistency.</p>
<p>Overall, I think that <em>CodeIgniter 1.7: Professional Development</em> fills a void in the market for CodeIgniter resources. I’d certainly recommend it to someone just starting out with the framework as an additional resource to use alongside the various other community resources.</p>
<p>The new book is not without its flaws though. As good as it is at helping a new developer get started at building all parts of an application: models, views, controllers and libraries, the one piece that’s lacking is advice on how to integrate with other people’s code. There a wealth of pre-written code out there, which though it may not be built to work with CodeIgniter, can save developers a ton of time as they build applications—if they know how to properly connect with third-party libraries from within the CodeIgniter framework. It can be a little bit tricky at first, so a primer in that area would be ideal.</p>
<p>Additionally, opening up the book with a bit of prior PHP experience is advised. Sometimes the examples don’t fully explain what’s going on in the code, so it could be a little complicated for a complete beginner.</p>
<p>Overall, though, I’m impressed with the direction this book goes. The angle is good, with a focus outside of the typical ‘build a blog in 20 minutes’ example.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/07/book-review-codeigniter-1-7-professional-development/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Introducing API View</title>
		<link>http://dreadfullyposh.com/2010/04/code-for-api-view/</link>
		<comments>http://dreadfullyposh.com/2010/04/code-for-api-view/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 02:17:43 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=289</guid>
		<description><![CDATA[<p>In my last post, I talked about my thoughts on moving API output in CodeIgniter to the View. Well, here&#8217;s the code for it. It&#8217;s fairly simple.</p>
<p>A couple little notes:</p>
<ul>
<li>Using this view requires the PEAR XML Serializer</li></ul><p>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>In my last post, I talked about my thoughts on moving API output in CodeIgniter to the View. Well, here&#8217;s the code for it. It&#8217;s fairly simple.</p>
<p>A couple little notes:</p>
<ul>
<li>Using this view requires the PEAR XML Serializer library. Assuming your PEAR libraries are in your path settings, the view should work. You may need to adjust the path to the libary, though, on line 56.</li>
<li>This code isn&#8217;t meant to be pretty. In most cases, your views get laid out with as little PHP code as possible, making it easy to style them. This is a different kind of view. It&#8217;s only purpose is to make API output use the same syntax as loading any other view. Because of this, this view does lots of nasty things that you should NEVER do in a normal view. This is your disclaimer. I created this for my own purposes to work the way I wanted it to, and if you have objections, it&#8217;s certainly understandable, but I don&#8217;t really care. <img src='http://dreadfullyposh.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </li>
</ul>
<p>Anyway, without further ado, if I haven&#8217;t scared you away, why don&#8217;t you give it a try?</p>
<p><a href="http://dreadfullyposh.com/wp-content/uploads/2010/04/api.php_.zip">Download the API View</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/04/code-for-api-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Returning API Output to its Rightful Place</title>
		<link>http://dreadfullyposh.com/2010/04/returning-api-output-to-its-rightful-place/</link>
		<comments>http://dreadfullyposh.com/2010/04/returning-api-output-to-its-rightful-place/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 12:48:16 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=280</guid>
		<description><![CDATA[<p>Most everyone knows I&#8217;m not a Rails guy, and that&#8217;s probably never going to change, much to many of my colleague&#8217;s dismay.</p>
<p>I do, however, appreciate many of the features of Rails. The one on which I&#8217;m going to focus&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Most everyone knows I&#8217;m not a Rails guy, and that&#8217;s probably never going to change, much to many of my colleague&#8217;s dismay.</p>
<p>I do, however, appreciate many of the features of Rails. The one on which I&#8217;m going to focus today is its built-in ability to show output in various formats.</p>
<p>My beloved framework, CodeIgniter, doesn&#8217;t have this capability built in, and in my development travels, I&#8217;ve handled API output in a variety of ways. All of them work just fine, but they really didn&#8217;t conform to the MVC architecture. API output, at least how I see it, should be sent to the browser through a view, just like any other sort of output.</p>
<p>A week or so ago, I created a helper that handled all the necessary API output stuff, including converting to JSON or XML. It worked just fine, but I found myself having to refer to the syntax a lot, every time I wanted to use it. It was just too cumbersome. And at about the same time, I began thinking how nice it&#8217;d be to use the familiar <em>$this-&gt;load-&gt;view();</em> view loader method for APIs, too.</p>
<p>So, that&#8217;s just what I did. I took some of the logic from the helper and piled it into a one-size-fits-all view for APIs. It&#8217;s a little odd at first, when you look it it, since there&#8217;s a whole lot of code, which you don&#8217;t usually find in a view file, but, considering you never have to touch any of it directly, it works quite nicely.</p>
<p>I&#8217;ll post the code later on, but I just share my thoughts about this method of handling API output from CodeIgniter.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/04/returning-api-output-to-its-rightful-place/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New URL Shortener</title>
		<link>http://dreadfullyposh.com/2010/03/new-url-shortener/</link>
		<comments>http://dreadfullyposh.com/2010/03/new-url-shortener/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 00:48:47 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=276</guid>
		<description><![CDATA[<p>So, I&#8217;ve just updated my WordPress plugin to use my own homebrewed URL shortener, http://dpsh.me, when Tweeting about my new blog posts. How exciting!</p>
<p>It was a pretty quick little project to build the shortener a few weeks ago, and&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve just updated my WordPress plugin to use my own homebrewed URL shortener, http://dpsh.me, when Tweeting about my new blog posts. How exciting!</p>
<p>It was a pretty quick little project to build the shortener a few weeks ago, and updating WordPress to use it was really easy too. I really should post the code somewhere.</p>
<p>Now, if Tweetie would just hurry up and release an update to the Mac client that includes custom shorteners like the iPhone client does.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/03/new-url-shortener/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A vCard Library</title>
		<link>http://dreadfullyposh.com/2010/03/a-vcard-library/</link>
		<comments>http://dreadfullyposh.com/2010/03/a-vcard-library/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 02:24:41 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[vcards]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=271</guid>
		<description><![CDATA[Look ma,
I built something!]]></description>
			<content:encoded><![CDATA[<p>Today I was searching around for a good vCard library to use for an application I&#8217;m currently building.</p>
<p>I came across a library by Carlos Alcala in the <a href="http://codeigniter.com/wiki/vCard_Library/" target="_blank">CodeIgniter Wiki</a>. I wasn&#8217;t completely satisfied with the library as it was written, so I took the liberty of rewriting it to meet my own personal taste.</p>
<p>You can take it or leave it, but I&#8217;m quite happy with the result. I&#8217;m not going to go over it here in detail, as the comments are fairly self-explanatory, and a sample controller file is included, demonstrating various usage of the library.</p>
<p><a href="http://dreadfullyposh.com/wp-content/uploads/2010/03/vcard.zip">Download CodeIgniter vCard Library .zip file</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2010/03/a-vcard-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hashtags, Client-Server jQuery using AJAX and a Tight Deadline</title>
		<link>http://dreadfullyposh.com/2009/10/hashtags-client-server-jquery-using-ajax-and-a-tight-deadlines/</link>
		<comments>http://dreadfullyposh.com/2009/10/hashtags-client-server-jquery-using-ajax-and-a-tight-deadlines/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 00:50:44 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=261</guid>
		<description><![CDATA[<p>Well, doesn&#8217;t that sound quite weird?</p>
<p>If you follow my <a href="http://twitter.com/dreadfullyposh" target="_blank">Tweets</a> at all, you&#8217;ve probably read that in late November, I&#8217;ll be traveling to the U.K. to join the illustrious <a href="http://twitter.com/jamierumbelow" target="_blank">Jamie Rumbelow</a>, prince of PHP, at&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Well, doesn&#8217;t that sound quite weird?</p>
<p>If you follow my <a href="http://twitter.com/dreadfullyposh" target="_blank">Tweets</a> at all, you&#8217;ve probably read that in late November, I&#8217;ll be traveling to the U.K. to join the illustrious <a href="http://twitter.com/jamierumbelow" target="_blank">Jamie Rumbelow</a>, prince of PHP, at his first<a href="http://www.cambridgegeekday.com" target="_blank"> Cambridge Geek Day</a> conference.</p>
<p>You may also know, that I&#8217;ve built a basic prototype of an application called <a href="http://hashtag.it" target="_blank">hashtag.it</a>, which seeks to become a single source for meta information about hashtags used on Twitter.</p>
<p>One thing I&#8217;ve noticed at conferences is that session or conference hashtags are not standardized. Well, duh. That&#8217;s the beauty of the hashtag, it&#8217;s a completely community-driven piece of meta data. That&#8217;s all fine and good, but with the growing number of Twitter users, relevance is being lost. The goal of hashtag.it is to increase the relevance of Tweets to users by publicizing information about hashtags that users are using.</p>
<p>In a bit of a publicity stunt, I&#8217;ve offered to build an application for Cambridge Geek Day that helps attendees to use hashtags to make their Tweets during the conference more useful to other attendees and others interested in the event.</p>
<p>So, I&#8217;m building Cambridge Geek Day Connect. Basically, it&#8217;s an application that maintains a small cache of Tweets that contain specific hashtags that can be configured on the fly.</p>
<p>On the client side, jQuery is used to poll the caching server. As I&#8217;ve begun to build out the application, I&#8217;ve had to wonder what will happen with approximately 300 attendees fire up Connect, and requests begin to hit my server at a rapid clip. Will it crash? I hope not. At the same time, I wondered, what if a new hashtag comes into use after the event starts, and I want to make sure all the conference attendees have access to it?</p>
<p>The result, is a bit of a client-server setup. It&#8217;s nothing monumental, really. Configuration information is simply passed as part of each of the API&#8217;s response to the client. Configuration changes can be made to speed up or slow down the refresh of data from the client or update the hashtag filter options in the clients menu.</p>
<p>I&#8217;m sure it&#8217;s been done before. But I still must say, it&#8217;s pretty cool to see these configuration changes take place, being pushed out from the server to the clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2009/10/hashtags-client-server-jquery-using-ajax-and-a-tight-deadlines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hashtag.it</title>
		<link>http://dreadfullyposh.com/2009/08/hashtag-it/</link>
		<comments>http://dreadfullyposh.com/2009/08/hashtag-it/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 03:33:30 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[hashtags]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://dreadfullyposh.com/?p=239</guid>
		<description><![CDATA[<p>If you aren&#8217;t a nerd or don&#8217;t know use <a href="http://twitter.com">Twitter</a>, this post may make no sense to you. Fair warning.</p>
<p>A few months ago I quickly built a web site on a whim to store people&#8217;s definitions of <a&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>If you aren&#8217;t a nerd or don&#8217;t know use <a href="http://twitter.com">Twitter</a>, this post may make no sense to you. Fair warning.</p>
<p>A few months ago I quickly built a web site on a whim to store people&#8217;s definitions of <a href="http://en.wikipedia.org/wiki/Hashtag#Hash_tags">hashtags</a> from Twitter. The idea came from the huge number of hashtags I see flying by on my Twitter feed everyday. Many are common ones, but many are not. I found myself trying to figure out what they meant, and consequently, I thought maybe it&#8217;d be a good idea to try and capture the intent of each hashtag in a database somewhere.</p>
<p>So in a matter of hours I had a fully ajaxified and gracefully-degrading simple site that did just that. It&#8217;s called <a href="http://hashtag.it">hashtag.it</a>. (And let me tell you, getting a .it domain was a pain.)</p>
<p>It&#8217;s been up and running for a few months, and now I&#8217;m hoping to focus a little more of my attention to it once again.</p>
<p>Tonight I implemented my first major change to the code.</p>
<p>One of the major problems with launching a site of this nature is that it doesn&#8217;t really become useful until it&#8217;s full of data, and paradoxically, it doesn&#8217;t get full of data until people use it. What to do.. what to do?</p>
<p>Well, just last week Twitter updated their homepage, and as I diddled around with it I noticed that the trending hashtags listed on their homepage had definitions, which I later found out were sourced by a site called <a href="http://www.whatthetrend.com">What the Trend</a>. My heart sunk at first, thinking that maybe I&#8217;d missed the boat again in getting a cool site out the door and on the road to success. I looked around the site a little. It&#8217;s basically a site, somewhat similar to hashtag.it, except it deals exclusively with Twitter trends, be they hashtags or not.</p>
<p>Upon doing a little more digging, I found the What the Trend API. DING DING DING! I contacted the developer and found him amenable to my idea for using his API, which is great.</p>
<p>So now, all hashtags that appear on What the Trend will be directly imported into hashtag.it.</p>
<p>I&#8217;m hoping that over the next few days and weeks a large backlog of data can be stored and hashtag.it can actually become a useful resource for Twitter users.</p>
<p>That all sounds pretty nerdy, I&#8217;m sure. But I&#8217;m excited about it, and you should be too.</p>
<p>If you&#8217;re a Twitter user, please log onto <a href="http://hashtag.it">hashtag.it</a> and help me out by adding any hashtags you use in your Tweets. Also follow <a href="http://twitter.com/hashtagit">@hashtagit</a> on Twitter to get the latest updates to the site. By adding tags, you&#8217;ll get yourself a little publicity too, as each definition links back to the URL you provide.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2009/08/hashtag-it/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CodeIgniter Advent</title>
		<link>http://dreadfullyposh.com/2008/12/codeigniter-advent/</link>
		<comments>http://dreadfullyposh.com/2008/12/codeigniter-advent/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 19:17:27 +0000</pubDate>
		<dc:creator>j.ere.my</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dreadfullyposh.com/blog/?p=158</guid>
		<description><![CDATA[<p>This is like a dream come true.. Christmas for a CI developer&#8230;</p>
<p>Check out <a href="http://www.michaelwales.com/codeigniter/secure-application-startin-point">CodeIgniter Advent</a> on <a href="http://www.michaelwales.com">Michael Wales&#8217;</a> site.</p>
<p>I found today&#8217;s post, about protecting against CSRF exploitation extremely useful, and I look forward to seeing the&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This is like a dream come true.. Christmas for a CI developer&#8230;</p>
<p>Check out <a href="http://www.michaelwales.com/codeigniter/secure-application-startin-point">CodeIgniter Advent</a> on <a href="http://www.michaelwales.com">Michael Wales&#8217;</a> site.</p>
<p>I found today&#8217;s post, about protecting against CSRF exploitation extremely useful, and I look forward to seeing the rest of the series.</p>
]]></content:encoded>
			<wfw:commentRss>http://dreadfullyposh.com/2008/12/codeigniter-advent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
