Flask Blueprints 电子书下载
Dive into the world of the Flask microframework to develop an array of web applications
About This Book
• Structure, compose, and build powerful Flask HTML-based applications and JSON/XML-based APIs using advanced application design patterns
• Integrate third-party Flask extensions for tasks such as social authentication, sending emails, and interacting with databases and cache layers
• Build a series of Flask applications of increasing complexity
Who This Book Is For
If you are a Python web developer who has developed basic Flask applications and now wants to build a series of more complex web applications, then this is the book for you.
What You Will Learn
• Use the virtualenv Python package to effectively isolate your development environments
• Convert a simple one-file Flask application into a more full-fledged multi-package application
• Integrate Flask-Login for simple user authentication, Flask-WTF for forms, and Flask-SQLAlchemy for database interactions
• Explore URL routing and dispatching in a blueprint structured application
• Create your own signals and consume them within your application
• Learn to leverage Werkzeug, the WSGI library that powers much of Flask
• Implement custom exceptions for handling non-20x response codes
• Write your own CLI tools for administrative and development tasks of your Flask application using Flask-Script/Click
• Build your Flask extensions to encapsulate reusable behaviors across your applications
• Integrate your application with open source JavaScript-based graphing libraries to create simple data visualizations
In Detail
Flask is a small but powerful web development framework for Python. Though Flask is termed a micro-framework, it is no way lacking in functionality; there are many extensions available to Flask which helps it to function at the same level as other large frameworks such as Django and Ruby on Rails.
This book will demonstrate how to develop a series of web application projects with the Python web micro-framework, and leverage extensions and external Python libraries and APIs to extend the development of a variety of larger and more complex web applications.
The book will start by explaining Python`s Virtualenv library and how to create and switch between multiple virtual environments. You`ll first build an SQL database-backed application, which will use Flask-WTF, Flask-SQLAlchemy, Jinja templates, and other methods. Next you`ll move on to a timeline application, built using concepts including pytest-Flask, the Blinker package, data modelling for user timelines, exception handling, and creating and organizing CLI tools.
Moving on, you`ll discover how to implement a photo timeline application where you`ll explore topics such as writing and running celery tasks, API error handling and testing, and Werkzeug middlewares.
Finally, the book walks you through creating an application which fetches data from GitHub and stores it locally. You will also learn how to install and configure Flask-Click extension.
Style and approach
This book covers how to effectively use the Flask micro-framework to develop a series of web applications. Each chapter focusses on the development of an application increasing in complexity with easy steps to follow.
尊敬的读者:
欢迎您访问我们的网站。本站的初衷是为大家提供一个共享学习资料、交换知识的平台。每位用户都可以将文件上传至网盘并分享。
然而,随着用户上传的资料增多,我们发现部分不宜或版权问题的书籍被分享到了本站。
为此,我们已经关闭了分享入口,并进行了多次书籍审查,但仍有部分内容未能彻底审查到位。
在此,我们恳请广大读者与我们共同监督,如发现任何不宜内容,请 点击此处 进行举报,我们会第一时间处理并下架相关内容。
希望我们能共建一个文明社区!感谢您的理解与支持!
猜你喜欢
- 《幸运儿:晚清留美幼童的故事》利尔・莱博维茨/马修・米勒文字版 电子书下载
- 《负面情绪,正面解决:如何让情绪重归平和与稳定》利斯·范·萨斯特伦 /斯泰茜·科利诺 电子书下载
- 《用男人的思维跟男人谈恋爱》乖爷到 电子书下载
- Mapping with Drupal - Alan Palazzolo and Thomas Turnbull 电子书下载
- 《女佣的故事》斯蒂芬妮·兰德文字版 电子书下载
- 《超越时空 : 通过平行宇宙、时间卷曲和第十维度的科学之旅》加来道雄 电子书下载
- 《慢》米兰·昆德拉全新版 电子书下载
- 《心外传奇》李清晨 电子书下载
- 《我们内心的冲突+落差+这样和世界相处+凸法则(读自己心理阅读书系套装4册)》卡伦·霍妮山姆·洪恩 等 电子书下载
- 《“会”意江湖:基础会计通俗解读》王黎华文字版 电子书下载
- 《社交天性:人类社交的三大驱动力》马修·利伯曼文字版 电子书下载
- Real-World Software Development - Raoul-Gabriel Urma and Richard Warburton 电子书下载