Node.js for PHP Developers

Video description

In this Node.js for PHP Developers training course, expert author Daniel Stern will teach you how to build web apps with Node. This course is designed for users that already have a basic knowledge of web development.

You will start by learning the differences between PHP and Node, then jump into learning more about Node. From there, Daniel will teach you about package management in PHP and Node, serving websites in PHP and Node, and how to create a RESTful API. This video tutorial also covers how to automate tasks, test Node applications, and work with databases. Finally, you will learn about authentication and deployment, including how to serialize and deserialize users, implement authentication, and set up and deploy Heroku.

Once you have completed this computer based training course, you will have learned everything you need to know to build your own web apps with Node.

Table of contents

  1. Introduction
    1. Course Goals 00:02:15
    2. Course Roadmap 00:01:39
    3. An Overview Of The App We'll Be Building 00:02:27
    4. Why Migrate From PHP to Node? 00:02:19
    5. About The Author 00:01:03
    6. Is Node Right For Your Project Goals? 00:03:20
    7. Course Pre-requisites 00:01:31
  2. Understanding The Differences Between PHP and Node
    1. Are PHP And Node Equivalent? 00:01:25
    2. The Difference Between PHP And Node 00:03:23
    3. A Look At Popular PHP And Node Libraries 00:04:03
    4. Blocking IO Vs Non-Blocking IO 00:02:10
    5. PHP And Node - Comparing Growth And Community Trends 00:02:11
  3. Introduction To Node
    1. Installing Node 00:02:07
    2. What Is io.js? 00:02:09
    3. Which IDE Is Right For Working With Node And JavaScript? 00:02:41
    4. The Node Command Line Interface 00:03:58
  4. Package Management In PHP And Node
    1. Why Package Management? 00:02:20
    2. What is NPM? 00:00:50
    3. Compare: Composer Vs NPM 00:01:27
    4. Installing An NPM Package 00:01:34
    5. Demo - Install NPM Modules 00:04:16
    6. Publishing NPM Packages 00:01:44
  5. Serving Websites In PHP And Node
    1. Apache Vs Node's Web Servers 00:01:35
    2. Demo - Hello World In PHP 00:02:20
    3. Routing 00:02:14
    4. Express Overview 00:01:38
    5. Express Routing 00:03:21
  6. Creating A Restful API
    1. Understanding Restful APIs 00:02:43
    2. Restful APIs In PHP Vs In Node 00:01:42
    3. Laravel Vs Express - Restful APIs 00:02:58
    4. Demo - Implementing A Restful API In Node.js Using Express 00:03:11
  7. Automating Tasks
    1. Why Task Automation? 00:03:07
    2. PHP And Node - Comparing Task Runners 00:03:05
    3. Task Running And Task Runners In NPM 00:02:29
    4. A Visit To The Gulp Website And Github Page 00:01:28
    5. Demo - Set Up Gulpfile 00:01:47
    6. Demo - Setting Up Gulp Server Task 00:01:24
    7. Demo - Watch For File Changes 00:01:57
  8. Testing Node Applications
    1. Why Is Testing Important? 00:02:17
    2. PHP Vs Node - Testing 00:02:01
    3. Node Testing Frameworks 00:01:40
    4. Demo - Scaffold For Jest Testing 00:03:00
    5. Demo - Implement Jest Testing 00:03:54
  9. Isomorphism For Efficient Websites
    1. Introduction To Isomorphism 00:01:14
    2. Isomorphism Explained 00:03:20
    3. PHP Vs Node - Code Reuse 00:02:47
    4. Reusing Code And Server-Side Rendering 00:02:35
    5. Demo - Add Front End 00:01:10
    6. Demo - Serve App Isomorphic 00:04:07
    7. Demo - Finishing Isomorphic Components 00:03:02
  10. Working With Databases
    1. Introduction To Databases 00:03:49
    2. Working With Databases in Node 00:02:05
    3. MySQL Vs MongoDB 00:01:27
    4. Demo - Install And Run MongoDB 00:01:51
    5. Demo - Connecting To Mongo And Dropping Databases 00:01:43
    6. Demo - Designing Mongoose Schemas 00:02:11
    7. Demo - Creating Initial MongoDB Entries 00:02:21
    8. Demo - Return Data From MongoDB 00:02:04
  11. Authentication
    1. Node Authentication 00:02:25
    2. Modern Authentication With Passport 00:02:03
    3. Implementing Passport 00:01:45
    4. Demo - Add Authentication Scaffold 00:01:41
    5. Demo - Create Passport Local Strategy 00:02:23
    6. Demo - Serialize And Deserialize Users 00:01:42
    7. Demo - Implement Authentication 00:02:30
    8. Demo - Implement Routes For Passport 00:03:20
  12. Deployment
    1. PHP Vs. Node - Deployment 00:02:27
    2. Deploying Node Applications To VPN 00:02:25
    3. Deploying Node Applications To A Specialized Host 00:03:29
    4. Steps To Deploying To Heroku 00:01:26
    5. Demo - Prepare Application For Heroku Deployment 00:02:11
    6. Demo - Setting Up Heroku 00:02:12
    7. Demo - Deploying To Heroku 00:02:28
  13. Conclusion
    1. Course Summary 00:03:34
    2. Continue Your Education 00:04:29
    3. Conclusion 00:01:18

Product information

  • Title: Node.js for PHP Developers
  • Author(s): Daniel Stern
  • Release date: March 2016
  • Publisher(s): Infinite Skills
  • ISBN: 9781771375948