<?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"
	>

<channel>
	<title>Foo Hack &#187; nodejs</title>
	<atom:link href="http://foohack.com/category/nodejs/feed/" rel="self" type="application/rss+xml" />
	<link>http://foohack.com</link>
	<description>Isaac Schlueter on Web Development</description>
	<pubDate>Fri, 29 Oct 2010 17:20:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Simple Node Server</title>
		<link>http://foohack.com/2009/12/simple-node-serve/</link>
		<comments>http://foohack.com/2009/12/simple-node-serve/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 18:09:00 +0000</pubDate>
		<dc:creator>Isaac</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[nodejs]]></category>

		<guid isPermaLink="false">http://foohack.com/?p=140</guid>
		<description><![CDATA[Here is an example of a very simple lighttpd/nginx-style web server written in NodeJS.

I&#8217;ve called it simple-node-server or &#8220;sns&#8221; for short, and you can fork it on my github account.

There are a lot of folks building SSJS clones of Django and WSGI and Rack the like.  However, Python and Ruby have blocking IO, and <small><a href="http://foohack.com/2009/12/simple-node-serve/">...Read More</a></small>]]></description>
			<content:encoded><![CDATA[<p>Here is an example of a very simple lighttpd/nginx-style web server written in <a href="http://nodejs.org">NodeJS</a>.</p>
<p>I&#8217;ve called it <a href="http://github.com/isaacs/simple-node-server">simple-node-server</a> or &#8220;sns&#8221; for short, and you can <a href="http://github.com/isaacs/simple-node-server">fork it on my github account</a>.</p>
<p>There are a lot of folks building <abbr title="Server Side JavaScript">SSJS</abbr> clones of Django and WSGI and Rack the like.  However, Python and Ruby have blocking <abbr title="input/output">IO</abbr>, and even while they have the <em>capacity</em> for asynchronous behavior, it&#8217;s not the <em>default</em>.</p>
<p>I believe that, in order to get a really good JavaScript application framework, and cultivate new development in this green field, we must start with what we have, and iterate until it is closer to the ideal.  I am skeptical that we&#8217;ll be able to get there by cloning the productions of synchronicity, no matter how sophisticated they may be.</p>
<p>It is possible today to build a web server in a day, in a flexible dynamic language, which can serve an alarming number of requests per second, by embracing asynchronous architecture.</p>
<p>Let&#8217;s play: <a href="http://github.com/isaacs/simple-node-server">simple-node-server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://foohack.com/2009/12/simple-node-serve/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.106 seconds -->
<br />
<b>Warning</b>:  fopen(/var/www/foohack.com/public/blog/wp-content/cache/meta/wp-cache-ca12f99f0d753a71aba1fca167f11080.meta) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/var/www/foohack.com/public/blog/wp-content/plugins/wp-super-cache/wp-cache-phase2.php</b> on line <b>379</b><br />
<br />
<b>Warning</b>:  fputs(): supplied argument is not a valid stream resource in <b>/var/www/foohack.com/public/blog/wp-content/plugins/wp-super-cache/wp-cache-phase2.php</b> on line <b>380</b><br />
<br />
<b>Warning</b>:  fclose(): supplied argument is not a valid stream resource in <b>/var/www/foohack.com/public/blog/wp-content/plugins/wp-super-cache/wp-cache-phase2.php</b> on line <b>381</b><br />

