Flask Framework Cookbook(Second Edition)
Flask,thelightweightPythonwebframework,ispopularduetoitspowerfulmodulardesignthatletsyoubuildscalablewebapps.Withthisrecipe-basedguide,you’llexploremodernsolutionsandbestpracticesforFlaskwebdevelopment.UpdatedtothelatestversionofFlaskandPython3,thissecondeditionofFlaskFrameworkCookbookmovesawayfromsomeoftheoldandobsoletelibrariesandintroducesrecipesonbleedingedgetechnologies.You’lldiscoverdifferentwaysofusingFlasktocreate,deploy,andmanagemicroservices.ThisFlaskPythonbookstartsbycoveringthedifferentconfigurationsthataFlaskapplicationcanmakeuseof,andthenhelpsyouworkwithtemplatesandlearnabouttheORMandviewlayers.You’llalsobeabletowriteanadmininterfaceandgettogripswithdebuggingandloggingerrors.Finally,you’llgraspavarietyofdeploymentandpost-deploymenttechniquesforplatformssuchasApache,Tornado,andHeroku.Bytheendofthisbook,you’llhavegainedalltheknowledgeyouneedtowriteFlaskapplicationsinthebestpossiblewayandscalethemusingstandardindustrypractices.
·5.4萬字