Learn Web Development with Python
- Length: 796 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-12-21
- ISBN-10: 1789953294
- ISBN-13: 9781789953299
- Sales Rank: #147231 (See Top 100 Books)
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