Cargando…

Flask blueprints : dive into the world of the Flask microframework to develop an array of web applications /

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 soc...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Perras, Joël (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Ii 4500
001 OR_ocn932304548
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 151216s2015 enka o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d DEBBG  |d DEBSZ  |d VT2  |d OCLCF  |d CEF  |d OCLCQ  |d WYU  |d UAB  |d RDF  |d N$T  |d NLW  |d UKMGB  |d OCLCO  |d DST  |d OCLCO  |d OCLCQ 
015 |a GBC1J1197  |2 bnb 
016 7 |a 018007280  |2 Uk 
020 |a 1784397342 
020 |a 1784394785 
020 |a 9781784394783 
020 |a 9781784397340  |q (electronic bk.) 
029 1 |a DEBBG  |b BV043968472 
029 1 |a DEBSZ  |b 48578971X 
029 1 |a GBVCP  |b 882848070 
029 1 |a AU@  |b 000067100924 
029 1 |a UKMGB  |b 018007280 
035 |a (OCoLC)932304548 
037 |a CL0500000691  |b Safari Books Online 
050 4 |a QA76.76.S63 
082 0 4 |a 005.1  |2 23 
049 |a UAMI 
100 1 |a Perras, Joël,  |e author. 
245 1 0 |a Flask blueprints :  |b dive into the world of the Flask microframework to develop an array of web applications /  |c Joël Perras. 
264 1 |a Birmingham, UK :  |b Packt Publishing,  |c 2015. 
300 |a 1 online resource :  |b illustrations. 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a Community experience distilled 
588 0 |a Online resource; title from cover page (Safari, viewed December 15, 2015). 
500 |a Includes index. 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Starting on the Right Foot -- Using Virtualenv; Setuptools and pip; Avoiding dependency hell, the Python way; Working with virtualenv; Creating a new virtual environment; Activating and deactivating virtual environments; Adding packages to an existing environment; Uninstalling packages from an existing environment; Simplifying common operations -- using the virtualenvwrapper tool; Summary; Chapter 2: Small to Big -- Growing the Flask Application Structure 
505 8 |a Your first Flask application structureFrom module to package; From package to blueprint; Our first blueprint; Summary; Chapter 3: Snap -- the Code Snippet Sharing Application; Getting started; Flask-SQLAlchemy; Configuring Flask-SQLAlchemy; SQLAlchemy basics; Snap data models; Flask-Login and Flask-Bcrypt for authentication; Flask-WTF -- form validation and rendering; Hashing user passwords; Configure an application SECRET_KEY; Hook up the blueprint; Let's run this thing; The data model for snaps; Better defaults with content-sensitive default functions; Snap view handlers; Summary 
505 8 |a Chapter 4: Socializer -- the Testable TimelineStarting off; Application factories; The application context; Instantiating an app object; Unit and functional testing; Social features -- friends and followers; Functional and integration testing; Publish/subscribe events with Blinker; Signals from Flask and extensions; Creating custom signals; Graceful handling of exceptions; Functional testing; Your newsfeed; Summary; Chapter 5: Shutterbug, the Photo Stream API; Starting off; The application factory; Interlude -- Werkzeug; Simple APIs with Flask-RESTful 
505 8 |a Improved password handling with hybrid attributesAPI authentication; Authentication protocols; Getting users; Creating new users; API testing; Interlude -- Werkzeug middlewares; Back to Shutterbug -- uploading photos; Testing the photo uploads; Fetching the user's photos; Summary; Chapter 6: Hublot -- Flask CLI Tools; Starting off; The manage.py file; The built-in default commands; The Flask-Script commands across Blueprints; Submanagers; The required and optional arguments; Flask extensions -- the basics; When should an extension be used?; Our extension -- GitHubber; Summary 
505 8 |a Chapter 7: Dinnerly -- Recipe SharingFirst OAuth; Why use OAuth?; Terminology; So what's wrong with OAuth 1.0?; Three-legged authorization; Setting up the application; Declaring our models; Handling OAuth in our views; Creating recipes; Posting recipes to Twitter and Facebook; SQLAlchemy events; Finding common friends; Interlude -- database migrations; Alembic; Summary; Index 
520 |a 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... 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Software frameworks. 
650 0 |a Web applications  |x Development. 
650 0 |a Python (Computer program language) 
650 6 |a Cadres d'applications (Informatique) 
650 6 |a Applications Web  |x Développement. 
650 6 |a Python (Langage de programmation) 
650 7 |a COMPUTERS.  |x Web  |x Web Programming.  |2 bisacsh 
650 7 |a COMPUTERS.  |x Web  |x General.  |2 bisacsh 
650 7 |a Python (Computer program language)  |2 fast  |0 (OCoLC)fst01084736 
650 7 |a Software frameworks.  |2 fast  |0 (OCoLC)fst01910199 
830 0 |a Community experience distilled. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781784394783/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a EBSCOhost  |b EBSC  |n 1104628 
994 |a 92  |b IZTAP