I just published my little node.js tutorial. It demonstrates how you can 
write a small "search aggregator" application. 

A quick spec of the app:

* One web page with a search field and a submit button.
* The search is forwarded to Google and the results are displayed in the 
page.
* A second search is run on the local tree of files. Matching files and 
lines are displayed.
* A third search is run against a collection of movies in a MongoDB 
database. Matching movie titles and director names are displayed.
* The 3 search operations are performed in parallel.
* The file search is parallelized but limited to 100 simultaneous open 
files, to avoid running out of file descriptors on large trees.
* The movies collection in MongoDB is automatically initialized with 4 
entries the first time the application is run.

126 lines of code.

http://bjouhier.wordpress.com/2012/07/01/node-js-for-the-rest-of-us/
https://github.com/Sage/streamlinejs/blob/master/tutorial/tutorial.md

Bruno

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to