Book Description
A comprehensive guide to Python programming for web development using the most popular Python web framework – Django
Key Features
- Learn the fundamentals of programming with Python and building web apps
- Build web applications from scratch with Django
- Create real-world RESTful web services with the latest Django framework
Book Description
If you want to develop complete Python web apps with Django, this Learning Path is for you. It will walk you through Python programming techniques and guide you in implementing them when creating 4 professional Django projects, teaching you how to solve common problems and develop RESTful web services with Django and Python. You will learn how to build a blog application, a social image bookmarking website, an online shop, and an e-learning platform.
Learn Web Development with Python will get you started with Python programming techniques, show you how to enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects. Last but not least, you’ll learn the best practices for creating real-world applications.
By the end of this Learning Path, you will have a full understanding of how Django works and how to use it to build web applications from scratch.
This Learning Path includes content from the following Packt products:
- Learn Python Programming by Fabrizio Romano
- Django RESTful Web Services by Gaston C. Hillar
- Django Design Patterns and Best Practices by Arun Ravindran
What you will learn
- Explore the fundamentals of Python programming with interactive projects
- Grasp essential coding concepts along with the basics of data structures and control flow
- Develop RESTful APIs from scratch with Django and the Django REST Framework
- Create automated tests for RESTful web services
- Debug, test, and profile RESTful web services with Django and the Django REST Framework
- Use Django with other technologies such as Redis and Celery
Who this book is for
If you have little experience in coding or Python and want to learn how to build full-fledged web apps, this Learning Path is for you. No prior experience with RESTful web services, Python, or Django is required, but basic Python programming experience is needed to understand the concepts covered.
Table of Contents
- A Gentle Introduction to Python
- Built-in Data Types
- Iterating and Making Decisions
- Functions, the Building Blocks of Code
- Saving Time and Memory
- OOP, Decorators, and Iterators
- Files and Data Persistence
- Testing, Profiling, and Dealing with Exceptions
- Concurrent Execution
- Debugging and Troubleshooting
- Installing the Required Software and Tools
- Working with Models, Migrations, Serialization, and Deserialization
- Creating API Views
- Using Generalized Behavior from the APIView Class
- Understanding and Customizing the Browsable API Feature
- Using Constraints, Filtering, Searching, Ordering, and Pagination
- Securing the API with Authentication and Permissions
- Applying Throttling Rules and Versioning Management
- Automating Tests
- Solutions
- Templates
- Admin Interface
- Forms
- Security
- Working Asynchronously
- Creating APIs
- Production-Ready
中文:
书名:Learn Web Development with Python
使用最流行的Python Web框架进行Web开发的Python编程的综合指南
Key Features
- 了解使用Python编程和构建Web应用程序的基础知识
- 使用Django从头开始构建Web应用程序
- Create real-world RESTful web services with the latest Django framework
图书描述
如果你想用Django开发完整的Python Web应用程序,这条学习之路是为你准备的。在创建4个专业的Django项目时,它将带您了解Python编程技术,并指导您实现它们,教您如何解决常见问题,并使用Django和Python开发REST风格的Web服务。您将学习如何构建博客应用程序、社会形象书签网站、在线商店和电子学习平台。
学习使用Python进行Web开发将帮助您开始使用Python编程技术,向您展示如何使用AJAX增强您的应用程序,创建REST风格的API,并为您的Django项目设置生产环境。最后但同样重要的是,您将学习创建实际应用程序的最佳实践。
学习完本课程后,您将完全了解Django是如何工作的,以及如何使用它从头开始构建Web应用程序。
本学习途径包括来自以下Packt产品的内容:
- Learn Python Programming by Fabrizio Romano
- Django RESTful Web Services by Gaston C. Hillar
- Arun Ravindran的Django设计模式和最佳实践
你将学到什么
- 通过交互式项目探索Python编程的基础知识
- 掌握基本的编码概念以及数据结构和控制流的基础知识
- 使用Django和Django REST框架从头开始开发REST风格的API
- Create automated tests for RESTful web services
- 使用Django和Django REST框架调试、测试和评测REST风格的Web服务
- Use Django with other technologies such as Redis and Celery
Who this book is for
如果你对编程或Python几乎没有经验,并且想学习如何构建成熟的Web应用程序,这条学习之路是为你准备的。以前不需要使用REST风格的Web服务、Python或Django的经验,但需要基本的Python编程经验才能理解本文介绍的概念。
目录表
- A Gentle Introduction to Python
- 内置数据类型
- 迭代并做出决策
- Functions, the Building Blocks of Code
- 节省时间和内存
- OOP、修饰器和迭代器
- 文件和数据持久性
- Testing, Profiling, and Dealing with Exceptions
- Concurrent Execution
- 调试和故障排除
- Installing the Required Software and Tools
- 使用模型、迁移、序列化和反序列化
- 创建API视图
- 使用APIView类中的泛化行为
- 了解和定制可浏览的API功能
- 使用约束、筛选、搜索、排序和分页
- 使用身份验证和权限保护API
- 应用限制规则和版本化管理
- Automating Tests
- Solutions
- Templates
- Admin Interface
- Forms
- Security
- Working Asynchronously
- Creating APIs
- Production-Ready
评论前必须登录!
注册