Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical Web Development
  • Table Of Contents Toc
Practical Web Development

Practical Web Development

By : Paul Wellens
3.5 (6)
close
close
Practical Web Development

Practical Web Development

3.5 (6)
By: Paul Wellens

Overview of this book

This book is perfect for beginners who want to get started and learn the web development basics, but also offers experienced developers a web development roadmap that will help them to extend their capabilities.
Table of Contents (17 chapters)
close
close
2
2. HTML
10
10. XML and JSON
16
Index

Installing node.js

Let's not delay any further and install node on your computer. How to install it will be different depending on the OS you are running. Go to http://nodejs.org/ and get the proper download. The result is the same everywhere: it gives us two programs: node and npm.

npm

npm, the node packaging manager, is the tool that you use to look for and install modules. Each time you write code that needs a module, you specify this by putting something like the following in your code:

var module = require('module');

It will have to be installed if it is not yet present, using the command:

npm install

Or you can also use:

npm -g install

The latter will attempt to install the module globally, the former command in the directory where the command is issued. It will typically install the module in a folder called node_modules.

node

The node command is the command to use to start your node.js program, for example:

node myprogram.js

Node will start and interpret your code. Type Ctrl...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical Web Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon