舉報

會員
Building RESTful Python Web Services
ThisbookisforwebdeveloperswhohaveworkingknowledgeofPythonandwouldliketobuildamazingwebservicesbytakingadvantageofthevariousframeworksofPython.YoushouldhavesomeknowledgeofRESTfulAPIs.
最新章節
- Chapter 10 Working with Asynchronous Code Testing and Deploying an API with Tornado
- Chapter 9 Developing RESTful APIs with Tornado
- Chapter 8 Testing and Deploying an API with Flask
- Chapter 7 Improving and Adding Authentication to an API with Flask
- Chapter 6 Working with Models SQLAlchemy and Hyperlinked APIs in Flask
- Chapter 5 Developing RESTful APIs with Flask
品牌:中圖公司
上架時間:2021-08-20 09:49:05
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Chapter 10 Working with Asynchronous Code Testing and Deploying an API with Tornado 更新時間:2021-08-20 10:24:50
- Chapter 9 Developing RESTful APIs with Tornado
- Chapter 8 Testing and Deploying an API with Flask
- Chapter 7 Improving and Adding Authentication to an API with Flask
- Chapter 6 Working with Models SQLAlchemy and Hyperlinked APIs in Flask
- Chapter 5 Developing RESTful APIs with Flask
- Chapter 4 Throttling Filtering Testing and Deploying an API with Django
- Chapter 3 Improving and Adding Authentication to an API With Django
- Chapter 2 Working with Class-Based Views and Hyperlinked APIs in Django
- Chapter 1 Developing RESTful APIs with Django
- Chapter 11. Exercise Answers
- Summary
- Test your knowledge
- Other Python Web frameworks for building RESTful APIs
- Improving testing coverage
- Running unit tests with nose2 and checking testing coverage
- Writing a first round of unit tests
- Setting up unit tests
- Making HTTP requests to the Tornado non-blocking API
- Mapping URL patterns to asynchronous request handlers
- Refactoring code to take advantage of asynchronous decorators
- Understanding synchronous and asynchronous execution
- Chapter 10. Working with Asynchronous Code Testing and Deploying an API with Tornado
- Summary
- Test your knowledge
- Making HTTP requests to the Tornado API
- Mapping URL patterns to request handlers
- Writing request handlers
- Creating the classes that represent a drone
- Declaring status codes for the responses
- Setting up a virtual environment with Tornado
- Understanding the tasks performed by each HTTP method
- Designing a RESTful API to interact with slow sensors and actuators
- Chapter 9. Developing RESTful APIs with Tornado
- Summary
- Test your knowledge
- Understanding strategies for deployments and scalability
- Improving testing coverage
- Running unit tests with nose2 and checking testing coverage
- Writing a first round of unit tests
- Setting up unit tests
- Chapter 8. Testing and Deploying an API with Flask
- Summary
- Test your knowledge
- Composing requests with the necessary authentication
- Running migrations to generate the user table
- Creating resource classes to handle users
- Adding authentication to resources
- Creating a schemas to validate serialize and deserialize users
- Adding a user model
- Understanding the steps to add authentication and permissions
- Adding pagination features
- Coding a generic pagination class
- Updating fields for a resource with the PATCH method
- Improving unique constraints in the models
- Chapter 7. Improving and Adding Authentication to an API with Flask
- Summary
- Test your knowledge
- Creating and retrieving related resources
- Registering the blueprint and running migrations
- Combining blueprints with resourceful routing
- Creating schemas to validate serialize and deserialize models
- Creating models with their relationships
- Creating and configuring the database
- Installing packages to simplify our common tasks
- Understanding the tasks performed by each HTTP method
- Designing a RESTful API to interact with a PostgreSQL database
- Chapter 6. Working with Models SQLAlchemy and Hyperlinked APIs in Flask
- Summary
- Test your knowledge
- Making HTTP requests to the Flask API
- Configuring resource routing and endpoints
- Working with resourceful routing on top of Flask pluggable views
- Configuring output fields
- Using a dictionary as a repository
- Creating the model
- Declaring status codes for the responses
- Setting up a virtual environment with Flask and Flask-RESTful
- Understanding the tasks performed by each HTTP method
- Designing a RESTful API to interact with a simple data source
- Chapter 5. Developing RESTful APIs with Flask
- Summary
- Test your knowledge
- Understanding strategies for deployments and scalability
- Improving testing coverage
- Running unit tests and checking testing coverage
- Writing a first round of unit tests
- Setting up unit tests
- Filtering searching and ordering in the Browsable API
- Testing filtering searching and ordering
- Configuring filtering searching and ordering for views
- Understanding filtering searching and ordering classes
- Testing throttling policies
- Configuring throttling policies
- Understanding throttling classes
- Chapter 4. Throttling Filtering Testing and Deploying an API with Django
- Summary
- Test your knowledge
- Browsing the API with authentication credentials
- Composing requests with the necessary authentication
- Setting a default value for a new required field in migrations
- Configuring permission policies
- Persisting the user that makes a request
- Creating a customized permission class for object-level permissions
- Adding security-related data to the models
- Understanding authentication permissions and throttling
- Customizing pagination classes
- Taking advantage of pagination
- Updating a single field for a resource with the PATCH method
- Adding unique constraints to the models
- Chapter 3. Improving and Adding Authentication to an API With Django
- Summary
- Test your knowledge
- Creating and retrieving related resources
- Working with endpoints for the API
- Taking advantage of generic class based views
- Creating class-based views and using generic classes
- Managing serialization and deserialization with relationships and hyperlinks
- Declaring relationships with the models
- Understanding the tasks performed by each HTTP method
- Designing a RESTful API to interact with a complex PostgreSQL database
- Browsing the API
- Using the default parsing and rendering options and move beyond JSON
- Working with wrappers to write API views
- Using model serializers to eliminate duplicate code
- Chapter 2. Working with Class-Based Views and Hyperlinked APIs in Django
- Summary
- Test your knowledge
- Making HTTP requests to the API
- Writing API views
- Managing serialization and deserialization
- Creating the models
- Setting up the virtual environment with Django REST framework
- Working with lightweight virtual environments
- Understanding the tasks performed by each HTTP method
- Designing a RESTful API to interact with a simple SQLite database
- Chapter 1. Developing RESTful APIs with Django
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Why subscribe?
- www.PacktPub.com
- About the Reviewer
- Acknowledgments
- About the Author
- Credits
- 版權頁
- 封面
- 封面
- 版權頁
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- www.PacktPub.com
- Why subscribe?
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Developing RESTful APIs with Django
- Designing a RESTful API to interact with a simple SQLite database
- Understanding the tasks performed by each HTTP method
- Working with lightweight virtual environments
- Setting up the virtual environment with Django REST framework
- Creating the models
- Managing serialization and deserialization
- Writing API views
- Making HTTP requests to the API
- Test your knowledge
- Summary
- Chapter 2. Working with Class-Based Views and Hyperlinked APIs in Django
- Using model serializers to eliminate duplicate code
- Working with wrappers to write API views
- Using the default parsing and rendering options and move beyond JSON
- Browsing the API
- Designing a RESTful API to interact with a complex PostgreSQL database
- Understanding the tasks performed by each HTTP method
- Declaring relationships with the models
- Managing serialization and deserialization with relationships and hyperlinks
- Creating class-based views and using generic classes
- Taking advantage of generic class based views
- Working with endpoints for the API
- Creating and retrieving related resources
- Test your knowledge
- Summary
- Chapter 3. Improving and Adding Authentication to an API With Django
- Adding unique constraints to the models
- Updating a single field for a resource with the PATCH method
- Taking advantage of pagination
- Customizing pagination classes
- Understanding authentication permissions and throttling
- Adding security-related data to the models
- Creating a customized permission class for object-level permissions
- Persisting the user that makes a request
- Configuring permission policies
- Setting a default value for a new required field in migrations
- Composing requests with the necessary authentication
- Browsing the API with authentication credentials
- Test your knowledge
- Summary
- Chapter 4. Throttling Filtering Testing and Deploying an API with Django
- Understanding throttling classes
- Configuring throttling policies
- Testing throttling policies
- Understanding filtering searching and ordering classes
- Configuring filtering searching and ordering for views
- Testing filtering searching and ordering
- Filtering searching and ordering in the Browsable API
- Setting up unit tests
- Writing a first round of unit tests
- Running unit tests and checking testing coverage
- Improving testing coverage
- Understanding strategies for deployments and scalability
- Test your knowledge
- Summary
- Chapter 5. Developing RESTful APIs with Flask
- Designing a RESTful API to interact with a simple data source
- Understanding the tasks performed by each HTTP method
- Setting up a virtual environment with Flask and Flask-RESTful
- Declaring status codes for the responses
- Creating the model
- Using a dictionary as a repository
- Configuring output fields
- Working with resourceful routing on top of Flask pluggable views
- Configuring resource routing and endpoints
- Making HTTP requests to the Flask API
- Test your knowledge
- Summary
- Chapter 6. Working with Models SQLAlchemy and Hyperlinked APIs in Flask
- Designing a RESTful API to interact with a PostgreSQL database
- Understanding the tasks performed by each HTTP method
- Installing packages to simplify our common tasks
- Creating and configuring the database
- Creating models with their relationships
- Creating schemas to validate serialize and deserialize models
- Combining blueprints with resourceful routing
- Registering the blueprint and running migrations
- Creating and retrieving related resources
- Test your knowledge
- Summary
- Chapter 7. Improving and Adding Authentication to an API with Flask
- Improving unique constraints in the models
- Updating fields for a resource with the PATCH method
- Coding a generic pagination class
- Adding pagination features
- Understanding the steps to add authentication and permissions
- Adding a user model
- Creating a schemas to validate serialize and deserialize users
- Adding authentication to resources
- Creating resource classes to handle users
- Running migrations to generate the user table
- Composing requests with the necessary authentication
- Test your knowledge
- Summary
- Chapter 8. Testing and Deploying an API with Flask
- Setting up unit tests
- Writing a first round of unit tests
- Running unit tests with nose2 and checking testing coverage
- Improving testing coverage
- Understanding strategies for deployments and scalability
- Test your knowledge
- Summary
- Chapter 9. Developing RESTful APIs with Tornado
- Designing a RESTful API to interact with slow sensors and actuators
- Understanding the tasks performed by each HTTP method
- Setting up a virtual environment with Tornado
- Declaring status codes for the responses
- Creating the classes that represent a drone
- Writing request handlers
- Mapping URL patterns to request handlers
- Making HTTP requests to the Tornado API
- Test your knowledge
- Summary
- Chapter 10. Working with Asynchronous Code Testing and Deploying an API with Tornado
- Understanding synchronous and asynchronous execution
- Refactoring code to take advantage of asynchronous decorators
- Mapping URL patterns to asynchronous request handlers
- Making HTTP requests to the Tornado non-blocking API
- Setting up unit tests
- Writing a first round of unit tests
- Running unit tests with nose2 and checking testing coverage
- Improving testing coverage
- Other Python Web frameworks for building RESTful APIs
- Test your knowledge
- Summary
- Chapter 11. Exercise Answers
- Chapter 1 Developing RESTful APIs with Django
- Chapter 2 Working with Class-Based Views and Hyperlinked APIs in Django
- Chapter 3 Improving and Adding Authentication to an API With Django
- Chapter 4 Throttling Filtering Testing and Deploying an API with Django
- Chapter 5 Developing RESTful APIs with Flask
- Chapter 6 Working with Models SQLAlchemy and Hyperlinked APIs in Flask
- Chapter 7 Improving and Adding Authentication to an API with Flask
- Chapter 8 Testing and Deploying an API with Flask
- Chapter 9 Developing RESTful APIs with Tornado
- Chapter 10 Working with Asynchronous Code Testing and Deploying an API with Tornado 更新時間:2021-08-20 10:24:50