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 Advanced Node.js Development
  • Table Of Contents Toc
Advanced Node.js Development

Advanced Node.js Development

By : Andrew Mead
3.5 (6)
close
close
Advanced Node.js Development

Advanced Node.js Development

3.5 (6)
By: Andrew Mead

Overview of this book

Advanced Node.js Development is a practical, project-based book that provides you with all you need to progress as a Node.js developer. Node is a ubiquitous technology on the modern web, and an essential part of any web developer’s toolkit. If you're looking to create real-world Node applications, or you want to switch careers or launch a side-project to generate some extra income, then you're in the right place. This book was written around a single goal: turning you into a professional Node developer capable of developing, testing, and deploying real-world production applications. There's no better time to dive in. According to the 2018 Stack Overflow Survey, Node is in the top ten for back-end popularity and back-end salary. This book is built from the ground up around the latest version of Node.js (version 9.x.x). You'll be learning all the cutting-edge features available only in the latest software versions. This book delivers advanced skills that you need to become a professional Node developer. Along this journey you'll create your own API, you'll build a full real-time web app and create projects that apply the latest Async and Await technologies. Andrew Mead maps everything out for you in this book so that you can learn how to build powerful Node.js projects in a comprehensive, easy-to-follow package designed to get you up and running quickly.
Table of Contents (12 chapters)
close
close

The message form and jQuery


In this section you're going to add a form field to your index.html file. This is going to render an input field and a button to the screen, and the user is going to be able to interact with that as opposed to having to call socket.emit from the Developer Tools, which is not a sustainable option for real users. This only works for us developers.

Now in order to get started we're going to be editing index.html, then we're going to move into index.js. We're going to add a listener that's going to wait for the form to be submitted, and inside of that listener callback, we are going to fire socket.emit with the data typed in the field. We're also going to take a moment to render all incoming messages to the screen. At the end of this section, we'll have a ugly, yet working, chat application.

Using the jQuery library

Now before we do any of that, we are going to be using a library called jQuery to do DOM manipulation, which means that we want to be able to do stuff with...

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.
Advanced Node.js Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options 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