Skip to content

Commit

Permalink
add changes 🎐
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-co committed Jul 21, 2018
1 parent e31537e commit 7fe1dbc
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 130 deletions.
2 changes: 1 addition & 1 deletion appendix-a/Appendix A.md
Expand Up @@ -74,7 +74,7 @@ Further Reading
Here is a list of resources, courses, books, and blogs for further
reading.

### Free JavaScript and Node Resources
### Free JavaScript and Node.js Resources

- [Node University Blog](https://node.university/blog) (https://node.university/blog)
- [ES6 Cheatsheet](https://gumroad.com/l/LDwVU/git-1CC81D40) (https://gumroad.com/l/LDwVU/git-1CC81D40)
Expand Down
6 changes: 3 additions & 3 deletions chapter1/chapter1.md
Expand Up @@ -698,9 +698,9 @@ Node.js
Node.js is an open source, event-driven asynchronous I/O technology for building scalable and efficient web servers. Node.js consists of Google’s V8 JavaScript engine and a bunch of C++ modules. A cloud company Joyent (now acquired by Samsung) maintained Node.js in the beginning, but now the open-source Node foundation oversees it.
The purpose and use of Node.js is to have non-blocking I/O which makes things faster. Non-blocking I/O is not new. It exists in NIO for Java, in Twisted for Python and in EventMachine for Ruby. The big difference is that in Node non-blocking I/O was built from the get-go and thus simple to use, while in other languages its a complex afterthought.
The purpose and use of Node.js is to have non-blocking I/O which makes things faster. Non-blocking I/O is not new. It exists in NIO for Java, in Twisted for Python and in EventMachine for Ruby. The big difference is that in Node.js non-blocking I/O was built from the get-go and thus simple to use, while in other languages its a complex afterthought.
Funny enough, JavaScript wasn't even the first language for Node.js. The JavaScript implementation of Node was the third one after attempts at using Ruby and C++ programming languages.
Funny enough, JavaScript wasn't even the first language for Node.js. The JavaScript implementation of Node.js was the third one after attempts at using Ruby and C++ programming languages.
Node.js is not in itself a framework like Ruby on Rails; it's more comparable to the pair of PHP and Apache. I'll provide a list of the top Node.js frameworks in Chapter 6.
Expand All @@ -711,7 +711,7 @@ The following are the advantages of using Node.js:
- With Node.js, you could prototype quickly and go to market to do your customer development and customer acquisition early. This is an important competitive advantage over other companies that use less agile technologies (e.g., PHP and MySQL).
- Node.js is built to support real-time applications by utilizing web sockets.
Node evolves fast. For the current state of Node.js (as of this writing), refer to the official Node.js blog at <https://nodejs.org/en/blog>.
Node.js evolves fast. For the current state of Node.js (as of this writing), refer to the official Node.js blog at <https://nodejs.org/en/blog>.
NoSQL and MongoDB
-----------------
Expand Down
6 changes: 3 additions & 3 deletions chapter2/chapter2.md
Expand Up @@ -240,12 +240,12 @@ The following are required technologies. Please make sure you have them before
proceeding to the next chapter.

1. *Node.js*: We need it for build tools and back-end apps. Get the version that has LTS even if the number is lower than the current NON-LTS version, because the LTS versions have longer support period: <https://nodejs.org>.
2. *npm*: The Node package manager that comes bundled with Node (no need to install anything extra).
2. *npm*: The Node.js package manager that comes bundled with Node.js (no need to install anything extra).
3. *Browser JS libraries*: We need them for front-end apps.

I highly recommend installing other optional but useful components:

1. *nvm*: The Node version manager, which allows to switch between Node versions quickly.
1. *nvm*: The Node.js version manager, which allows to switch between Node.js versions quickly.
2. *Compass*: A desktop client GUI app for working with MongoDB as a replacement of the Mongo shell/REPL. <https://www.mongodb.com/products/compass>

### Node.js Installation
Expand All @@ -264,7 +264,7 @@ If you want to switch between multiple versions of Node.js, there are solutions
- [*Nave*](https://github.com/isaacs/nave) (<https://github.com/isaacs/nave>): Virtual environments for Node.js
- [*n*](https://github.com/tj/n) (<https://github.com/tj/n>): Node.js version management

The Node.js package already includes npm—[Node Package Manager](https://npmjs.org) (<https://npmjs.org>). We'll use npm extensively to install Node.js modules.
The Node.js package already includes npm—[Node.js Package Manager](https://npmjs.org) (<https://npmjs.org>). We'll use npm extensively to install Node.js modules.

![](media/image14.png)

Expand Down
2 changes: 1 addition & 1 deletion chapter4/chapter4.md
Expand Up @@ -1667,7 +1667,7 @@ of 304 (not modified).
Require.js for Backbone.js Production
=====================================

<span id="requireJS" class="anchor"></span>We'll use the Node Package
<span id="requireJS" class="anchor"></span>We'll use the Node.js Package
Manager (npm) to install the `requirejs` library (it's not a typo;
there's no period in the name). In your project folder, run this command
in a terminal:
Expand Down

0 comments on commit 7fe1dbc

Please sign in to comment.