4+ Hours of Video Instruction
Learning Node.js, MongoDB and AngularJSLiveLessons
provides developers with a practical introduction
to Node.js, MongoDB and AngularJS, an exciting development stack
for building web servers and web applications.
In this video training, Brad Dayley starts by introducing the
Node.js platform. He then introduces the NoSQL database MongoDB and
describes how to configure and begin using it. The video then moves
into incorporating high-performance MongoDB databases into
server-side Node.js applications and scripts. Next, the Express web
server module for Node.js is covered, giving you the understanding
you need to easily build up your own scalable web servers. The
video then describes how to build out client-side applications
using the AngularJS JavaScript framework. The video wraps up with
some complete end-to-end examples of using the Node.js, MongoDB and
AngularJS framework. After watching this video, developers will
understand why Node.js, MongoDB and Angular generate so much
excitement in today’s fast-paced environment. Viewers will be able
to write fast, efficient and reliable applications and web servers.
The source code repository for this LiveLesson can be found at
www.informit.com/title/9780133929201
.Related Keywords
anuglar, angluar.js, angular js, mongo, mongo db, javascript,
node, nodejs, node js web development, web application development,
web stack, development stack, web server, web application, nosql,
no sql
About the Instructor
Brad Dayleyis a consulting software engineer with more than
20 years of experience developing enterprise server applications,
web services and web interfaces. He has worked on all kinds of
projects that range from mission-critical enterprise software to
large-scale SAAS systems with 20,000-plus servers per datacenter.
He has used JavaScript and jQuery for years and is the author of
jQuery and JavaScript Phrasebookand
Sams Teach Yourself jQuery and JavaScript in 24 Hours. He
has also used Node.js, MongoDB and AngularJS to build complete web
applications and services and is the author of
Node.js, MongoDB, and AngularJS Web Developmentas well as
Sams Teach Yourself NoSQL with MongoDB in 24 Hours.
Skill Level
What You Will Learn
- How to create Node.js applications
- Incorporating MongoDB into Node.js applications as the backend
data store for web sites
- Rapidly implementing custom webservers and server-side scripts
in Node.js
- Using the AngularJS platform to extend the functionality of
HTML
- Binding data from the database directly to HTML elements in web
applications
- How to create fast, efficient and reliable web applications and
webservers
Who Should Take This Course
Course Requirements
- Basic understanding of programming and development
- Familiarity with JavaScript language
- General understanding of web application and server
interactions
Table of Contents
Lesson 1: Node.js Fundamentals
1.1 Setup the Node.js development environment
1.2 Create a Node.js application
1.3 Create a Node.js module
1.4 Using the Node.js callback model
1.5 Implementing events and listeners
1.6 Handle streams and file I/O
Lesson 2: MongoDB Fundamentals
2.1 Create databases, collections and documents in the
MongoDB Shell
2.2 View documents in a collection from the MongoDB Shell
2.3 Modify and remove documents, collections and databases
from the MongoDB Shell
2.4 Apply users and authentication to MongoDB
2.5 Add and remove indexes to improve performance
2.6 Run a MongoDB Shell script to create and populate a
database
Lesson 3: Using MongoDB as the Data Store for Node.js
Applications
3.1 Access MongoDB from Node.js applications
3.2 Find documents in a collection
3.3 Limit the results returned from a find operation using
count, limit and field methods
3.4 Sort the documents returned in find operations
3.5 Retrieve aggregated results
3.6 Add and remove documents in a collection
3.7 Update documents in a collection
Lesson 4: Using Express as the Node.js Web Server
4.1 Create your first express server
4.2 Implement routes
4.3 Serve static files
4.4 Handle query parameters
4.5 Use a template engine and templates
4.6 Handle JSON data in the request and response
4.7 Use sessions to store data between requests
Lesson 5: AngularJS Framework Fundamentals
5.1 Build your first AngularJS application
5.2 Use AngularJS directives to bind view elements to the
scope
5.3 Create your own custom directive
5.4 Use AngularJS events to create, detect and handle changes
to the scope
5.5 Use the $http services for AJAX communications with the
web server
5.6 Create your own custom service
Lesson 6: Implementing the Full Node.js, MongoDB and AngularJS
Stack to Add User Authentication to a Web Site
6.1 Create the application server, routes and views
6.2 Adding session support to the server
6.3 Implementing the user controller to interact with MongoDB
6.4 Implement the AngularJS user model and controller
Lesson 7: Implementing the Full Node.js, MongoDB and AngularJS
Stack to Provide a Dynamic View of Backend Data
7.1 Create a dynamic table of database data using Node.js,
MongoDB and AngularJS
7.2 Add paging to the table view
7.3 Filter data displayed in the application
7.4 Sort data displayed in the application view
Lesson Descriptions
Lesson 1: Node.js Fundamentals
Lesson 1 teaches the fundamentals of Node.js. The purpose of
this lesson is to provide you with the basics of developing
applications using the Node.js platform. The lesson first covers
setting up a development environment that enables you to build
Node.js, MongoDB and AngularJS applications. Next, you learn how to
build Node.js applications and modules. You also learn how Node.js
implements callbacks to provide a single threaded model for
applications. Then you learn how to implement events in your
Node.js applications. Finally, you learn how to use readable and
writeable streams to stream data to and from files.
Lesson 2: MongoDB Fundamentals
Lesson 2 introduces you to the MongoDB database. The purpose
of this lesson is to teach you how to use the MongoDB shell to
access and manage databases. You first learn how to access the
MongoDB shell and execute commands. Then you learn how to use shell
commands to create databases, collections and documents. Next, you
learn how to view documents in a collection and then use shell
commands to modify and delete them. You also learn how to implement
user accounts and authentication to the MongoDB database. You then
learn about indexes and how to manage them. Finally, you learn how
to build a MongoDB script that can be executed from a console
prompt to access and manipulate documents. This exercise is very
important because it builds a database that will be used in Lesson
Lesson 3: Using MongoDB as the Data Store for Node.js
Applications
Lesson 3 teaches you how to integrate the MongoDB database
into your Node.js applications. In this lesson, you learn how to
access a MongoDB server from your Node.js applications. You create
some queries that retrieve documents from a collection. Then you
learn how to limit the amount of data returned from the database.
You also learn how to sort the documents returned. Next, you use
the MongoDB aggregation pipeline to aggregate data before
retrieving it from the server. Finally, you learn how to add,
remove and update documents in a collection.
Lesson 4: Using Express as the Node.js Web Server
Lesson 4 dives into using the Node.js module Express to
implement web servers. You learn how to start the server, handle
various types of routes and serve static files. Next, you learn how
to handle parameters in a query. Then you get a chance to implement
templates and a template engine to deliver dynamic content. You
also learn how to handle JSON data in both requests and responses.
Finally, you learn how to implement and manage sessions to store
data between client requests.
Lesson 5: AngularJS Framework Fundamentals
Lesson 5 introduces you to using the AngularJS platform to
extend HTML and build client applications. The lesson begins by
helping you create your first AngularJS application. Then you learn
how to bind data from the model to HTML elements. You also learn
how to build your own custom directives. Next, you learn how to use
the built-in directives to extend HTML. You then learn how to use
the AngularJS http service to communicate with the server via AJAX.
Finally, you learn how to build your own custom services that can
be re-used in your AngularJS applications.
Lesson 6: Implementing the Full Node.js, MongoDB, and AngularJS
Stack to Add User Authentication to a Web Site
Lesson 6 combines the concepts from all the previous lessons
together to build a Node.js, MongoDB, and AngularJS solution that
provides user accounts and authentication to a web site. In the
first step, you build the application server, routes and views.
Next, you add session support to the server to store authentication
state between requests. Then you build the server-side component to
store and retrieve user data in the MongoDB database. Finally, you
implement the necessary AngularJS components to handle interaction
with the server to update the user data.
Lesson 7: Implementing the Full Node.js, MongoDB, and AngularJS
Stack to Provide a Dynamic View of Backend Data
In Lesson 7, you use the full Node.js, MongoDB, and AngularJS
stack to access and display data from the MongoDB database in a
dynamic view. You begin by creating a dynamic HTML table that is
bound to data from the MongoDB database. Then you add the
capability to page through entries in the collection. Next, you add
the capability to filter data in the application. Finally, you add
a sort feature to sort the document based on different field
values.
About LiveLessons
The LiveLessons Video Training series publishes hundreds of
hands-on, expert-led video tutorials covering a wide selection of
technology topics designed to teach you the skills you need to
succeed. This professional and personal technology video series
features world-leading author instructors published by your trusted
technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson
IT Certification, Prentice Hall, Sams, and Que. Topics include: IT
Certification, Programming, Web Development, Mobile Development,
Home and Office Technologies, Business and Management, and more.
View all LiveLessons on InformIT at:
http://www.informit.com/livelessons