Mastering Flask

Nonfiction, Computers, Internet, Web Development, Programming, Programming Languages
Cover of the book Mastering Flask by Jack Stouffer, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Jack Stouffer ISBN: 9781784391928
Publisher: Packt Publishing Publication: September 30, 2015
Imprint: Packt Publishing Language: English
Author: Jack Stouffer
ISBN: 9781784391928
Publisher: Packt Publishing
Publication: September 30, 2015
Imprint: Packt Publishing
Language: English

Gain expertise in Flask to create dynamic and powerful web applications

About This Book

  • Work with scalable Flask application structures to create complex web apps
  • Discover the most powerful Flask extensions and learn how to create one
  • Deploy your application to real-world platforms using this step-by-step guide

Who This Book Is For

If you are a Flask user who knows the basics of the library and how to create basic web pages with HTML and CSS, and you want to take your applications to the next level, this is the book for you. Harnessing the full power of Flask will allow you to create complex web applications with ease.

What You Will Learn

  • Set up a best practices Python environment
  • Use SQLAlchemy to programmatically query a database
  • Develop templates in Jinja
  • Set up an MVC environment for Flask
  • Discover NoSQL, when to use it, when not to, and how to use it
  • Develop a custom Flask extension
  • Use Celery to create asynchronous tasks

In Detail

Flask is a library that allows programmers to create web applications in Python. Flask is a micro-framework that boasts a low learning curve, a large community, and the power to create complex web apps. However, Flask is easy to learn but difficult to master.

Starting from a simple Flask app, this book will walk through advanced topics while providing practical examples of the lessons learned. After building a simple Flask app, a proper app structure is demonstrated by transforming the app to use a Model-View-Controller (MVC) architecture. With a scalable structure in hand, the next chapters use Flask extensions to provide extra functionality to the app, including user login and registration, NoSQL querying, a REST API, an admin interface, and more. Next, you’ll discover how to use unit testing to take the guesswork away from making sure the code is performing as it should. The book closes with a discussion of the different platforms that are available to deploy a Flask app on, the pros and cons of each one, and how to deploy on each one.

Style and approach

With plenty of useful examples, this guide introduces new concepts and then shows you how those concepts can be used in a real-world environment. Most sections are based around a single example app that is developed throughout the book.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Gain expertise in Flask to create dynamic and powerful web applications

About This Book

Who This Book Is For

If you are a Flask user who knows the basics of the library and how to create basic web pages with HTML and CSS, and you want to take your applications to the next level, this is the book for you. Harnessing the full power of Flask will allow you to create complex web applications with ease.

What You Will Learn

In Detail

Flask is a library that allows programmers to create web applications in Python. Flask is a micro-framework that boasts a low learning curve, a large community, and the power to create complex web apps. However, Flask is easy to learn but difficult to master.

Starting from a simple Flask app, this book will walk through advanced topics while providing practical examples of the lessons learned. After building a simple Flask app, a proper app structure is demonstrated by transforming the app to use a Model-View-Controller (MVC) architecture. With a scalable structure in hand, the next chapters use Flask extensions to provide extra functionality to the app, including user login and registration, NoSQL querying, a REST API, an admin interface, and more. Next, you’ll discover how to use unit testing to take the guesswork away from making sure the code is performing as it should. The book closes with a discussion of the different platforms that are available to deploy a Flask app on, the pros and cons of each one, and how to deploy on each one.

Style and approach

With plenty of useful examples, this guide introduces new concepts and then shows you how those concepts can be used in a real-world environment. Most sections are based around a single example app that is developed throughout the book.

More books from Packt Publishing

Cover of the book Penetration Testing with Shellcode by Jack Stouffer
Cover of the book Practical Data Analysis by Jack Stouffer
Cover of the book Instant Autodesk Revit 2013 Customization with .NET How-to by Jack Stouffer
Cover of the book Apache Maven Cookbook by Jack Stouffer
Cover of the book Designing Purpose-Built Drones for Ardupilot Pixhawk 2.1 by Jack Stouffer
Cover of the book Effective Robotics Programming with ROS - Third Edition by Jack Stouffer
Cover of the book Learning ArcGIS Pro by Jack Stouffer
Cover of the book Ionic Framework By Example by Jack Stouffer
Cover of the book Unity 5.x Cookbook by Jack Stouffer
Cover of the book Symfony2 Essentials by Jack Stouffer
Cover of the book Moodle 2.0 Multimedia Cookbook by Jack Stouffer
Cover of the book Raspberry Pi for Python Programmers Cookbook - Second Edition by Jack Stouffer
Cover of the book Instant Nginx Starter by Jack Stouffer
Cover of the book Microsoft Team Foundation Server 2015 Cookbook by Jack Stouffer
Cover of the book HDInsight Essentials by Jack Stouffer
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy