<?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>Intrepid Blog &#187; modular</title>
	<atom:link href="http://blog.affien.com/archives/tag/modular/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.affien.com</link>
	<description>A few thoughts</description>
	<lastBuildDate>Mon, 23 Jan 2012 08:47:37 +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>Modular Server</title>
		<link>http://blog.affien.com/archives/2004/12/11/modular-server/</link>
		<comments>http://blog.affien.com/archives/2004/12/11/modular-server/#comments</comments>
		<pubDate>Sat, 11 Dec 2004 18:01:24 +0000</pubDate>
		<dc:creator>Bas Westerbaan</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[modular]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sucks]]></category>

		<guid isPermaLink="false">http://blog.w-nz.com/archives/2004/12/11/modular-server/</guid>
		<description><![CDATA[(Understanding URIs)
"A common mistake, responsible fo [...]]]></description>
			<content:encoded><![CDATA[<p>(<a href="http://www.w3.org/TR/chips/#uri">Understanding URIs</a>)</p>
<blockquote><p>&#8220;A common mistake, responsible for many HTTP implementations problems, is to think this is equivalent to a filename within a computer system. This is wrong. URIs have, conceptually, nothing to do with a file system. One should remember that at all times when dealing with the World Wide Web.&#8221;</p></blockquote>
<p>So why do most HTTP servers still heavily rely on the filesystem dictating URL&#8217;s?</p>
<p>This not only tends to create <a href="http://www.w3.org/Provider/Style/URI.html"><em>Uncool</em> URI&#8217;s</a>, but also makes it seem logical for filebased dynamic content (more on that <a href="http://blog.w-nz.com/archives/2004/12/11/why-server-side-scripts-arent-that-scalable-at-all/">in my previous post</a>).</p>
<p>A http server, actually every server should be nothing more then a wrapper for modules which handle requests of clients.</p>
<p>The server would only limit itself to a very selected amount of functions</p>
<ul>
<li>Handling connections</li>
<li>Exposing an API for the protocol which the modules can us</li>
<li>Hosting modules</li>
</ul>
<p>On startup the server loads modules and binds them to certain URL. Modules remain persistant in the memory and are just signalled a request is made passing the module an API to handle the request.</p>
<p>I&#8217;ll be busy exploring the posibilities to implement this.. there will be more about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.affien.com/archives/2004/12/11/modular-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

