Cover image for Instant Flask Web Development.
Instant Flask Web Development.
Title:
Instant Flask Web Development.
Author:
DuPlain, Ron.
ISBN:
9781782169635
Personal Author:
Physical Description:
1 online resource (85 pages)
Contents:
Instant Flask Web Development -- Instant Flask Web Development -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Instant Flask Web Development -- Preparing for development (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Checklist for the development environment -- Common errors and how to solve them -- Running a simple application (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Project layout -- Development server -- Command-line interface with Flask-Script -- Routing URLs and accepting requests (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Handling HTTP methods -- An alternative to decorating functions -- Route collisions -- Routing with subdomains -- Handling requests and responses (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Before and after a request -- Handling static files (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Serving static files in production -- Hosting static files elsewhere -- Custom static file handler -- HTTP caching -- Directory index -- Using a database (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Querying with SQLAlchemy -- Production database -- Naming conventions -- Custom SQL -- Document stores and non-relational databases -- Handling forms and file uploads (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more...

Handling file uploads -- Templating with Jinja - setting a base template (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using a template engine other than Jinja -- Manage web packages with Bower -- Creating a new record (Intermediate) -- Getting ready -- How to do it... -- How it works... -- Displaying a record (Intermediate) -- Getting ready -- How to do it... -- How it works... -- Editing a record (Intermediate) -- Getting ready -- How to do it... -- How it works... -- Listing all records (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Database identifiers -- Deleting a record (Advanced) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Ajax -- Using custom template filters in Jinja (Advanced) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Additional filters -- Sending error responses (Simple) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Handling specific exceptions -- Flask's debugger -- Authenticating users (Advanced) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Appointment relationship -- Opening a session -- Database migration -- Authenticating with existing services -- Handling sessions and users (Intermediate) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Flashing messages -- Cross-site request forgery protection -- Deploying to the world (Advanced) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Handling static files with nginx -- Deployable on any OS with HTTP proxying -- Windows server deployment -- Other deployment options.
Abstract:
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. The book uses a bottom-up approach to help you build applications, and is full of step-by-step instructions and practical examples to help you improve your knowledge.Instant Flask Web Development is for developers who are new to web programming, or are familiar with web programming but new to Flask. This book gives you a head start if you have some beginner experience with Python and HTML, or are willing to learn.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: