Free Book Online
Book Instant Flask Web Development by Ron DuPlain (2013-08-26)


Instant Flask Web Development by Ron DuPlain (2013-08-26)

4.3 (2325)

Log in to rate this item

    Available in PDF - DJVU Format | Instant Flask Web Development by Ron DuPlain (2013-08-26).pdf | Language: UNKNOWN
    Ron DuPlain(Author)

    Book details

Sorry, description is temporarily unavailable.

3.2 (8630)
  • Pdf

*An electronic version of a printed book that can be read on a computer or handheld device designed specifically for this purpose.

Formats for this Ebook

Required Software Any PDF Reader, Apple Preview
Supported Devices Windows PC/PocketPC, Mac OS, Linux OS, Apple iPhone/iPod Touch.
# of Devices Unlimited
Flowing Text / Pages Pages
Printable? Yes

Book details

  • PDF | Unknown pages
  • Ron DuPlain(Author)
  • Packt Publishing (1862)
  • Unknown
  • 4
  • Other books

Read online or download a free book: Instant Flask Web Development by Ron DuPlain (2013-08-26)


Review Text

  • By Peter Briggs on December 9, 2013

    "Instant Flask Web Development" by Ron DuPlain is intended to be an introduction to Flask, a lightweight web application framework written in Python and based on the Werkzeug WSGI toolkit and Jinja2 template engine.The book takes a tutorial style approach, building up an example appointment-management web application using Flask and introducing various features of the framework on the way. As the example application becomes more complicated, additional Python packages are covered which are not part of the Flask framework (for example SQLAlchemy for managing interactions with a database backend, and WTForm for handling form generation and validation) along with various Flask extensions that can be used for more complicated tasks (for example managing user logins and sessions). The final section of the book gives an overview of how to deploy the application in a production environment, using gunicorn (a Python WSGI server) and nginx.Given its length (just short of 70 pages) the book is quite ambitious in the amount of ground that it attempts to cover, and it's quite impressive how much the author has managed to pack in whilst maintaining a light touch with the material. So while inevitably there is a limit to the level of detail that can be fitted in, there are some excellent and concise overviews of many of the topics that could act as excellent starting points for more experienced developers (for me the section on SQLAlchemy is a particular highlight). Overall the pacing of the book is also quite sprightly and conveys a sense of how quickly and easily Flask could be used to build a web application from scratch.The flipside of the book's brevity is that it cannot possibly contain everything that a developer needs to know (although this is mitigated to some extent by extensive references to online documentation and resources). In this regard it is really more a showcase for Flask, and is best viewed as a good starting point for someone wishing to quickly get up to speed with the framework's potential. I'd also question how suitable this is for newcomers to either Python, or to web programming in general - I felt that some of the concepts and example code (for example the sudden appearance of a feature implemented using Ajax) might be a bit of a stretch for a novice. Also there are some occasional frustrating glitches in the text and example code which meant it took a bit of additional reading and debugging in places to get the example application working in practice.In summary then: I'd recommend this book as a good starting point for developers who already have some familiarity with web application development, and who are interested in a quick introduction to the key components of Flask and how they're used - with the caveat that you will most likely have to refer to other resources to get the most out of it.Disclosure: a free e-copy of this book was received from the publisher for review purposes. The opinions expressed here are entirely my own.

  • By Vince S on November 5, 2013

    The Flask web application framework([...] is written in Python and is based on the Werkzeug toolkit, using Jinja2 to create templates. Flask is considered a micro framework as it keeps the core of the framework small and simple while allowing it to be extended as much as the user wishes. Instant Flask Web Development ([...] is written by Ron DePlain who has been a core contributor to the Flask project. In the book he explains the core functions of the framework by building a complete application in the form of a web based appointment calendar.Just as Flask is a micro framework, the book gets straight to the point attempting to get the readers feet wet and programming as quickly as possible. The book is set up in three distinct sections, building from Simple topics, to Intermediate to then on to Advanced.Simple topics begin with getting the user to prepare the development area providing a view of virtualenv, pip and python and then kicks off building the application by setting up your urls. It then covers how Flask handles requests, working with static files and databases, creating forms and file uploads. It then gives a brief overview of Jinja2 to start creating templates for the environment. The intermediate topics then dive further into the application framework demonstrating how to create new records in web forms, displaying the records and editing records.The advanced topics then cover how to extend the framework by using JavaScript to trigger delete requests, using custom templates, authenticating users and user sessions. The final topic runs through deploying your completed application to the world using HTTP proxying.To get the most out of this book, it does help for you to have at least a little knowledge of Python([...] and how websites work. By creating a complete application from start to finish, it covers a wide range of topics that you would most likely use in setting up a similar project or application.In some of the earlier chapters it does run a little off topics, by moving away from the main application you are building, which can become confusing. Due to the fast pace of the book, it can become a little confusing which file you need to work with at which point.I have found this book to be a great place to get started with Flask programming as it gets straight to the point and does not try to complicate things by going too far in depth in each of the topics. The application built is a good example of the framework and although the book feels like a quick reference to get you started, it does give enough information to extend the framework and move on to create you own Flask applications.

  • Name:
    The message text*: