#777 Год выпуска: 2013 Производитель: LiveLessons | informit.com Страница курса Автор: Marc Wandschneider Продолжительность: ~11ч Тип раздаваемого материала: Видеоурок Язык: Английский
Описание: Learning Node.js LiveLessons provides developers with a practical introduction to Node.js, an exciting new platform for developing web and network applications.
Курс знакомит с основами Node.js, новой платформой для веб-приложений.
Introduction
Lesson 1: Getting Started covers how to install and run Node.js. This lesson shows installing Node.js, testing to make sure it works, using the REPL, writing a web server in Node.js and debugging a program using the node interpreter and where to get help if things go wrong.
Learning objectives
Install Node.js on Windows
Install Node.js on the Mac
Install Node.js on Linux
Write “Hello World!” in Node.js
Run your first web server
Use the Node.js debugger
Stay up to date and find the help you need
Lesson 2: A Closer Look at JavaScript covers the JavaScript used in Node.js with Google's V8 JavaScript engine. This lesson goes over the basic types in JavaScript, functions, and their flexibility as a type, keywords and structures, classes and inheritance in JavaScript, error handling, and some Node.js global variables.
Learning objectives
Use basic types
Use strings
Use objects
Use arrays
Make full use of functions
Use language constructs
Write classes with prototypes and inheritance
Use and handle errors
Work with two important Node.js globals
Lesson 3: Asynchronous Programming looks at the key ingredient of Node.js, which makes it so fast and scalable: the fact that everything is asynchronous and nothing in Node.js blocks. This lesson compares synch and async programming, handling errors in asynchronous programming, using the “this” pointer and the synchronous programming that is still possible in Node.js.
Learning objectives
Compare synchronous and asynchronous programming
Mix error handling and asynchronous programming
Solve a new problem that arises in Node.js – losing your “this” reference
Yield control and improve responsiveness
Take a quick look at synchronous programming in Node.js
Lesson 4: Writing Applications show how to write web servers. This lesson demonstrates writing a JSON web application server, combining loops and asynchronous programming, supporting multiple request URLs on a machine, exploring request and responses in more detail and using GET and POST parameters to send and receive data.
Learning objectives
Write your first JSON server
Combine loops and asynchronous programming
Support multiple request types in your server
Explore requests and responses
Add support for query (GET) parameters
Receive POST data
Lesson 5: Modules covers what modules are and how to use them. This lesson covers writing modules, using npm (node package manager), and publishing modules with the npm. This lesson also explores the module “async” and why it should be apart of the core Node system.
Learning objectives
Write a simple module
Use npm – the node package manager
Write a more interesting module
Publish modules
Explore the async module, a vital component of our apps
Lesson 6: Expanding our Web Server moves onto developing the photo sharing web application. The lesson covers Node.js streams, serving content other than JSON, including images and static files and building web apps using client-side templating via a templating engine called mustache.
Learning objectives
Investigate Node.js streams
Serve static files from our server
Serve different file types with our server
Use HTML templates – the basics
Use HTML templates – the Mustache framework
Use HTML templates – bootstrapping the process with JavaScript
Use HTML templates – final assembly for the browser
Lesson 7: Building Web Applications Easier with Express covers web application frameworks in Node.js, in particular, ExpressJS. This lesson demonstrates installing ExpressJS and its basic usage, requesting routing, learning about RESTful web application, reworking the layout of the code, learning about “middleware” and how ExpressJS uses it and, finally, replacing code written in previous lessons so that files can be uploaded to the server and use built-in ExpressJS functionality.
Learning objectives
Install express and write Hello World
Route requests
Update your app for routing
Understand REST API design
Factorize your code with modules
Explore Connect middleware
Clarify the importance of ordering in middleware
Replace static file handling in the app with middleware
Support POST data, cookies, and sessions
Upload files
Implement HTTP basic authentication
Lesson 8: Databases I - MongoDB and Node.js shows how to install this popular NOSQL database and integrate it into the application. This lesson demonstrates setting up and running MongoDB, performing basic MongoDB operations in Node.js, learning about the “find” query, updating the photo sharing application to use MongoDB and adding new pages and templates to the application.
Learning objectives
Set up and run MongoDB
Perform basic Mongo DB operations
Query collections with the “find” method
Update your photo app – setting everything up
Add new database operations to the app
Add new pages and templates to the app
Lesson 9: Databases II - MySQL looks at the SQL side of storing data in a Node.js web application. With MySQL up and running, this lesson covers creating a SQL schema, performing core database operations using MySQL and Node.js, updating the web application to use MySQL as the backend store and adding some basic security to the web application.
Learning objectives
Preparing MySQL
Create a SQL schema for our project
Learn about core database operations in MySQL
Add authentication to our app – API and handlers
Add authentication to our app – pages and templates
Use resource pooling
Secure your API with HTTP basic authentication
Lesson 10: Development and Deployment covers topics centered around running the Node.js application. The lesson covers deploying the app, learning how to take advantage of multi-proc and multi-core machines, using virtual hosting to get multiple websites using one computer and finally, developing for Windows, Mac, and Unix.
Learning objectives
Deploy Node apps: Basic
Deploy Node apps: Ninja (Unix-like)
Deploy Node apps: Ninja (Windows)
Fully take advantage of multi-processor servers on deployment
Support sessions on multiple servers with memcached
Implement virtual hosting – Express
Implement virtual hosting – proxy servers
Secure your projects with HTTPS – Express
Secure your projects with HTTPS – proxy servers
Develop for multiple platforms
Lesson 11: Command-Line Programming diverges from asynchronous and non-blocking programming by showing how to use Node.js as a synchronous programming platform to write command-line scripts. This lesson covers running Node.js programs as shell scripts, using synchronous APIs in Node.js, processing in put and output from our command-line scripts and executing programs and scripts.
Learning objectives
Run command-line scripts (Unix-like)
Run command-line scripts (Windows)
Use synchronous file APIs
Understand the basics of stdin/stdout
Launch processes with the “exec” function
Launch processes with the “spawn” function
Lesson 12: Testing covers the basics of async programming and testing. This lesson looks at testing framework options in Node.js, writing tests using nodeunit, handling asynchronous code in the tests, and learning about testing RESTful APIs.
Learning objectives
Explore some testing framework options and install nodeunit
Write your first nodeunit tests
Handle asynchronous programming in your tests
Test RESTful APIs
Summary
Файлы примеров: присутствуют Формат видео: MP4 Видео: MPEG4 Video (H264) 1280x720 25fps Аудио: AAC 48000Hz stereo
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения
Ресурс не предоставляет электронные версии произведений, а занимается лишь коллекционированием и каталогизацией ссылок, присылаемых и публикуемых на форуме нашими читателями. Если вы являетесь правообладателем какого-либо представленного материала и не желаете чтобы ссылка на него находилась в нашем каталоге, свяжитесь с нами и мы незамедлительно удалим её. Файлы для обмена на трекере предоставлены пользователями сайта, и администрация не несёт ответственности за их содержание. Просьба не заливать файлы, защищенные авторскими правами, а также файлы нелегального содержания!