Beginning Web Application Development with Node
Beginning Web Application Development with Node
About the Book
A comprehensive tutorial-style eBook that gets you from zero to native Web application development with JavaScript in no time.
Each chapter will cover simple examples and explain the concepts in detail. Exercises provided at the end of each chapter will help practicing the concepts. In last chapter, we will develop end to end web application using MEAN (MongoDB, Express, AngularJs and Node), which will be cross-platform and cross-browser.
Furthermore, the reader will be introduced to every tool and all JavaScript language constructs needed to fully master web application development with Node: Express, Bootstrap, Bower, Grunt, NPM, AngularJs, MongoDB, and more.
Following are some of the topics covered in the book is:
- How to setup Node for Visual Studio?
- How does the Node Package Manager, NPM work?
- How the routing configuration using Express?
- How to use the razor like view engine, Vash to define the MVC based application?
- How to use Bower to install client side frameworks?
- How to use Grunt to speed up the development?
- How to access SQL Server from Node?
- How to access MongoDB from node application?
- An end to end application using MongoDB, Express, AngularJs and Node
- And so on…
Expected completion date 30th November 2015
Table of Contents
-
Preface
- What this book covers
- Target Audience
- Status
-
Introduction
- Install Node.js
- Verification
- Hello World Program
- Exercises
- Summary
-
Node App using Visual Studio
- Install Node Tools
- First Node application using Visual Studio
- Project Structure
- Node App Execution from VS
- Execution from Command Prompt
- Exercises
- Summary
-
Dependency Management
- Modules
- Built-in Modules
- Custom Modules
- Return values from Module
- Example 1: Return multiple values from Module
- Example 2: Return complex value from a module
- Exercises
- Module Chain
- Exercises
- Dependency Caching
- Example 3: Dependency cache
- Module without Dependency - Function
- Example 4: Custom module with internal function
- Exercises
- Module without Dependency - Constructor
- Exercises
- Pass data to the dependency module
- Folder as a Module
- How require works
- Exercises
- Exports Patterns
- Exports a Namespace
- Exercises
- Exports a Function
- Exercises
- Exports a Constructor
- Summary
-
Node Package Manager (NPM)
- Package
- Built-in packages
- Exercise
- Summary
-
Web site development
- Web Server Creation
- Exercise 1
- Summary
-
Express
- Install
- Build the website
- Routing
- Exercises
-
View Engines – Vash
- Install
- Dynamic Web pages
- Complex Model Binding
- Collection Loop
- Master Page
- Exercises
-
Stylesheets and Images
- Exercises
-
Intermediate Application
- File Processing
- User Management
-
Bower
- Bootstrap
- Summary
-
MongoDB
- Introduction
- MongoDB
- Installing MongoDB
- Accessing MongoDB
- Insert Data or Documents
- Update Documents
- Delete Documents
- Retrieve Documents
- Summary
-
AngularJS
- Basics of AngularJS
- Creating a Module
- Summary
-
Controllers
- Modularization
- Summary
-
Building an API with Node.js
- Creating Controller
- Creating a Get API
- Summary
-
Final Application
- Home page
- Registration Page
- User Home Page
- Angular Controllers
- Node based Web Server
- Server Controllers or APIs
- Data Access
- Summary
-
Appendix A: Exercises’ Answers
- Introduction - Exercise
- Node App using Visual Studio - Exercise
-
Appendix B: Miscellaneous
- File Processing
-
Appendix B: Other View Engines
- View Engine - Jade
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them