• Complain

Shelley Powers - Learning Node

Here you can read online Shelley Powers - Learning Node full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2012, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Shelley Powers Learning Node
  • Book:
    Learning Node
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2012
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Learning Node: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learning Node" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Take your web development skills from browser to server with Nodeand learn how to write fast, highly scalable network applications on this javascript-based platform. With this hands-on guide, youll quickly master Nodes core fundamentals, gain experience with several built-in and contributed modules, and learn the differences and parallels between client- and server-side programming. Get up to speed on Nodes event-driven, asynchronous I/O model for developing data-intensive applications that are frequently accessed but computationally simple. If youre comfortable working with javascript, this book provides numerous programming and deployment examples to help you take advantage of server-side development with Node.

Shelley Powers: author's other books


Who wrote Learning Node? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learning Node — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learning Node" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Learning Node
Shelley Powers
Published by OReilly Media

Beijing Cambridge Farnham Kln Sebastopol Tokyo A Note Regarding Supplemental - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/0636920024606/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Preface
Not Your Ordinary JavaScript

You picked the perfect time to learn Node.

The technology evolving around Node is still young and vibrant, with interesting new variations and twists popping up on a regular basis. At the same time, the technology has reached a level of maturity that assures you your time learning Node will be well spent: installation has never been easier, even on Windows; the best of breed modules are beginning to surface from the seeming hundreds available for use; the infrastructure is becoming robust enough for production use.

There are two important things to keep in mind when you work with Node. The first is that it is based in JavaScript, more or less the same JavaScript youre used to working with in client-side development. True, you can use another language variation, such as CoffeeScript, but JavaScript is the lingua franca of the technology.

The second important thing to remember is that Node isnt your ordinary JavaScript. This is server-side technology, which means some of the functionalityand safeguardsyouve come to expect in your browser environment just wont be there, and all sorts of new and potentially very unfamiliar capabilities will.

Of course, if Node were like JavaScript in the browser, what fun would that be?

Why Node?

If you explore the source code for Node, youll find the source code for Googles V8, the JavaScript (technically, ECMAScript) engine thats also at the core of Googles Chrome browser. One advantage to Node.js, then, is that you can develop Node applications for just one implementation of JavaScriptnot half a dozen different browsers and browser versions.

Node is designed to be used for applications that are heavy on input/output (I/O), but light on computation. More importantly, it provides this functionality directly out of the box. You dont have to worry about the application blocking any further processing while waiting for a file to finish loading or a database to finish updating, because most of the functionality is asynchronous I/O by default. And you dont have to worry about working with threads, because Node is implemented on a single thread.

Note

Asynchronous I/O means that applications dont wait for an input/output process to finish before going on to the next step in the application code. goes into more detail on the asynchronous nature of Node.

Most importantly, Node is written in a language that many traditional web developers are familiar with: JavaScript. You may be learning how to use new technologies, such as working with WebSockets or developing to a framework like Express, but at least you wont have to learn a new language along with the concepts. This language familiarity makes it a lot easier to just focus on the new material.

This Books Intended Audience

One of the challenges associated with working with Node is that there is an assumption that most people coming into Node development have come from a Ruby or Python environment, or have worked with Rails. I dont have this assumption, so I wont explain a Node component by saying its just like Sinatra.

This books only assumption is that you, the reader, have worked with JavaScript and are comfortable with it. You dont have to be an expert, but you should know what Im talking about when I mention closures , and have worked with Ajax and are familiar with event handling in the client environment. In addition, youll get more from this book if you have done some traditional web development and are familiar with concepts such as HTTP methods (GET and POST), web sessions, cookies, and so on. Youll also need to be familiar with working either with the Console in Windows, or the Unix command line in Mac OS X or Linux.

Youll also enjoy the book more if youre interested in some of the new technologies such as WebSockets, or working with frameworks to create applications. I cover these as a way of introducing you to how Node can be used in real-world applications.

Most importantly, as you progress through the book, keep an open mind. Be prepared to hit an occasional alpha/beta wall and run into the gotchas that plague a dynamic technology. Above all, meet the prospect of learning Node with anticipation, because it really can be a lot of fun.

Note

If youre not sure youre familiar enough with JavaScript, you might want to check out my introductory text on JavaScript, Learning JavaScript , Second Edition (OReilly).

How to Best Use This Book

You dont have to read this books chapters in order, but there are paths through the book that are dependent on what youre after and how much experience you have with Node.

also covers some of the style issues associated with Node, including how to deal with Nodes unique approach to asynchronous development.

If you have had some exposure to Node, have worked with both the built-in Node modules and a few external ones, and have also used REPL (read-eval-print loopthe interactive console), you could comfortably skip .

I incorporate the use of the Express framework, which also utilizes the Connect middleware, throughout the book. If youve not worked with Express, youre going to want to go through .

After these foundation chapters, you can skip around a bit. For instance, if youre primarily working with key/value pairs, youll want to read the Redis discussion in and skip the Redis and MongoDB chapters, though do check them out sometimethey might provide a new viewpoint to working with data.

After those three data chapters, we get into specialized application use. covers the very popular Sockets.io module, especially for working with the new web socket functionality.

After the split into two different specialized uses of Node in , learning in-depth practices for Node debugging and testing.

is probably one of the tougher chapters, and also one of the more important. It covers issues of security and authority. I dont recommend that it be one of the first chapters you read, but it is essential that you spend time in this chapter before you roll a Node application out for general use.

is the final chapter, and you can safely leave it for last, regardless of your interest and experience. It focuses on how to prepare your application for production use, including how to deploy your Node application not only on your own system, but also in one of the cloud servers that are popping up to host Node applications. Ill also cover how to deploy a Node application to your server, including how to ensure it plays well with another web server such as Apache, and how to ensure your application survives a crash and restarts when the system is rebooted.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learning Node»

Look at similar books to Learning Node. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learning Node»

Discussion, reviews of the book Learning Node and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.