Building web applications with flask use Python and Flask to build amazing web applications, just the way you want them!

If you are a Python web developer who wants to learn more about developing applications in Flask and scaling them with industry-standard practices, this is the book for you.

Detalles Bibliográficos
Otros Autores: Maia, Italo, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England ; Mumbai, [India] : Packt Publishing 2015.
Edición:1st edition
Colección:Community Experience Distilled
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629960306719
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Flask in a Flask, I Mean, Book; Summary; Chapter 2: First App, How Hard Could it Be?; Hello World; Prerequisites and tools; Setting up a virtual environment; Understanding the ""Hello World"" app; Serving HTML pages; Summary; Chapter 3: Man, Do I Like Templates!; What is Jinja2 and how is it coupled with Flask?; What can you do with Jinja2?; Control structures; Macros; Extensions; Filters; Messing with the template context; Summary
  • Chapter 4: Please Fill in This Form, MadamHTML forms for the faint of heart; Handling forms; WTForms and you; Flask-WTF; Integration with WTForms; Securing forms with a CSRF token; Challenges; Summary; Chapter 5: Where Do You Store Your Stuff?; SQLAlchemy; Concepts; Hands on; Flask-SQLAlchemy; MongoDB; MongoEngine; Flask-MongoEngine; Relational versus NoSQL; Summary; Chapter 6: But I Wanna REST Mom, Now!; Beyond GET; Flask-Restless; Summary; Chapter 7: If Ain't Tested, It Ain't Game, Bro!; What kinds of test are there?; Unit testing; Behavior testing; Flask-testing; LiveServer
  • Placing your code in a serverSetting up your database; Setting up the web server; StackOverflow; Structuring your projects; Summary; Postscript; Index