Nodejs Programming By Example

PE Press
4.1
29 reviews
Ebook
84
Pages
Eligible
Ratings and reviews aren’t verified  Learn More

About this ebook

This book is a reference to the nodejs programming language. It describes all the elements of the language and illustrates their use with code examples.

Table of Content 1. Introduction to Nodejs 1.1 Installation 1.2 Hello World 1.3 Nodejs Modules 1.4 Update Nodejs Version 2. Nodejs Programming Language 2.1 Common Rule 2.2 Declaring Variable 2.3 Assigning Variables 2.4 Comment 2.5 Arithmetic Operations 2.6 Mathematical Functions 2.7 Comparison Operators 2.8 Logical Operators 2.9 Increment and Decrement 2.10 Decision 2.10.1 if..then 2.10.2 switch..case 2.11 Iterations 2.11.1 For 2.11.2 While 3. Nodejs Collections and JSON 3.1 Array 3.1.1 Create Array Object 3.1.2 Insert Data 3.1.3 Access Data 3.1.4 Update Data 3.1.5 Remove Data 3.2 Nodejs JSON 3.2.1 Create JSON Object 3.2.2 Display Data 3.2.3 Access Data 3.2.4 Edit Data 3.3 JSON Array 3.3.1 Create JSON Array 3.3.2 Display Data 3.3.3 Access Data 3.3.4 Edit Data 3.4 Check JSON Attribute 4. File Operations 4.1 File Modules 4.2 Reading Text 4.3 Creating File 5. Functions 5.1 Creating Function 5.2 Fuction with Returning Value 5.3 Function with Parameters and Returning Value 5.4 Callback Function 6. String Operations 6.1 Concatenating Strings 6.2 String To Numeric 6.3 Numeric to String 6.4 String Parser 6.5 Check String Data Length 6.6 Copy Data 6.7 Upper and Lower Case Characters 6.8 Getting String Index 6.9 Exploring Characters 7. Building Own Module 7.1 Create Simple Module 7.2 Module Class 8. Error Handling and Logging 8.1 Error Handling 8.2 Logging 9. Events 9.1 Events Module 9.2 Getting Started 9.4 Remove Events 10. Database Programming 10.1 Database Nodejs Modules 10.2 Sqlite 10.3 MySQL 10.4 MongoDB 11. Web Application 11.1 Getting Started 11.2 Manipulating HTTP Header 11.3 Handling Page Request 11.4 Working with HTTPS 11.5 ExpressJs 11.5.1 Installation 11.5.2 Getting Started 11.5.3 Handling Page Request 11.5.4 Expressjs for HTTPS 12. Socket Programming 12.1 Socket Module 12.2 Hello World 12.3 Client/Server Socket 12.3.1 Server Socket 12.3.2 Client Socket 12.3.3 Testing 12.4 UDP Socket 12.4.1 UDP Server 12.4.2 UDP Client 12.4.3 Testing 12.5 DNS 13. Socket.io 13.1 Getting Started 13.2 Hallo World 13.3 Socket.io and ExpressJs 13.4 Real-Time Monitoring

Ratings and reviews

4.1
29 reviews
Malcolm Sciandra
June 20, 2019
This is great, especially in RAD if you want to learn Node fast. The book gives very brief examples with explanations. I don't have time to read in-depth textbooks or watch lengthy videos on Node. This is short, sweet and exactly what I needed to get a great jumpstart with NodeJs. It's also good if you need a reference or a refresher. Kudos to the author.
3 people found this review helpful
Did you find this helpful?
Kenneth Thomsen
April 23, 2020
This book is great technical resource for a budding node developer to make real-time applications with cutting edge technology.
2 people found this review helpful
Did you find this helpful?
Anil Das
February 3, 2023
AAA BOSS NETWORK
Did you find this helpful?

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.