<?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>Jeroens blog &#187; Epic</title>
	<atom:link href="http://blog.bn2vs.com/tag/epic/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bn2vs.com</link>
	<description>Blog of Jeroen De Dauw. The latest news on my open source work and interests.</description>
	<lastBuildDate>Fri, 23 Dec 2011 14:44:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Diff win</title>
		<link>http://blog.bn2vs.com/2010/04/01/diff-win/</link>
		<comments>http://blog.bn2vs.com/2010/04/01/diff-win/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 02:02:34 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Diff]]></category>
		<category><![CDATA[Epic]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[ViewVC]]></category>
		<category><![CDATA[Win]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=765</guid>
		<description><![CDATA[This diff, which I seriously made without realizing how epic it was at first, is definitely worth a blog post.]]></description>
			<content:encoded><![CDATA[<p>This diff, which I seriously made without realizing how epic it was at first, is definitely worth a blog post.</p>
<p><a href="http://blog.bn2vs.com/wp-content/uploads/2010/04/diffWin.gif"><img class="alignnone size-large wp-image-766" title="Diff win - clikc to view full size image" src="http://blog.bn2vs.com/wp-content/uploads/2010/04/diffWin-1024x147.gif" alt="Diff win - clikc to view full size image" width="600" height="86" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/04/01/diff-win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The next big paradigm shift in database design</title>
		<link>http://blog.bn2vs.com/2010/03/23/the-next-big-paradigm-shift-in-database-design/</link>
		<comments>http://blog.bn2vs.com/2010/03/23/the-next-big-paradigm-shift-in-database-design/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 23:14:38 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Fail]]></category>
		<category><![CDATA[Atheneum]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Epic]]></category>
		<category><![CDATA[KA]]></category>
		<category><![CDATA[KA Sint-Niklaas]]></category>
		<category><![CDATA[Sint-Niklaas]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=759</guid>
		<description><![CDATA[Today I came across what I predict will be the next big paradigm shift in the world of database design. This brilliant work I stumbled upon has been created by 4 students at the Koninklijk Atheneum of Sint-Niklaas, an innovative institute devoted to developing bleeding edge technologies. It is a completely new way of structuring [...]]]></description>
			<content:encoded><![CDATA[<p>Today I came across what I predict will be the next big paradigm shift in the world of database design. This brilliant work I stumbled upon has been created by 4 students at the <a href="http://www.atheneumsintniklaas.be/">Koninklijk Atheneum of Sint-Niklaas</a>, an innovative institute devoted to developing bleeding edge technologies. It is a completely new way of structuring MySQL database tables, the next epoch in design if you will.</p>
<p>Before we have a look at the code, let&#8217;s first consider the strong points of this new way of structuring database tables.</p>
<p><strong>Benefits</strong>:</p>
<ul>
<li>It does away with all the confusing field type&#8217;s &#8211; just use INT&#8217;s for ID&#8217;s, and text for all the rest.</li>
<li>Create only one table, which then holds all your data. This can be done by creating fields such as peopleWith1pc, peopleWith2pcs, peopleWith3pcs, ect. Brilliant no?</li>
<li>To make it even more easy, it also does away with any sort of naming convention, after all, it&#8217;s only confusing!</li>
</ul>
<p>Let&#8217;s have a look at a simple example where the new pattern is applied to a database in which survey results are stored. The table stores &#8216;answers&#8217; of people who took the survey. The field names are in Dutch, but this should not prevent you from deducing the overall awesomeness. </p>
<p><strong>Code</strong>:</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">IF</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">EXISTS</span> <span style="color: #ff0000;">`antwoorden`</span> <span style="color: #66cc66;">&#40;</span><br />
&nbsp; <span style="color: #ff0000;">`id`</span> <span style="color: #993333; font-weight: bold;">INT</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`geslacht`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`studeren`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`geboorteJaar`</span> <span style="color: #993333; font-weight: bold;">INT</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`gsm`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`prijsGsmToestel`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`herlaadmanier`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`provider`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`bedragPerMaan`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`smsPerDag`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`belPerDag`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`mp3`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`prijsMp3`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`gebruikMp3`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pc`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc1`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc2`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc3`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc4`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc5`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc6`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc7`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc8`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc9`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`aantalPc10`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`prijsPc`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcWerk`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcSchool`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcGamen`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcFilm`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcComm`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcSociaal`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcMuziek`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcAndere`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcGebruik`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcProvider`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pc2000`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcXp`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcVista`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pc7`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcLeo`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcSnowLeo`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcLinux`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcUnix`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pcAndereBest`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pda`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`prijsPda`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pdaWerk`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pdaSchool`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pdaGamen`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pdaAndere`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pdaGebruik`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pdaProvider`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`tv`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`tvGebruik`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`tvProvider`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`gamen`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`play1`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`play2`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`play3`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`xbox`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`xbox360`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`psp`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`pspGo`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`gameCube`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`wii`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`ds`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`gameAndere`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`consoleAantal`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`prijsGames`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`digiFoto`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`filmCamera`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`extHD`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`memStick`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`videoRec`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`dvdSpelRec`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`bluRay`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`dlToetsMuis`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`gameToeb`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`surround`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`printer`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`webcam`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`scanner`</span> text<span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #ff0000;">`enqueteLeuk`</span> text <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span><span style="color: #66cc66;">,</span><br />
&nbsp; <span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> &nbsp;<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`id`</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#41;</span></div></div>
<p><strong>References</strong>:</p>
<ul>
<li><a href="http://www.codeproject.com/Feature/CodingHorrors.aspx?msg=3412364#xx3412364xx">Official paper on TCP</a></li>
<li><a href="http://encyclopediadramatica.com/Fail">A deeper look at the benefits</a></li>
<li><a href="http://www.youtube.com/watch?v=oHg5SJYRHA0">Step-by-step tutorial</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/03/23/the-next-big-paradigm-shift-in-database-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

