Browse Source

new website

v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
5bbb4cadc3
  1. 125
      doc/about/index.html
  2. BIN
      doc/close-downloads.png
  3. 153
      doc/community/index.html
  4. BIN
      doc/community/not-invented-here.png
  5. BIN
      doc/download-logo.png
  6. BIN
      doc/ebay-logo.png
  7. BIN
      doc/footer-logo.png
  8. BIN
      doc/icons.png
  9. 292
      doc/index.html
  10. BIN
      doc/linkedin-logo.png
  11. BIN
      doc/logo.png
  12. 105
      doc/logos/index.html
  13. BIN
      doc/microsoft-logo.png
  14. 336
      doc/pipe.css
  15. BIN
      doc/platform-icons.png
  16. BIN
      doc/ryan-speaker.jpg
  17. 2
      doc/sh_vim-dark.css
  18. BIN
      doc/yahoo-logo.png

125
doc/about/index.html

@ -0,0 +1,125 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
ul {
padding: 0;
margin: 0;
}
</style>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=3.1.3'></script>
<script type="text/javascript" src="../sh_main.js"></script>
<script type="text/javascript" src="../sh_javascript.min.js"></script>
<link type="image/x-icon" rel="icon" href="../favicon.ico" />
<link type="image/x-icon" rel="shortcut icon" href="../favicon.ico" />
<link type="text/css" rel="stylesheet" href="../pipe.css" />
<link type="text/css" rel="stylesheet" href="../sh_vim-dark.css" />
<link rel="alternate"
type="application/rss+xml"
title="node blog"
href="http://feeds.feedburner.com/nodejs/123123123"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>node.js</title>
</head>
<body>
<div id="intro">
<img id="logo" src="../logo.png" alt="node.js"/>
</div>
<div id="content" class="clearfix">
<div id="column1" class="interior">
<h2>About</h2>
<pre>
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, "127.0.0.1");
console.log('Server running at http://127.0.0.1:1337/');</pre>
<p>Node's goal is to provide an easy way to build scalable
network programs. In the "hello world" web server example
above, many client connections can be handled concurrently.
Node tells the operating system (through <code>epoll</code>,
<code>kqueue</code>, <code>/dev/poll</code>, or
<code>select</code>) that it should be notified when a new
connection is made, and then it goes to sleep. If someone new
connects, then it executes the callback. Each connection is
only a small heap allocation.</p>
<p>This is in contrast to today's more common concurrency
model where OS threads are employed. Thread-based networking
is relatively inefficient and very difficult to use. See: <a
href="http://www.kegel.com/c10k.html">this</a> and <a
href="http://bulk.fefe.de/scalable-networking.pdf">this</a>.
Node will show much better memory efficiency under high-loads
than systems which allocate 2mb thread stacks for each
connection. Furthermore, users of Node are free from worries
of dead-locking the process—there are no locks. Almost no
function in Node directly performs I/O, so the process never
blocks. Because nothing blocks, less-than-expert programmers
are able to develop fast systems.</p>
<p>Node is similar in design to and influenced by systems like
Ruby's <a href="http://rubyeventmachine.com/">Event
Machine</a> or Python's <a
href="http://twistedmatrix.com/">Twisted</a>. Node takes the
event model a bit further—it presents the event loop as a
language construct instead of as a library. In other systems
there is always a blocking call to start the event-loop.
Typically one defines behavior through callbacks at the
beginning of a script and at the end starts a server through a
blocking call like <code>EventMachine::run()</code>. In Node
there is no such start-the-event-loop call. Node simply enters
the event loop after executing the input script. Node exits
the event loop when there are no more callbacks to perform.
This behavior is like browser javascript—the event loop is
hidden from the user.</p>
<p>HTTP is a first class protocol in Node. Node's HTTP library
has grown out of the author's experiences developing and
working with web servers. For example, streaming data through
most web frameworks is impossible. Node attempts to correct
these problems in its HTTP <a
href="https://github.com/joyent/http-parser/tree/master">parser</a>
and API. Coupled with Node's purely evented infrastructure, it
makes a good foundation for web libraries or frameworks.</p>
<p>But what about multiple-processor concurrency? Aren't
threads necessary to scale programs to multi-core computers?
You can start new processes via <code><a
href="http://nodejs.org/docs/latest/api/child_processes.html#child_process.fork">child_process.fork()</a></code>
these other processes will be scheduled in parallel. For load
balancing incoming connections across multiple processes use
<a href="http://nodejs.org/docs/latest/api/cluster.html">the
cluster module</a>.</p>
<p>See also:</p>
<ul>
<li><a href="http://s3.amazonaws.com/four.livejournal/20091117/jsconf.pdf">Slides from JSConf 2009</a></li>
<li><a href="http://nodejs.org/jsconf2010.pdf">Slides from JSConf 2010</a></li>
<li><a href="http://www.yuiblog.com/blog/2010/05/20/video-dahl/">Video from a talk at Yahoo in May 2010</a></li>
</ul>
<p><a href="/">Go back to the home page</a></p>
</div>
<div id="column2" class="interior">
</div>
</div>
<div id="footer">
<p>Copyright <a href="http://joyent.com">Joyent, Inc</a>, Node.js
is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>.
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10874194-2");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript">highlight(undefined, undefined, 'pre');</script>
</body>
</html>

BIN
doc/close-downloads.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

153
doc/community/index.html

@ -0,0 +1,153 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
ul {
padding: 0;
margin: 0;
}
</style>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=3.1.3'></script>
<script type="text/javascript" src="../sh_main.js"></script>
<script type="text/javascript" src="../sh_javascript.min.js"></script>
<link type="image/x-icon" rel="icon" href="../favicon.ico" />
<link type="image/x-icon" rel="shortcut icon" href="../favicon.ico" />
<link type="text/css" rel="stylesheet" href="../pipe.css" />
<link type="text/css" rel="stylesheet" href="../sh_vim-dark.css" />
<link rel="alternate"
type="application/rss+xml"
title="node blog"
href="http://feeds.feedburner.com/nodejs/123123123"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>node.js</title>
</head>
<body>
<div id="intro">
<img id="logo" src="../logo.png" alt="node.js"/>
</div>
<div id="content" class="clearfix">
<div id="column1" class="interior">
<p>Node's most valuable feature is the friendly and colorful community of developers. There are many places where this group congregates on the internet. This page attempts to highlight the best forums.</p>
<h2>Periodicals</h2>
<p><a href="http://howtonode.com/">How To Node</a> has a
growing number of useful tutorials. <a
href="http://planetnodejs.com">Planet Node</a> is an
aggregator of Node developer blogs. <a
href="http://nodeup.com/">NodeUp</a>
is a podcast covering the latest Node news in the
community. The <a
href="http://stackoverflow.com/questions/tagged/node.js">Stack
Overflow node.js tag</a> is collecting new information
every day.</p>
<h2>GitHub</h2>
<p>All development takes place at <a
href="http://github.com/joyent/node">http://github.com/joyent/node</a>.
The comments on commit messages are often source of heated
discussion regarding core development. The <a
href="http://github.com/joyent/node/wiki">GitHub Node
wiki</a> is full of useful links for newcomers. Don't
miss <a
href="https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node">Projects,
Applications, and Companies Using Node</a> or the <a
href="https://github.com/joyent/node/wiki/modules">very
long list of Node modules</a>, many of which are
published in the <a href="http://search.npmjs.org/">npm
registry</a>.</p>
<p><a href="http://notinventedhe.re/on/2011-7-26"><img
src="not-invented-here.png" width="100%" /></a> Bugs
should be reported to <a
href="https://github.com/joyent/node/issues">https://github.com/joyent/node/issues</a>.
Fixes to the code are welcome! Please see our <a
href="https://github.com/joyent/node/wiki/Contributing">contirbuting
guidelines</a> for information on how to submit a
patch.</p>
<h2>Mailing Lists</h2>
<p>The <a
href="http://groups.google.com/group/nodejs">user
mailing list</a> is used for announcements, discussion,
and flame wars about Node. The <a
href="http://groups.google.com/group/nodejs-dev">internal
development mailing list</a> is used for discussion of
internal design and feature proposals.</p>
<h2>IRC</h2>
<p>For real-time chat about Node development go to
<code>irc.freenode.net</code> in the <code>#node.js</code>
channel with an <a href="http://www.mirc.com">IRC</a> <a
href="http://colloquy.info/">client</a> or connect in
your web browser to the channel using <a
href="http://webchat.freenode.net/?channels=node.js">freenode's
WebChat</a>. Felix Geisendörfer keeps <a
href="http://nodejs.debuggable.com/">logs of the
channel</a> for those who miss a day.</p>
<h2>Conferences</h2>
<p><a href="http://www.nodeconf.com/">NodeCamp</a>
conferences are the main event in the United States; they
are organized by Mikeal Rogers. <a
href="http://nodefest.jp/">NodeFest (東京Node学園祭)</a>
is organized by the <a href="http://nodejs.jp">Node.js
Japan user group</a>. <a
href="http://nodecamp.de/">NodeCamp.de</a> in Cologne,
Germany is organized by <a href="railslove.de">Rails
Love</a>. An <a href="http://nodejsconf.it/">Italian
Node.js Conference</a> exists as well. <a
href="http://nodesummit.com/">Node Summit</a> is a
conference in San Francisco focusing on the adoption of
Node in larger companies. <a
href="http://jsconf.com/">JSConf</a> organizes the main
JavaScript conferences.</p>
<h2>Localized Sites</h2>
<p><code>nodejs.org</code> does not maintain any
translations into other languages. However there are
community websites in various languages with mailing lists
and translations of the website.</p>
<p><a href="http://nodejs.ru/">nodejs.ru</a> Russian blog.
<br/>
<a href="http://nodejs.ir">nodejs.ir</a> Iran group in Persian
<br/>
<a href="http://nodejs.jp/">nodejs.jp</a> Japan user group
<br/>
<a href="http://cnodejs.org">CNodeJS.org</a> Chinese community
<br/>
<a href="http://nodejs.co.il">nodejs.co.il</a> Israeli wiki
<br/>
<a href="http://nodejs.hk">HKNoJ</a> Hong Kong community
<br/>
<a href="http://nodejs.tw">nodejs.tw</a> Taiwan community</p>
<p><a href="/">Go back to the home page</a></p>
</div>
<div id="column2" class="interior">
</div>
</div>
<div id="footer">
<p>Copyright <a href="http://joyent.com">Joyent, Inc</a>, Node.js
is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>.
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script><script src="../ga.js" type="text/javascript"></script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10874194-2");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript">highlight(undefined, undefined, 'pre');</script>
</body></html>

BIN
doc/community/not-invented-here.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

BIN
doc/download-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
doc/ebay-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
doc/footer-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
doc/icons.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

292
doc/index.html

@ -7,6 +7,7 @@
margin: 0;
}
</style>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=3.1.3'></script>
<script type="text/javascript" src="sh_main.js"></script>
<script type="text/javascript" src="sh_javascript.min.js"></script>
<link type="image/x-icon" rel="icon" href="favicon.ico" />
@ -19,64 +20,92 @@
href="http://feeds.feedburner.com/nodejs/123123123"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>node.js</title>
<script>
$(document).ready(function() {
$('#close').hide();
$('#downloadbutton').click(function() {
$('#download').show();
return false;
});
$('body').click(function() {
$('#download').hide();
});
});
</script>
</head>
<body>
<div id="toc">
<ol>
<li><a href="#download">Download</a></li>
<li><a href="https://github.com/joyent/node/wiki/ChangeLog">ChangeLog</a></li>
<li><a href="#about">About</a></li>
<li><a href="http://nodejs.org/docs/v0.6.5/api">v0.6.5 docs</a></li>
<br/>
<li><a href="https://github.com/joyent/node/wiki">Wiki</a></li>
<li><a href="http://blog.nodejs.org/">Blog</a></li>
<li><a href="https://github.com/joyent/node/wiki/Community">Community</a></li>
<li><a href="http://chat.nodejs.org/">Demo</a></li>
<li><a href="/logos/">Logos</a></li>
<li><a href="http://jobs.nodejs.org/">Jobs</a></li>
<ol><!-- JOBS --><!-- JOBS --></ol>
</ol>
</div>
<div id="content">
<!-- <h1><a href="http://nodejs.org/">Node</a></h1> -->
<br /><br />
<img id="logo" src="logo.png" alt="node.js"/>
<div id="intro">
<img id="logo" src="logo.png" alt="node.js"/>
<p id="introduction">
Evented I/O for
<a href="http://code.google.com/p/v8/">V8 JavaScript</a>.
</p>
<p>Node.js is a platform built on <a
href="http://code.google.com/p/v8/">Chrome's JavaScript runtime</a>
for easily building fast, scalable network applications. Node.js
uses an event-driven, non-blocking I/O model that makes it
lightweight and efficient, perfect for data-intensive real-time
applications that run across distributed devices.</p>
<p>
An example of a web server written in Node which responds with
"Hello World" for every request.
</p>
<pre>
<a href="#download" id="downloadbutton">Download</a>
</div>
<div id="quotes" class="clearfix">
<h2>Node.js in the Industry</h2>
<ul>
<li class="microsoft"><img src="microsoft-logo.png" />
<p>Node gives Azure users the first end-to-end JavaScript
experience for the development of a whole new class of real-time
applications.
<br/>
<a href="http://blogs.msdn.com/b/interoperability/">Claudio Caldato</a>
<br/>
<span>Principal Program Manager, Interoperability Strategy</span></p></li>
<li class="ebay"><img src="ebay-logo.png" />
<p>Node’s evented I/O model freed us from worrying about locking
and concurrency issues that are common with multithreaded async
I/O.
<br/>
<a href="http://www.ebaytechblog.com/2011/11/30/announcing-ql-io/">Subbu Allamarju</a>
<br/>
<span>Principal Member, Technical Staff</span></p></li>
<li class="linkedin"><img src="linkedin-logo.png" />
<p>On the server side, our entire mobile software stack is
completely built in Node. One reason was scale. The second is
Node showed us huge performance gains.
<br/>
<a href="http://venturebeat.com/2011/08/16/linkedin-node/">Kiran Prasad</a>
<br/>
<span>Director of Engineering, Mobile</span></p></li>
<li class="yahoo"><img src="yahoo-logo.png" />
<p>Node.js is the execution core of Manhattan. Allowing
developers to build one code base using one language – that is
the nirvana for developers.
<br/>
<a href="http://developer.yahoo.com/blogs/ydn/posts/2011/11/yahoo-announces-cocktails-%E2%80%93-shaken-not-stirred/">Renaud Waldura</a>
<br/>
<span>Sr. Product Manger, Cocktail</span></p></li>
</ul>
</div>
<div id="content" class="clearfix">
<div id="column1">
<h2>An example: Webserver</h2>
<p>This simple web server written in Node responds with "Hello World" for every request.</p>
<pre>
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, "127.0.0.1");
console.log('Server running at http://127.0.0.1:1337/');
</pre>
console.log('Server running at http://127.0.0.1:1337/');</pre>
<p>
To run the server, put the code into a file
<code>example.js</code> and execute it with the <code>node</code>
program:
</p>
<pre class="sh_none">
<p>To run the server, put the code into a file <code>example.js</code> and execute it with the <code>node</code> program:</p>
<pre class="sh_none">
% node example.js
Server running at http://127.0.0.1:1337/</pre>
<p>
Here is an example of a simple TCP server which listens on port 1337
and echoes whatever you send it:
</p>
<p>Here is an example of a simple TCP server which listens on port 1337 and echoes whatever you send it:</p>
<pre>
<pre>
var net = require('net');
var server = net.createServer(function (socket) {
@ -84,147 +113,48 @@ var server = net.createServer(function (socket) {
socket.pipe(socket);
});
server.listen(1337, "127.0.0.1");
</pre>
<p>
See the <a href="/docs/latest/api/">API documentation</a> for more
examples.
</p>
<p>
Go to <a href="https://github.com/joyent/node/wiki">the Wiki</a> for lots more information.
</p>
<h2 id="video">Introduction</h2>
<iframe title="YouTube video player" width="640" height="390"
src="http://www.youtube.com/embed/jo_B4LTHi3I" frameborder="0"
allowfullscreen></iframe>
<h2 id="download">Download</h2>
<p>2011.12.04 v0.6.5
<ul class="release">
<li><a href="http://nodejs.org/dist/v0.6.5/node-v0.6.5.tar.gz"><code>node-v0.6.5.tar.gz</code>
Source code</a> (<a href="https://github.com/joyent/node/wiki/Installation">build instructions</a>)
<li><a href="http://nodejs.org/dist/v0.6.5/node-v0.6.5.msi"><code>node-v0.6.5.msi</code> Windows installer</a>
<li><a href="http://nodejs.org/dist/v0.6.5/node-v0.6.5.pkg"><code>node-v0.6.5.pkg</code> Macintosh installer</a>
<li><a href="http://nodejs.org/docs/v0.6.5/api/index.html">Documentation</a>
<li><a href="https://raw.github.com/joyent/node/v0.6.5/LICENSE">License</a>
<li><a href="http://nodejs.org/dist/v0.6.5">Other release files
(like <code>.exe</code> and <code>.pdb</code>)</a>
</ul>
<p>Historical: <a href="http://nodejs.org/dist">versions</a>, <a href="http://nodejs.org/docs">docs</a></p>
<p>
<a href="https://github.com/joyent/node/tree/master">git repository</a>
</p>
<h2 id="about">About</h2>
<p>
Node's goal is to provide an easy way to build scalable network
programs. In the "hello world" web server example above, many
client connections can be handled concurrently. Node tells the
operating system (through <code>epoll</code>, <code>kqueue</code>,
<code class="sh_none">/dev/poll</code>, or <code>select</code>)
that it should be notified when a new connection is made, and
then it goes to sleep. If someone new connects, then it executes
the callback. Each connection is only a small heap allocation.
</p>
<p>
This is in contrast to today's more common concurrency model where
OS threads are employed. Thread-based networking is relatively
inefficient and very difficult to use. See:
<a href="http://www.kegel.com/c10k.html">this</a> and
<a href="http://bulk.fefe.de/scalable-networking.pdf">this.</a>
Node will show much better memory efficiency under high-loads
<!-- TODO benchmark -->
than systems which allocate 2mb thread stacks for each connection.
Furthermore, users of Node are free from worries of dead-locking
the process&mdash;there are no locks. Almost no function in Node
directly performs I/O, so the process never blocks. Because
nothing blocks, less-than-expert programmers are able to develop
fast systems.
</p>
<p>
Node is similar in design to and influenced by systems like Ruby's <a
href="http://rubyeventmachine.com/">Event Machine</a> or Python's <a
href="http://twistedmatrix.com/">Twisted</a>. Node takes the event
model a bit further&mdash;it presents the event loop as a language
construct instead of as a library. In other systems there is always
a blocking call to start the event-loop. Typically one defines
behavior through callbacks at the beginning of a script and at the
end starts a server through a blocking call like
<code>EventMachine::run()</code>. In Node there is no such
start-the-event-loop call. Node simply enters the event loop after
executing the input script. Node exits the event loop when there are
no more callbacks to perform. This behavior is like browser
javascript&mdash;the event loop is hidden from the user.
</p>
<p>
HTTP is a first class protocol in Node. Node's HTTP library has
grown out of the author's experiences developing and working with
web servers. For example, streaming data through most web frameworks
is impossible. Node attempts to correct these problems in its HTTP
<a href="https://github.com/joyent/http-parser/tree/master">parser</a>
and API. Coupled with Node's purely evented infrastructure, it makes
a good foundation for web libraries or frameworks.
</p>
<p>
<i>
But what about multiple-processor concurrency? Aren't threads
necessary to scale programs to multi-core computers?
</i>
You can start new processes via
<a href="http://nodejs.org/docs/latest/api/child_processes.html#child_process.fork"><code>child_process.fork()</code></a>
these other processes will be scheduled in parallel.
For load balancing incoming connections across multiple processes
use <a href="http://nodejs.org/docs/latest/api/cluster.html">the
cluster module</a>
</p>
<p>
See also:
<ul>
<li><a href="http://s3.amazonaws.com/four.livejournal/20091117/jsconf.pdf">slides</a> from JSConf 2009</li>
<li><a href="http://nodejs.org/jsconf2010.pdf">slides</a> from JSConf 2010</li>
<li><a href="http://www.yuiblog.com/blog/2010/05/20/video-dahl/">video</a> from a talk at Yahoo in May 2010</li>
</ul>
</p>
server.listen(1337, "127.0.0.1");</pre>
<!-- <p>Ready to dig in? <a href="">Download the latest version</a> of node.js or learn how other organizations are <a href="">using the technology</a>.</p> -->
</div>
<div id="column2">
<h2>Featured</h2>
<a href="http://www.youtube.com/watch?v=jo_B4LTHi3I"><img src="ryan-speaker.jpg" /></a>
A guided introduction to Node
<h2>Explore Node.js</h2>
<ul id="explore">
<li><a href="http://blog.nodejs.org" class="explore">Node.js Blog</a><br /><span>Insight, perspective and events</span></li>
<li><a href="about/" class="explore">About</a><br /><span>Technical overview</span></li>
<li><a href="community/" class="explore">Community</a><br /><span>Mailing lists, blogs, and more</span></li>
<li><a href="http://nodejs.org/docs/latest/api/index.html" class="explore">Documentation</a><br /><span>API Specifications</span></li>
<li><a href="http://search.npmjs.org/" class="explore">npm Registry</a><br /><span>Modules, resources and more</span></li>
<li><a href="logos/" class="explore">Logos</a><br /><span>Logo and desktop background</span></li>
<li><a href="http://jobs.nodejs.org/" class="explore">Jobs</a><br /><ol class="jobs"><!-- JOBS --><!-- JOBS --></ol></li>
</ul>
</div>
<div style="float: right;">
<a
href='https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String'
title='JS String match'><img
src='http://static.jsconf.us/promotejsh.gif' height='150' width='180'
alt='JS String match'/></a>
</div>
<div id="footer">
<p>Copyright <a href="http://joyent.com">Joyent, Inc</a>, Node.js
is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>.
</div>
<a href="http://no.de/"><img src="sponsored.png" height="58" width="120"/></a>
<div style="clear: both; font-size: 8pt">
Copyright 2010 Joyent, Inc
<br/>
Node.js is a trademark of Joyent, Inc.
See the <a href="trademark-policy.pdf">trademark policy</a>
for more information.
<div id="download">
<a href="/" id="close"></a>
<img id="download-logo" src="download-logo.png" alt="node.js"/>
<ul id="installers" class="clearfix">
<li><a href="http://nodejs.org/dist/v0.6.5/node-v0.6.5.msi">Windows Installer</a><br />node-v0.6.5.msi</li>
<li><a href="http://nodejs.org/dist/v0.6.5/node-v0.6.5.pkg">Macintosh Installer</a><br />node-v0.6.5.pkg</li>
<li id="source"><a href="http://nodejs.org/dist/v0.6.5/node-v0.6.5.tar.gz">Source Code</a><br />node-v0.6.5.tar.gz</li>
</ul>
<ul id="documentation">
<li><a href="http://nodejs.org/docs/v0.6.5/api/index.html">Documentation</a></li>
<li><a href="http://nodejs.org/dist/v0.6.5">Other release files</a></li>
<li><a href="https://raw.github.com/joyent/node/v0.6.5/LICENSE">License</a></li>
<li><a href="https://github.com/joyent/node">Git Repository</a></li>
</ul>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");

BIN
doc/linkedin-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
doc/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

105
doc/logos/index.html

@ -1,70 +1,67 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
ul {
padding: 0;
margin: 0;
}
</style>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=3.1.3'></script>
<script type="text/javascript" src="../sh_main.js"></script>
<script type="text/javascript" src="../sh_javascript.js"></script>
<link type="image/x-icon" rel="icon" href="http://nodejs.org/favicon.ico">
<link type="image/x-icon" rel="shortcut icon" href="../node-favicon.png">
<link type="text/css" rel="stylesheet" href="../pipe.css">
<link type="text/css" rel="stylesheet" href="../sh_vim-dark.css">
<link rel="alternate" type="application/rss+xml" title="node blog" href="http://feeds.feedburner.com/nodejs/123123123">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Node.js Logos</title>
<script type="text/javascript" src="../sh_javascript.min.js"></script>
<link type="image/x-icon" rel="icon" href="../favicon.ico" />
<link type="image/x-icon" rel="shortcut icon" href="../favicon.ico" />
<link type="text/css" rel="stylesheet" href="../pipe.css" />
<link type="text/css" rel="stylesheet" href="../sh_vim-dark.css" />
<link rel="alternate"
type="application/rss+xml"
title="node blog"
href="http://feeds.feedburner.com/nodejs/123123123"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>node.js</title>
</head>
<body>
<div id="content">
<!-- <h1><a href="http://nodejs.org/">Node</a></h1> -->
<br />
<br />
<img src="../logo.png" alt="node.js" width="420" height="111" id="logo">
<p>To echo the evolutionary nature of Node, we've added some punch and playfulness to its identity. All it needs now is a good home with you, download and have fun!</p>
<h2>Logo Downloads</h2>
<table border="0" cellspacing="0" cellpadding="10">
<tr>
<td bgcolor="#FFFFFF"><a href="nodejs-light.eps"><img src="nodejs.png" alt="Node.js dark" width="212" height="114" border="0" /></a></td>
<td bgcolor="#46483E"><a href="nodejs-dark.eps"><img src="nodejs-dark.png" alt="Node.js dark" width="212" height="114" border="0" /></a></td>
</tr>
<tr>
<td><a href="nodejs-light.eps">Node.js standard EPS</a></td>
<td><a href="nodejs-dark.eps">Node.js reversed EPS</a></td>
</tr>
<tr>
<td bgcolor="#8BC84B"><a href="nodejs-green.eps"><img src="nodejs-green.png" alt="Node.js dark" width="212" height="114" border="0" /></a><a href="nodejs-dark.eps"></a></td>
<td bgcolor="#ffffff"><a href="nodejs-black.eps"><img src="nodejs-black.png" alt="Node.js dark" width="212" height="114" border="0" /></a></td>
</tr>
<tr>
<td><a href="nodejs-green.eps">Node.js bright EPS</a></td>
<td><a href="nodejs-black.eps">Node.js 1 color EPS</a></td>
</tr>
</table>
<h2>Desktop Background</h2>
<p><img src="monitor.png" width="525" height="398" alt="Screensavers" /></p>
<p>Select your screen resolution:<a href="nodejs-1024x768.png"><br />
<span class="desktops">1024 x 768</span></a><span class="desktops"> | <a href="nodejs-1280x1024.png">1280 x 1024</a> | <a href="nodejs-1440x900.png">1440 x 900</a> | <a href="nodejs-1920x1200.png">1920 x 1200</a> | <a href="nodejs-2560x1440.png">2560 x 1440</a></span></p>
<h2 id="video">&nbsp;</h2>
<p></p>
<body>
<div id="intro">
<img id="logo" src="../logo.png" alt="node.js"/>
</div>
<div id="content" class="clearfix">
<div id="column1" class="interior">
<p>To echo the evolutionary nature of Node, we've added some punch and playfulness to its identity. All it needs now is a good home with you, download and have fun!</p>
<h2>Logo Downloads</h2>
<table border="0" cellspacing="0" cellpadding="10">
<tr>
<td bgcolor="#FFFFFF"><a href="nodejs-light.eps"><img src="nodejs.png" alt="Node.js dark" width="212" height="114" border="0" /></a></td>
<td bgcolor="#46483E"><a href="nodejs-dark.eps"><img src="nodejs-dark.png" alt="Node.js dark" width="212" height="114" border="0" /></a></td>
</tr>
<tr>
<td><a href="nodejs-light.eps">Node.js standard EPS</a></td>
<td><a href="nodejs-dark.eps">Node.js reversed EPS</a></td>
</tr>
<tr>
<td bgcolor="#8BC84B"><a href="nodejs-green.eps"><img src="nodejs-green.png" alt="Node.js dark" width="212" height="114" border="0" /></a><a href="nodejs-dark.eps"></a></td>
<td bgcolor="#ffffff"><a href="nodejs-black.eps"><img src="nodejs-black.png" alt="Node.js dark" width="212" height="114" border="0" /></a></td>
</tr>
<tr>
<td><a href="nodejs-green.eps">Node.js bright EPS</a></td>
<td><a href="nodejs-black.eps">Node.js 1 color EPS</a></td>
</tr>
</table>
<h2>Desktop Background</h2>
<p><img src="monitor.png" width="525" height="398" alt="Screensavers" /></p>
<p>Select your screen resolution:<a href="nodejs-1024x768.png"><br />
<span class="desktops">1024 x 768</span></a><span class="desktops"> | <a href="nodejs-1280x1024.png">1280 x 1024</a> | <a href="nodejs-1440x900.png">1440 x 900</a> | <a href="nodejs-1920x1200.png">1920 x 1200</a> | <a href="nodejs-2560x1440.png">2560 x 1440</a></span></p>
<div style="float: right;"></div>
<p><a href="/">Go back to the home page</a></p>
</div>
<div id="column2" class="interior">
</div>
</div>
<div id="footer">
<p>Copyright <a href="http://joyent.com">Joyent, Inc</a>., Node.js is a <a href="trademark-policy.pdf">trademark of Joyent, Inc</a>., <a href="https://raw.github.com/joyent/node/v0.6.5/LICENSE">View License</a></p>
</div>
<a href="http://no.de/"><img src="../sponsored.png" height="58" width="120"></a>
<div style="clear: both; font-size: 8pt">
Copyright 2010 Joyent, Inc
<br>
Node.js is a trademark of Joyent, Inc.
See the <a href="http://nodejs.org/trademark-policy.pdf">trademark policy</a>
for more information.
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?

BIN
doc/microsoft-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

336
doc/pipe.css

@ -3,59 +3,36 @@ html {
}
body {
background: #353129;
background: #46483e;
color: #eee;
font-size: 14pt;
line-height: 150%;
font-family: Georgia, "Times New Roman", Times, serif;
max-width: 30em;
margin: 0 0 5em 9em;
font-size: 12px;
line-height: 180%;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
margin: 0;
padding-top: 40px;
border-top: 6px #8cc84b solid;
}
img {
border: 0;
}
#toc {
position: absolute;
top: 2em;
left: 0;
width: 10em;
font-family: Helvetica, Arial, sans-serif;
font-size: 12pt;
line-height: 150%;
}
@media all and (min-height: 650px) { #toc { position: fixed; }}
#toctitle {
display: none;
}
#toc ol {
list-style: none;
}
#toc ol, .toclevel2 {
margin: 0;
padding: 0;
padding-left: 1em;
}
#toc ol li {
margin: 0;
padding: 0;
}
#toc a {
color: #8BC84B;
}
h1, h2, h3, h4 {
color: #CCD2BC;
color: #d2d8ba;
font-family: Helvetica, Arial, sans-serif;
margin-top: 2em;
margin-right: 0;
margin-bottom: 10px;
margin-left: 0;
text-transform: uppercase;
}
#toc ol ol {
font-size: 8pt;
line-height: 110%;
list-style: circle;
h2 {
font-size: 12px;
font-weight: normal;
}
h1 code, h2 code, h3 code, h4 code,
@ -65,18 +42,273 @@ h1 a, h2 a, h3 a, h4 a
font-size: inherit;
}
#intro {
width: 775px;
margin: 0 auto;
text-align: center;
color: #d2d8ba;
/* preload platform-icons.png */
background-image: url(platform-icons.png);
background-repeat: no-repeat;
background-position: -1000px -1000px;
}
#intro p {
width: 680px;
line-height: 180%;
padding-top: 30px;
margin: 0 auto 30px auto;
font-size: 14px;
}
#intro #downloadbutton {
background-color: #8BC84B;
color: #46483e;
font-weight: bold;
font-size: 14px;
text-transform: uppercase;
padding: 7px 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
#intro #downloadbutton:hover {
text-decoration: none;
background-color: #73a53e;
}
#quotes {
text-align: center;
width: 100%;
background-color: #33342d;
margin-top: 40px;
padding-top: 20px;
padding-bottom: 20px;
}
#quotes h2 {
margin-top: 0;
}
#quotes ul {
display: block;
width: 775px;
margin: 0 auto;
padding-top: 20px;
}
#quotes ul li {
display: block;
text-align: left;
width: 180px;
float: left;
padding-right: 15px;
font-size: 11px;
}
#quotes ul li.ebay {
margin-top: -10px;
}
#quotes ul li.linkedin {
margin-top: -4px;
}
#quotes ul li.yahoo {
margin-top: -4px;
padding-right: 0;
}
#quotes ul li p span {
font-size: 10px;
}
#content {
width: 775px;
margin: 0 auto;
}
#content #column1 {
width: 420px;
float: left;
}
#content #column2 {
width: 260px;
float: right;
}
#content #column1.interior {
width: 510px;
float: right;
}
#content #column2.interior {
}
#explore {
background: url(icons.png) no-repeat left 15px;
}
#explore li {
list-style-type: none;
color: #d2d8ba;
line-height: 14px;
padding: 10px 0 10px 40px;
border-top: 1px solid #626557;
}
#explore li span {
}
#explore li a.explore {
text-transform: uppercase;
}
#explore ol.jobs {
padding: 0;
}
#explore ol.jobs li {
display: inline;
padding: 0;
border: none;
}
#explore ol.jobs li:after {
content: ', ';
}
#explore ol.jobs li:last-child:after {
content: '';
}
#footer {
width: 775px;
border-top: 1px solid #626557;
margin: 50px auto 30px auto;
padding-top: 15px;
}
#footer p {
color: #8BC84B;
height: 32px;
padding-top: 3px;
background: url(footer-logo.png) left top no-repeat;
padding-left: 130px;
}
#footer p a {
text-decoration: underline;
}
div#download {
position: absolute;
width: 580px;
text-align: center;
top: 0;
left: 50%;
margin-left: -290px;
-webkit-border-bottom-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
padding-top: 40px;
-webkit-box-shadow: 0 0 32px #000;
-moz-box-shadow: 0 0 32px #000;
box-shadow: 0 0 32px #000;
background: url(close-downloads.png) no-repeat top right white;
display: none;
}
div#download:target {
display: block;
}
div#download a#close {
width: 50px;
height: 50px;
position: absolute;
width: 660px;
height: 100px;
display: block;
margin-top: -40px;
}
div#download ul#installers {
width: 550px;
text-align: center;
margin: 0 auto;
background: url(platform-icons.png) no-repeat top center;
padding-top: 65px;
padding-bottom: 50px;
}
div#download ul#installers li {
list-style-type: none;
width: 165px;
padding-left: 18px;
float: left;
display: block;
color: #33342d;
font-size: 10px;
}
div#download ul#installers li#source {
padding-left: 0;
}
div#download ul#installers li a {
font-size: 16px;
padding-top: 50px;
margin-top: -50px;
}
div#download ul#documentation {
background-color: #d4d7c3;
padding: 20px 0 20px 40px;
-webkit-border-bottom-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
div#download ul#documentation li {
margin-left: 40px;
text-align: left;
color: #33342d;
font-size: 14px;
font-weight: bold;
padding-bottom: 5px;
}
div#download ul#documentation li a {
color: #76a83f;
}
#download-logo {
margin-bottom: 37px;
}
pre, code {
font-family: Monaco, 'Andale Mono', 'Lucida Console', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
;
font-size: 11pt;
color: #C3CC88;
font-size: 12px;
color: #d2d8ba;
}
pre {
padding-left: 1em;
margin-left: -1em;
border-left-width: 1px;
border-left-style: solid;
border-left-color: #8BC84B;
border-left-color: #626557;
}
dd {
@ -95,9 +327,31 @@ a:hover { text-decoration: underline; }
padding: 0.2em 0;
}
.desktops {
font-size: 14px;
font-size: 12px;
}
.release {
margin: 0 0 0 2em;
}
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clearfix {
display: inline-block;
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}

BIN
doc/platform-icons.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
doc/ryan-speaker.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

2
doc/sh_vim-dark.css

@ -15,7 +15,7 @@
.sh_sourceCode .sh_string, .sh_sourceCode .sh_regexp, .sh_sourceCode .sh_number,
.sh_sourceCode .sh_specialchar
{
color: #B9CCC5;
color: #a0c874;
}
.sh_sourceCode .sh_comment {

BIN
doc/yahoo-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Loading…
Cancel
Save