舉報

會員
Flask Framework Cookbook
最新章節(jié):
Index
IfyouareawebdeveloperwhowantstolearnmoreaboutdevelopingapplicationsinFlaskandscalethemwithindustry-standardpractices,thisisthebookforyou.ThisbookwillalsoactasahandytoolifyouareawareofFlask'smajorextensionsandwanttomakethebestuseofthem.ItisassumedthatyouhaveknowledgeofPythonandabasicunderstandingofFlask.IfyouarecompletelynewtoFlask,readingthebookfromthefirstchapterandgoingforwardwillhelpingettingacquaintedwithFlaskasyougoahead.
目錄(121章)
倒序
- 封面
- 版權
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Flask Configurations
- Introduction
- Environment setup with virtualenv
- Handling basic configurations
- Class-based settings
- Organization of static files
- Being deployment specific with instance folders
- Composition of views and models
- Creating a modular web app with blueprints
- Making a Flask app installable using setuptools
- Chapter 2. Templating with Jinja2
- Introduction
- Bootstrap layout
- Block composition and layout inheritance
- Creating a custom context processor
- Creating a custom Jinja2 filter
- Creating a custom macro for forms
- Advanced date and time formatting
- Chapter 3. Data Modeling in Flask
- Introduction
- Creating a SQLAlchemy DB instance
- Creating a basic product model
- Creating a relational category model
- Database migration using Alembic and Flask-Migrate
- Model data indexing with Redis
- Opting the NoSQL way with MongoDB
- Chapter 4. Working with Views
- Introduction
- Writing function-based views and URL routes
- Class-based views
- URL routing and product-based pagination
- Rendering to templates
- Dealing with XHR requests
- Decorator to handle requests beautifully
- Creating custom 404 and 500 handlers
- Flashing messages for better user feedback
- SQL-based searching
- Chapter 5. Webforms with WTForms
- Introduction
- SQLAlchemy model data as form representation
- Validating fields on the server side
- Creating a common forms set
- Creating custom fields and validation
- Creating a custom widget
- Uploading files via forms
- Cross-site Request Forgery protection
- Chapter 6. Authenticating in Flask
- Introduction
- Simple session-based authentication
- Authenticating using the Flask-Login extension
- Using OpenID for authentication
- Using Facebook for authentication
- Using Google for authentication
- Using Twitter for authentication
- Chapter 7. RESTful API Building
- Introduction
- Creating a class-based REST interface
- Creating an extension-based REST interface
- Creating a SQLAlchemy-independent REST API
- A complete REST API example
- Chapter 8. Admin Interface for Flask Apps
- Introduction
- Creating a simple CRUD interface
- Using the Flask-Admin extension
- Registering models with Flask-Admin
- Creating custom forms and actions
- WYSIWYG for textarea integration
- Creating user roles
- Chapter 9. Internationalization and Localization
- Introduction
- Adding a new language
- Lazy evaluation and the gettext/ngettext functions
- Global language-switching action
- Chapter 10. Debugging Error Handling and Testing
- Introduction
- Setting up basic file logging
- Sending e-mails on the occurrence of errors
- Using Sentry to monitor exceptions
- Debugging with pdb
- Creating our first simple test
- Writing more tests for views and logic
- Nose library integration
- Using mocking to avoid real API access
- Determining test coverage
- Using profiling to find bottlenecks
- Chapter 11. Deployment and Post Deployment
- Introduction
- Deploying with Apache
- Deploying with uWSGI and Nginx
- Deploying with Gunicorn and Supervisor
- Deploying with Tornado
- Using Fabric for deployment
- S3 storage for file uploads
- Deploying with Heroku
- Deploying with AWS Elastic Beanstalk
- Application monitoring with Pingdom
- Application performance management and monitoring with New Relic
- Chapter 12. Other Tips and Tricks
- Introduction
- Full-text search with Whoosh
- Full-text search with Elasticsearch
- Working with signals
- Using caching with your application
- E-mail support for Flask applications
- Understanding asynchronous operations
- Working with Celery
- Index 更新時間:2021-08-05 17:17:41
推薦閱讀
- Java應用開發(fā)與實踐
- Mastering Python Scripting for System Administrators
- DevOps Automation Cookbook
- Python 3網(wǎng)絡爬蟲實戰(zhàn)
- Visual Basic程序設計與應用實踐教程
- PLC編程及應用實戰(zhàn)
- Visual C
- SQL基礎教程(視頻教學版)
- SQL基礎教程(第2版)
- Getting Started with Python and Raspberry Pi
- Python Social Media Analytics
- 例說FPGA:可直接用于工程項目的第一手經(jīng)驗
- C Primer Plus(第6版)中文版【最新修訂版】
- C語言程序設計教程
- Mastering Object:Oriented Python(Second Edition)
- Bitcoin Essentials
- Vue.js從入門到精通
- 高性能Java架構:核心原理與案例實戰(zhàn)
- 高性能Scala
- Java 8函數(shù)式編程
- Python測試驅(qū)動開發(fā):使用Django、Selenium和JavaScript進行Web編程(第2版)
- 實用卷積神經(jīng)網(wǎng)絡:運用Python實現(xiàn)高級深度學習模型
- 深入理解以太坊
- Python 3.7從零開始學
- Python Django開發(fā)實戰(zhàn)(視頻講解版)
- RESTful Web Services with Scala
- Learning Penetration Testing with Python
- 圖解網(wǎng)絡硬件
- Mastering Apache Cassandra
- Beginning React