Getting the Most out of Node.js Frameworks: The Essential Tools and Libraries

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Gain the knowledge you need to navigate your way confidently through the ever-expanding landscape of modern JavaScript technologies. With over one hundred Node.js frameworks available and the number rising every month, it is becoming increasingly difficult to avoid JavaScript fatigue and keep abreast of the developments that are most useful and relevant to your own projects. In such a saturated environment, the knowledge of exactly which tools will best fit your goals is invaluable.

This book will guide you through the quagmire by clearly and comprehensively outlining the most practically useful Node frameworks, libraries and tools, and how they might be employed in your own projects. You will learn about JavaScript frameworks such as Polymer, Webix, Aurelia, Svelte, Meteor, and many, many more.

This book will empower you to cut through the noise and learn how to achieve your career goals with the right tools meant especially for you.

What Will You Learn:

  • The what, why and how behind a variety of JavaScript Node frameworks, including Polymer, Aurelia, Svelte, and more.
  • How to choose the right Node framework for different types of project
  • How to ensure server-side optimization is done correctly, even if you are not a server admin
  • Guide to JS tools such as Gulp, Grunt and npm

Who Is This Book For:

Web developers of all levels of ability; particularly relevant for front-end developers, server-side coders, and developers interested in learning JavaScript.

Author(s): Sufyan bin Uzayr
Publisher: CRC Press
Year: 2022

Language: English
Pages: 136
City: Boca Raton

Cover
Half Title
Title Page
Copyright Page
Dedication
Contents
Acknowledgments
About the Author
CHAPTER 1: Introduction to JavaScript Frameworks
WHAT ARE JS FRAMEWORKS?
HOW ARE JS FRAMEWORKS DIFFERENT FROM LIBRARIES?
PROS AND CONS OF JS FRAMEWORKS
JS FRAMEWORKS VS VANILLA JS
But How Do You Do This?
WHY AND WHEN SHOULD YOU USE A JS FRAMEWORK?
CONCLUSION
CHAPTER 2: Getting Started with Node.js
WHAT IS NODE.JS?
WHAT IS JAVASCRIPT?
A BRIEF HISTORY
WHY SHOULD WE LEARN NODE.JS?
NODE.JS BECOMES MAINSTREAM
WHAT WAS NODE.JS CREATED FOR?
MAIN FEATURES OF NODE.JS
Speed
Simplicity
JavaScript
V8 Engine
Asynchrony
Libraries
BEST USE CASES
API Above the Object Database
Chat
Input Queues
Data Streaming
Proxy
Dashboard for App Monitoring
Informational Panel for System Tracking
Stock Trader Dashboard
WHAT JAVASCRIPT KNOWLEDGE YOU NEED TO HAVE TO START LEARNING NODE.JS?
WHICH FAMOUS COMPANIES USE NODE.JS?
NASA
Trello
LinkedIn
Twitter
INSTALLATION AND SET UP
Installing Node.js on Windows
Installing Node.js on OS X
Installing Node.js Via the Package Manager
Android
nvm
MacOS
Arch Linux
I/O Files With Node.js
example_log.txt
my_parser.js
my_parser.js
Asynchronous Calls in Node.js
NODE.JS FOR SERVER APPLICATION DEVELOPMENT
CREATING A WEB SERVER USING NODE.JS
mywebserver.js
CHAPTER 3: Doing More with Node.js
MODULES
HTTP Module
Streams
Simple File Server
Error Handling
WHAT IS SERVER-SIDE PROGRAMMING?
V8 AND OTHER ENGINES
DIFFERENCES BETWEEN THE NODE.JS AND BROWSER
HOSTING FOR NODE.JS APPLICATIONS
The Simplest Hosting Option: Local Tunnel
Environments for Node.js Projects Deployment That Do Not Require Configuration
Glitch
Codepen
Serverless Environments
Google Cloud Platform
VPS hosting
PaaS Solutions
Zeit Now
Nanobox
Heroku
Microsoft Azure
Standard Server
NODE.JS FRAMEWORKS
The Main Advantages of the Node.js Frameworks
Express.js
Installing and Using Express
Routing
Hapi.js
Features of Hapi.js
Koa.js
Routing
Total.js
Routing
Template Engine
Derby.js
Mojito.js
Adonis.js
Features of Adonis.js
Installing the Adonis CLI
Keystone.js
Database
Template Engine
Key Features
Use Cases
Socket.IO
Working with Socket.IO
ActionHero.js
ASYNCHRONOUS PROGRAMMING
Asynchrony in JavaScript
Callbacks
Error Handling in Callbacks
What Is “Promises”?
What Is Async/Await Construction?
Generating Events in Node.js
CHAPTER 4: Polymer
INTRODUCTION TO POLYMER
What Is Polymer?
What Makes Polymer Special?
Major Pros and Cons of Polymer
Advantages
Disadvantages
HOW TO USE POLYMER?
Installing Polymer
Serving a Polymer App
Building Progressive Web Apps Using Polymer
CONCLUSION
The Polymer Ecosystem
Further Steps
Suggested Resources
CHAPTER 5: Meteor
INTRODUCTION
What Is Meteor?
What Makes Meteor Special?
Pros
Cons
HOW TO USE?
Installing Meteor.js
Serving an App in Meteor.js
Building Apps for the Web in Meteor
CONCLUSION
The Meteor Ecosystem
Further Steps
Suggested Resources
CHAPTER 6: Aurelia
INTRODUCTION
What Is Aurelia?
What Makes It Special?
Pros
Cons
HOW TO USE AURELIA?
Installing Aurelia
Creating and Localizing Apps with Aurelia
CONCLUSION
The Aurelia Ecosystem
Further Steps
Suggested Resources
CHAPTER 7: Svelte
INTRODUCTION
What Is Svelte?
Now What Would That Mean?
What Makes Svelte Special?
Pros
Cons
HOW TO USE SVELTE?
Installing Svelte
Building Apps with Svelte
Understanding Svelte Components
Additional Info: Using degit to Scaffold the Svelte Template
CONCLUSION
The Svelte Ecosystem
Further Steps
Suggested Resources
CHAPTER 8: Conditioner.js
INTRODUCTION
What Is Conditioner.js?
What Makes Conditioner.js Special?
Pros
Cons
HOW TO USE CONDITIONER.JS?
Installing Conditioner.js
Using Conditioner.js
Adding Plugins to Conditioner.js
CONCLUSION
Conditioner.js Ecosystem
Further Steps and Suggested Resources
CHAPTER 9: Webix
WHAT IS WEBIX?
Introducing Webix
What Makes Webix Special?
Features of Webix
INSTALLATION AND USAGE
Installing Webix
CONCLUSION
CHAPTER 10: Useful JavaScript Libraries and Tools
WHAT IS A TASK MANAGER?
NPM
How npm Works?
Installation
Node Packaged Modules
package.json File
devDependencies
Downloading Packages
Publishing a Package
Using a Package as an Executable File
Deleting Packages
Semantic Versioning
GULP
Installation
Creating a Gulp Project
Gulp SASS
Substitutions in Node
GRUNT
Why Should We Use Grunt?
Installation
Let’s Make Grunt to Merge a Couple of Files
What Is the Difference between Gulp and Grunt?
Grunt and Gulp Similarities
Differences between Grunt and Gulp
Entry Limit
Difference in Task Configuration
Performing Tasks
Development Activity
Github Gulp
GitHub Grunt
Summing Up…
CHART.JS
Installation
CHOREOGRAPHER.JS
Installation
GLIMMER.JS
Installation
GRANIM.JS
ANIME.JS
AOS—ANIMATION ON SCROLL.JS
BIDEO.JS
CLEAVE.JS
THREE.JS
VOCA.JS
TWEEN.JS
SLICK.JS
CONCLUSION
INDEX