By Don Nguyen
GET UP TO SPEED WITH NODE.JS IN A WEEKEND
JUMP START
NODE.JS
BY DON NGUYEN
Jump Start Node.js
by Don Nguyen
Copyright © 2012 SitePoint Pty. Ltd.
Indexer: Fred BrownProduct Manager: Simon Mackie
Editor: Kelly SteeleTechnical Editor: Diana MacDonald
Cover Designer: Alex WalkerExpert Reviewer: Giovanni Ferron
Notice of Rights
All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted
in any form or by any means, without the prior written permission of the publisher, except in the case
of brief quotations embodied in critical articles or reviews.
Notice of Liability
The author and publisher have made every effort to ensure the accuracy of the information herein.
However, the information contained in this book is sold without warranty, either express or implied.
Neither the authors and SitePoint Pty. Ltd., nor its dealers or distributors will be held liable for any
damages to be caused either directly or indirectly by the instructions contained in this book, or by the
software or hardware products described herein.
Trademark Notice
Rather than indicating every occurrence of a trademarked name as such, this book uses the names only
in an editorial fashion and to the benefit of the trademark owner with no intention of infringement of
the trademark.
Published by SitePoint Pty. Ltd.
48 Cambridge Street Collingwood
VIC Australia 3066
Web: www.sitepoint.com
Email: business@sitepoint.com
ISBN 978-0-9873321-0-3 (print)
ISBN 978-0-9873321-1-0 (ebook)
Printed and bound in the United States of America
ii
About the Author
Don began his programming career with strongly typed, object-oriented languages such as
Java and C++. He used his engineering training to build real-time trading systems designed
to be scalable and fault tolerant.
While his first introduction to functional programming was somewhat of a shock to the system,
the beauty and elegance of weakly typed dynamic languages such as Python and Ruby shone
through. Don has programmed in a variety of web environments including ASP, PHP, and
Python, but feels that Node.js is foremost at handling the modern demands of the real-time
web.
About the Expert Reviewer
Giovanni Ferron is a web developer currently living in Melbourne, Australia. He has worked
for major media companies such as MTV and DMG Radio Australia, and co-founded the
website Stereomood.com.
1
A couple of years ago, he fell in love with Node.js and has been
spending his nights programming in JavaScript ever since.
About SitePoint
SitePoint specializes in publishing fun, practical, and easy-to-understand content for web
professionals. Visit http://www.sitepoint.com/ to access our blogs, books, newsletters, articles,
and community forums.
1
http://stereomood.com
iii