Flask Web Development, 2nd Edition Год издания: 2018 Автор: Miguel Grinberg Жанр или тематика: Компьютерная литература Издательство: O'Reilly ISBN: 978-1-491-99173-2 Язык: Английский Формат: PDF Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Нет Количество страниц: 406 Описание: Take full creative control of your web applications with Flask, the Python-based microframework. With the second edition of this hands-on book, you’ll learn Flask from the ground up by developing a complete, real-world application created by author Miguel Grinberg. This refreshed edition accounts for important technology changes that have occurred in the past three years. Explore the framework’s core functionality, and learn how to extend applications with advanced web techniques such as database migrations and an application programming interface. The first part of each chapter provides you with reference and background for the topic in question, while the second part guides you through a hands-on implementation. If you have Python experience, you’re ready to take advantage of the creative freedom Flask provides. Three sections include: A thorough introduction to Flask: explore web application development basics with Flask and an application structure appropriate for medium and large applications Building Flasky: learn how to build an open source blogging application step-by-step by reusing templates, paginating item lists, and working with rich text Going the last mile: dive into unit testing strategies, performance analysis techniques, and deployment options for your Flask application
Примеры страниц
Оглавление
Part I, Introduction to Flask, explores the basics of web application development with the Flask framework and some of its extensions: Chapter 1 describes the installation and setup of the Flask framework. Chapter 2 dives straight into Flask with a basic application. Chapter 3 introduces the use of templates in Flask applications. Chapter 4 introduces web forms. Chapter 5 introduces databases. Chapter 6 introduces email support. Chapter 7 presents an application structure that is appropriate for medium and large applications. Part II, Example: A Social Blogging Application, builds Flasky, the open source blogging and social networking application that I developed for this book: Chapter 8 implements a user authentication system. Chapter 9 implements user roles and permissions. Chapter 10 implements user profile pages. Chapter 11 creates the blogging interface. Chapter 12 implements followers. Chapter 13 implements user comments for blog posts. Chapter 14 implements an application programming interface (API). Part III, The Last Mile, describes some important tasks not directly related to application coding that need to be considered before publishing an application: Chapter 15 describes different unit testing strategies in detail. Chapter 16 gives an overview of performance analysis techniques. Chapter 17 describes deployment options for Flask applications, including traditional, cloud-based, and container-based solutions. Chapter 18 lists additional resources.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum