کتاب Next.js در دنیای واقعی: ساخت اپلیکیشن‌های وب مقیاس‌پذیر، پرکارایی و مدرن با استفاده از Next.js، فریم‌ورک React برای محیط‌های تولیدی اثر Michele Riva

عنوان:

Real-World Next.js

نویسنده:

Michele Riva

انتشارات:

Packt Publishing

تاریخ انتشار:

2022

حجم:

8.8MB

دانلود

معرفی کتاب:" Next.js در دنیای واقعی: ساخت اپلیکیشن‌های وب مقیاس‌پذیر، پرکارایی و مدرن با استفاده از Next.js، فریم‌ورک React برای محیط‌های تولیدی "

با استفاده از کتاب حاضر، یاد می‌گیرید چگونه برنامه‌های وب مقیاس‌پذیر و با تجربه کاربری بالا بسازید؛ بدون آن‌که عملکرد، رضایت توسعه‌دهنده یا سئو را فدای پیچیدگی توسعه کنید.

ویژگی‌های کلیدی

  • توسعه سریع برنامه‌های وب مقیاس‌پذیر با Next.js
  • استفاده از Next.js برای وب‌سایت‌های فروشگاهی و CMSهای بدون واسط
  • آموزش استقرار روی Vercel، AWS، DigitalOcean یا سرور شخصی

درباره کتاب

Next.js فریم‌ورکی قدرتمند بر پایه React برای توسعه وب مدرن است. این فریم‌ورک ویژگی‌هایی مانند SSG، SSR، پیش‌واکشی خودکار مسیرها، بهینه‌سازی تصاویر و پشتیبانی از چندزبانگی را به‌صورت پیش‌فرض ارائه می‌دهد.

این کتاب با آموزش اصول پایه آغاز می‌شود و به‌صورت پروژه‌محور شما را تا ساخت و استقرار برنامه‌های واقعی پیش می‌برد.

آنچه خواهید آموخت

  • درک معماری Next.js و ساختار پروژه‌ها
  • استفاده از SSR، SSG، CSR و ISR در سناریوهای مختلف
  • کار با سیستم مسیر‌یابی پویا و کامپوننت‌های داخلی
  • طراحی فروشگاه اینترنتی با GraphCMS و Next.js
  • استفاده از روش‌های مختلف استایل‌دهی مانند CSS-in-JS و Tailwind
  • استفاده از تست‌های واحد و یکپارچه در Next.js
  • مدیریت احراز هویت، نشست کاربران و امنیت در برنامه‌ها
  • استقرار در محیط‌های مختلف: Vercel، AWS، سرور شخصی

مخاطب این کتاب

این کتاب مناسب توسعه‌دهندگانی است که با React و JavaScript آشنایی دارند و می‌خواهند قدم به دنیای برنامه‌های فول‌استک مدرن و قابل نگهداری بگذارند. آشنایی با Node.js و REST مفید است.

فهرست مطالب

  1. معرفی مختصر Next.js
  2. بررسی استراتژی‌های مختلف رندر
  3. اصول Next.js و کامپوننت‌های داخلی
  4. ساختاردهی کد و واکشی داده
  5. مدیریت وضعیت در Next.js
  6. استایل‌دهی با CSS و فریم‌ورک‌ها
  7. استفاده از سرور سفارشی
  8. نوشتن تست برای برنامه‌ها
  9. بهینه‌سازی SEO و عملکرد
  10. استقرار روی Vercel، DigitalOcean، AWS و سرور اختصاصی
  11. احراز هویت و مدیریت نشست کاربر
  12. ساخت فروشگاه آنلاین با GraphCMS
  13. پروژه‌های نمونه و مسیر ادامه یادگیری

فهرست مطالب

  • Cover
  • Title
  • Copyright and Credits
  • Table of Contents
  • Part 1: Introduction to Next.js
  • Chapter 1: A Brief Introduction to Next.js
  • Technical requirements
  • Introducing Next.js
  • Comparing Next.js to other alternatives
  • Moving from React to Next.js
  • Getting started with Next.js
  • Summary
  • Chapter 2: Exploring Different Rendering Strategies
  • Technical requirements
  • Server-side rendering (SSR)
  • Client-side rendering (CSR)
  • Static site generation
  • Summary
  • Chapter 3: Next.js Basics and Built-In Components
  • Technical requirements
  • Routing system
  • Serving static assets
  • Handling metadata
  • Customizing _app.js and _document.js pages
  • Part 2: Hands-On Next.js
  • Chapter 4: Organizing the Code Base and Fetching Data in Next.js
  • Technical requirements
  • Organizing the folder structure
  • Data fetching
  • Summary
  • Chapter 5: Managing Local and Global States in Next.js
  • Technical requirements
  • Local state management
  • Global state management
  • Summary
  • Chapter 6: CSS and Built-In Styling Methods
  • Technical requirements
  • Exploring and using Styled JSX
  • CSS modules
  • Integrating SASS with Next.js
  • Summary
  • Chapter 7: Using UI Frameworks
  • Technical requirements
  • An introduction to UI libraries
  • Integrating Chakra UI in Next.js
  • Integrating TailwindCSS in Next.js
  • Integrating Headless UI
  • Summary
  • Chapter 8: Using a Custom Server
  • Technical requirements
  • About using a custom server
  • Using a custom Express.js server
  • Using a custom Fastify server
  • Summary
  • Chapter 9: Testing Next.js
  • Technical requirements
  • An introduction to testing
  • Running unit and integration tests
  • End-to-end testing with Cypress
  • Summary
  • Chapter 10: Working with SEO and Managing Performance
  • Technical requirements
  • SEO and performance – an introduction
  • Rendering strategies, from a performance and SEO perspective
  • Private routes
  • A quick recap regarding our decisions
  • Working with SEO
  • Dealing with performance
  • Summary
  • Chapter 11: Different Deployment Platforms
  • Technical requirements
  • A brief introduction to different deployment platforms
  • Deploying to the Vercel platform
  • Deploying a static site to a CDN
  • Choosing a CDN
  • Deploying Next.js on any server
  • Running Next.js in a Docker container
  • Summary
  • Part 3: Next.js by Examples
  • Chapter 12: Managing Authentication and User Sessions
  • Technical requirements
  • A brief introduction to user sessions and authentication
  • Understanding JSON web tokens
  • Custom authentication – the good, the bad, and the ugly
  • Implementing authentication using Auth0
  • Summary
  • Chapter 13: Building an E-Commerce Website with Next.js and GraphCMS
  • Technical requirements
  • Creating e-commerce for the modern web
  • Setting up GraphCMS
  • Creating the storefront, cart, and product detail pages
  • Processing payments using Stripe
  • Summary
  • Chapter 14: Example Projects and Next Steps for Learning More
  • One framework, endless possibilities
  • Real-world applications for practicing with Next.js
  • Next steps
  • Summary
  • Index

مشخصات

نام کتاب

Real-World Next.js

نویسنده

Michele Riva

انتشارات

Packt Publishing

تاریخ انتشار

2022

ISBN

9781801073493

چاپ

اول

تعداد صفحات

367

زبان

انگلیسی

فرمت

pdf

حجم

8.8MB

موضوع

Next.js