کتاب جنگو ۵ در یک نگاه: یادگیری سریع توسعه وب با پایتون

عنوان:

Django 5 for the Impatient

نویسنده:

Daniel Correa, Greg Lim

انتشارات:

Packt Publishing Pvt Ltd

تاریخ انتشار

2024

حجم:

4.2MB

دانلود

معرفی کتاب:" جنگو ۵ در یک نگاه: یادگیری سریع توسعه وب با پایتون "

Django 5 for the Impatient راهی سریع و پروژه‌محور برای یادگیری توسعه وب با پایتون و فریم‌ورک جنگو ارائه می‌دهد. اگر به‌دنبال یادگیری فوری و کاربردی هستید، این کتاب با مثال‌های واقعی شما را در کمترین زمان به مرحله ساخت اپلیکیشن‌های تحت وب می‌رساند.

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

  • ✓ یادگیری سریع توسعه وب با Python و Django
  • ✓ آموزش مفاهیم جنگو با زبانی ساده و عملی
  • ✓ ساخت اپ فروشگاه فیلم با رابط کاربری واکنش‌گرا
  • ✓ دیپلوی اپلیکیشن روی فضای ابری و اینترنت

درباره کتاب:

جنگو یک فریم‌ورک قدرتمند و محبوب در دنیای وب است، اما ورود به آن بدون مسیر مشخص می‌تواند گیج‌کننده باشد. این کتاب با تمرکز بر رویکرد پروژه‌محور، آموزش مفاهیم پیچیده را ساده کرده و شما را به سرعت با اجزای اصلی Django آشنا می‌کند.

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

آنچه در این کتاب خواهید آموخت:

  • ✓ کار با URLها، views، templates، models و forms
  • ✓ طراحی رابط کاربری واکنش‌گرا با Bootstrap
  • ✓ مدیریت داده‌ها و ارتباط با پایگاه‌داده
  • ✓ استفاده از پنل ادمین داخلی جنگو
  • ✓ بهره‌گیری از سیستم احراز هویت کاربران در Django
  • ✓ انتشار پروژه در فضای ابری و آماده‌سازی برای استفاده عمومی

این کتاب مناسب چه کسانی است؟

اگر برنامه‌نویس Python هستید و می‌خواهید سریع وارد دنیای توسعه وب شوید، یا اگر تازه‌کار هستید اما به ساخت پروژه‌های واقعی علاقه دارید، این کتاب راهنمای سریع و مؤثر شماست.

فهرست مطالب

  • Django 5 for the Impatient
  • Contributors
  • About the authors
  • About the reviewers
  • Preface
  • Chapter 1: Installing Python and Django, and Introducing the Movies Store Application
  • Technical requirements
  • Introducing and installing Python
  • Introducing and installing Django
  • Creating and running a Django project
  • Understanding the Movies Store application
  • Introducing the Django MVT architecture
  • Summary
  • Chapter 2: Understanding the Project Structure and Creating Our First App
  • Technical requirements
  • Understanding the project structure
  • Creating our first app
  • Creating a home page
  • Creating an about page
  • Summary
  • Chapter 3: Designing a Base Template
  • Technical requirements
  • Creating a base template with Bootstrap
  • Updating the home page to use the base template
  • Updating the About page to use the base template
  • Adding a header section
  • Adding a footer section
  • Summary
  • Chapter 4: Creating a Movies App with Dummy Data
  • Technical requirements
  • Creating the movies app
  • Listing movies with dummy data
  • Listing individual movies
  • Adding a link in the base template
  • Summary
  • Chapter 5: Working with Models
  • Technical requirements
  • Creating our first model
  • Installing Pillow
  • Managing migrations
  • Accessing the Django admin interface
  • Configuring image upload
  • Serving the stored images
  • Adding a movie model to the admin panel
  • Summary
  • Chapter 6: Collecting and Displaying Data from the Database
  • Technical requirements
  • Removing the movies’ dummy data
  • Updating the movie listings page
  • Updating the listing of an individual movie page
  • Implementing a search movie functionality
  • Summary
  • Chapter 7: Understanding the Database
  • Technical requirements
  • Understanding the database viewer
  • Customizing the Django admin panel
  • Switching to a MySQL database
  • Summary
  • Chapter 8: Implementing User Signup and Login
  • Technical requirements
  • Creating an accounts app
  • Creating a basic signup page
  • Improving the signup page to handle POST actions
  • Customizing UserCreationForm
  • Creating a login page
  • Implementing a logout functionality
  • Summary
  • Chapter 9: Letting Users Create, Read, Update, and Delete Movie Reviews
  • Technical requirements
  • Creating a review model
  • Creating reviews
  • Reading reviews
  • Updating a review
  • Deleting a review
  • Summary
  • Chapter 10: Implementing a Shopping Cart System
  • Technical requirements
  • Introducing web sessions
  • Creating a cart app
  • Adding movies to the cart
  • Listing movies added to the cart
  • Removing movies from the cart
  • Summary
  • Chapter 11: Implementing Order and Item Models
  • Technical requirements
  • Analyzing store invoices
  • Creating the order model
  • Creating the Item model
  • Recapping the Movies Store class diagram
  • Summary
  • Chapter 12: Implementing the Purchase and Orders Pages
  • Technical requirements
  • Creating the purchase page
  • Creating the orders page
  • Recapping the Movies Store MVT architecture
  • Summary
  • Chapter 13: Deploying the Application to the Cloud
  • Technical requirements
  • Managing GitHub and Git
  • Cloning your code onto PythonAnywhere
  • Configuring virtual environments
  • Setting up your web app
  • Configuring static files
  • Summary
  • Index
  • Other Books You May Enjoy

مشخصات

نام کتاب

Django 5 for the Impatient

نویسنده

Daniel Correa, Greg Lim

انتشارات

Packt Publishing Pvt Ltd

تاریخ انتشار

2024

ISBN

9781835461556

تعداد صفحات

239

زبان

انگلیسی

فرمت

pdf

حجم

4.2MB

موضوع

Programming: Programming Languages