<?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>What Dave writes &#187; DBI</title>
	<atom:link href="http://davetang.org/wordpress/tag/dbi/feed/" rel="self" type="application/rss+xml" />
	<link>http://davetang.org/wordpress</link>
	<description>Movies, books, computers, etc.</description>
	<lastBuildDate>Thu, 01 Jul 2010 13:46:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Keeping a mental tab on things</title>
		<link>http://davetang.org/wordpress/2009/07/12/keeping-a-mental-tab-on-things/</link>
		<comments>http://davetang.org/wordpress/2009/07/12/keeping-a-mental-tab-on-things/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 01:39:34 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[DBI]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://davetang.org/wordpress/?p=100</guid>
		<description><![CDATA[So a small project I&#8217;ve been working on involves keeping a list of useful items, i.e. todo lists, grocery lists, etc. I got the idea reading a life hacking post about staying organised by keeping lists. The only difference is that I have chosen to keep tab of my lists in a MySQL database (instead [...]]]></description>
			<content:encoded><![CDATA[<p>So a small project I&#8217;ve been working on involves keeping a list of useful items, i.e. todo lists, grocery lists, etc. I got the idea reading a <a href="http://www.lifehack.org/articles/productivity/9-lists-to-keep-updated-and-keep-handy.html">life hacking post</a> about staying organised by keeping lists. The only difference is that I have chosen to keep tab of my lists in a MySQL database (instead of the funky moleskin notepad) and I will use a simple web interface to view and update my lists.</p>
<p>Since my web hosting company provides MySQL and Perl, along with the DBI module creating this virtual todo list is pretty easy. It&#8217;s just a matter of creating the 9 tables in a database and writing some CGI scripts that will allow a user (me) to insert entries into the database. A word of note is that you should always use taint mode for Perl CGI scripts and untaint any data from web forms before running the SQL query. I&#8217;ve also limited access to the CGI scripts that manipulate the databases for obvious reasons. However I will allow everybody to view my lists, by creating a new MySQL user and granting the user viewing privileges (select privilege).</p>
<p>The nine lists are (if you haven&#8217;t already read the life hacking post):</p>
<ol>
<li>A wish list: if people don&#8217;t know what to buy you for special days
<li>A gift list: awesome gifts to buy people
<li>Minute list: stuff to do if I have a spare minute
<li>BHAGs: Big hairy audacious goals, enough said
<li>Bucket list: stuff to do before you die
<li>Grocery list: a grocery list
<li>Recommended list: stuff people have recommended to me, i.e. books, movies, etc.
<li>Rememeber list: stuff to remember
<li>Ideas list: for when you have that really awesome idea
</ol>
<p>I also plan to import my bookmarks into a database and use this simple web interface to update my favourite sites. Hopefully this will help me keep a mental tab on things.</p>
]]></content:encoded>
			<wfw:commentRss>http://davetang.org/wordpress/2009/07/12/keeping-a-mental-tab-on-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
