دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: 5
نویسندگان: Bethany Griggs and Manuel Spigolon
سری:
ISBN (شابک) : 9781804619810, 1000000000
ناشر: Packt Publishing Pvt Ltd
سال نشر: 2024
تعداد صفحات: 0
زبان: English
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 21 مگابایت
در صورت تبدیل فایل کتاب Node.js Cookbook: Practical recipes for building server-side web applications with Node.js 22, 5th Edition به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب کتاب آشپزی Node.js: دستور العمل های عملی برای ساخت برنامه های وب سمت سرور با Node.js 22 ، نسخه 5 نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
Node.js Cookbook
Contributors
About the authors
About the reviewer
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Sections
Getting ready
How to do it…
How it works…
There’s more…
See also
Get in touch
Share Your Thoughts
Download a free PDF copy of this book
1
Introducing Node.js 22
Technical requirements
Installing Node.js 22 with nvm
Getting ready
How to do it…
How it works…
There’s more…
Accessing the Node.js API documentation
Getting ready
How to do it…
How it works…
There’s more…
Adopting new JavaScript syntax in Node.js 22
Getting ready
How to do it…
How it works…
Introducing the Node.js event loop
Getting ready
How to do it…
How it works…
There’s more
2
Interacting with the File System
Technical requirements
Interacting with the file system
Getting ready
How to do it…
How it works…
There’s more…
See also
Working with files
Getting ready
How to do it…
How it works…
There’s more…
See also
Fetching metadata
Getting ready
How to do it…
How it works…
There’s more…
See also
Watching files
Getting ready
How to do it…
How it works…
There’s more…
See also
3
Working with Streams
Technical requirements
Creating readable and writable streams
Getting ready
How to do it…
How it works…
There’s more…
See also
Interacting with paused streams
Getting ready
How to do it…
How it works…
See also
Piping streams
Getting ready
How to do it…
How it works…
There’s more…
See also
Creating transform streams
Getting ready
How to do it…
How it works…
There’s more…
See also
Building stream pipelines
Getting ready
How to do it…
How it works…
There’s more…
See also
4
Using Web Protocols
Technical requirements
Making HTTP requests
Getting ready
How to do it…
How it works…
There’s more…
See also
Creating an HTTP server
Getting ready
How to do it…
How it works…
There’s more…
See also
Receiving HTTP POST requests
Getting ready
How to do it…
How it works…
There’s more…
See also
Handling file uploads
Getting ready
How to do it…
How it works…
There’s more…
See also
Creating a WebSocket server
Getting ready
How to do it…
How it works…
There’s more…
See also
Creating an SMTP server
Getting ready
How to do it…
How it works…
There’s more…
See also
5
Developing Node.js Modules
Technical requirements
Consuming Node.js modules
Getting ready
How to do it…
How it works…
There’s more…
See also
Scaffolding a module
Getting ready
How to do it…
How it works…
There’s more…
See also
Writing module code
Getting ready
How to do it…
How it works…
See also
Publishing a module
Getting ready
How to do it…
How it works…
There’s more…
Using ECMAScript modules
Getting ready
How to do it…
How it works…
There’s more…
See also
6
Working with Fastify – The Web Framework
Technical requirements
Creating an API starter using Fastify
Getting ready
How to do it…
Splitting the code into small plugins
How to do it…
How it works…
Adding routes
How to do it…
How it works…
There’s more...
Implementing authentication with hooks
Getting ready
How to do it…
How it works…
There’s more...
Breaking the encapsulation
Getting ready
How to do it…
There’s more...
Implementing business logic using hooks
Getting ready
How to do it…
Validating the input data
How to do it…
Enhancing application performance with serialization
How to do it…
Configuring and testing a Fastify application
Getting ready
How to do it…
How it works…
There’s more...
7
Persisting to Databases
Technical requirements
Connecting and persisting to a MySQL database
Getting ready
How to do it…
How it works…
There’s more…
See also
Connecting and persisting to a PostgreSQL database
Getting ready
How to do it…
How it works…
There’s more…
See also
Connecting and persisting to MongoDB
Getting ready
How to do it…
How it works…
See also
Persisting data with Redis
Getting ready
How to do it…
How it works…
There’s more…
See also
Exploring GraphQL
Getting ready
How to do it…
How it works…
See also
8
Testing with Node.js
Technical requirements
Testing with node:test
Getting ready
How to do it…
How it works…
There’s more…
See also
Testing with Jest
Getting ready
How to do it…
How it works…
There’s more…
See also
Stubbing HTTP requests
Getting ready
How to do it…
How it works…
See also
Using Puppeteer
Getting ready
How to do it…
How it works…
There’s more…
See also
Configuring Continuous Integration tests
Getting ready
How to do it…
How it works…
See also
9
Dealing with Security
Technical requirements
Detecting dependency vulnerabilities
Getting ready
How to do it…
How it works…
There’s more...
See also
Authentication with Fastify
Getting ready
How to do it…
How it works…
There’s more…
See also
Hardening headers with Helmet
Getting ready
How to do it…
How it works…
There’s more…
See also
Anticipating malicious input
Getting ready
How to do it…
How it works…
There’s more…
See also
Preventing JSON pollution
Getting ready
How to do it…
How it works…
See also
Guarding against cross-site scripting
Getting ready
How to do it…
How it works…
There’s more…
See also
Preventing cross-site request forgery
Getting ready
How to do it…
How it works…
There’s more…
See also
10
Optimizing Performance
Technical requirements
Benchmarking HTTP requests
Getting ready
How to do it…
How it works…
There’s more…
See also
Interpreting flame graphs
Getting ready
How to do it…
How it works…
See also
Detecting memory leaks
Getting ready
How to do it…
How it works…
There’s more…
See also
Optimizing synchronous functions
Getting ready
How to do it…
How it works…
See also
Optimizing asynchronous functions
Getting ready
How to do it…
How it works…
See also
Working with worker threads
Getting ready
How to do it…
How it works…
11
Deploying Node.js Microservices
Technical requirements
Generating a microservice with LoopBack
Getting ready
How to do it…
How it works…
See also
Consuming a microservice
Getting ready
How to do it…
How it works…
See also
Building a Docker container
Getting ready
How to do it…
How it works…
There’s more…
See also
Publishing a Docker image
Getting ready
How to do it…
How it works…
There’s more…
See also
Deploying to Kubernetes
Getting ready
How to do it…
How it works…
There’s more…
See also
12
Debugging Node.js
Technical requirements
Diagnosing issues with Chrome DevTools
Getting ready
How to do it…
How it works…
There’s more…
See also
Logging with Node.js
Getting ready
How to do it…
How it works…
There’s more…
See also
Enabling debug logs
Getting ready
How to do it…
How it works…
See also
Enabling Node.js core debug logs
Getting ready
How to do it…
How it works…
See also
Increasing stack trace size
Getting ready
How to do it…
How it works…
There’s more…
See also
Creating diagnostic reports
Getting ready
How to do it…
How it works…
See also
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share Your Thoughts
Download a free PDF copy of this book