实例介绍
This book will take you on a journey from learning about web development using Flask to building fully functional web applications. In the first major project, we develop a dynamic Headlines application that displays the latest news headlines along with up-to-date currency and weather information. I
Flask By Example Copyright o 2016 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews rt has been made in the preparation of this book to ensure the accuracy of the information presented However the information contained in this book is sold without warranty, cither express or implied. Neither the author nor Pacl Publishing and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published: March 2016 Production reference: 1220316 Published by packt publishing ltd Livery place 35 Livery street Birmingham b3 2PB, UK ISBN978-178528-693-3 www.packtpub.com Credits Author Project Coordinator Gareth Dwyer Shwetah Birwatkar Reviewers Proofreader Burhan Khalid Safis Editing Kyle roi Rahul shelke Indexer Rekha nair Commissioning editor Julian Urse Graphics Disha haria Acquisition Editor Kevin colaco Production coordinator Melwyn Ds Content Development Editor Kajal thapar Cover Work Melwyn D'sa Technical edito Kunal chaudhari Ravikiran pise Copy Editors Shruti lver Sonia mathur About the author Gareth Dwyer first heard the phrase, "behind every no-entry sign there is a door, a couple of decades ago, and he has been looking for a counterexample ever since He hasn't found one yet. Gareth grew up with his three siblings in Grahamstown, South Africa. There wasn't much there except some highly respected schools and a small university. Gareth had heard that school was an unpleasant and largely pointless experience, so he opted to skip it and go to the university instead. The university door had a no-entry sign on the door because it only accepted people who had gone to school. Gareth ignored the sign. He studied piano for a while but soon, he wondered if there was more to life than sitting in front of a keyboard all day. So he switched from piano to computer science, and it took him a while to realize the irony. He studied philosophy too because it was here that people never told him to stop being so argumentative Gareth noticed the disparagement that his philosophy and computer science departments felt towards each other, and he found it strange. He soon discovered that he wasn 't the first person to see that there was room for some common ground and he went to europe to study computational linguistics where he found other people who liked debating the finer points of language while talking about the three hardest problems of computer science (naming things, and off-by-one errors) In between doodling on blank paper while listening to very knowledgeable people lecture on content that was occasionally fascinating but often soporific, Gareth has gained so-called industry experience with companies such as amazon Web Services in Cape Town and mWr Infosecurity in Johannesburg. He has several years' experience in writing, and his favorite languages are English and Python He discovered that writing and writing a book are not fully overlapping experiences, and the former is hardly preparation for the latter. The pages that follow would not have come into existence without the combined efforts of many people Acknowledgements Thank you Neeshma and Kajal; you have been so very kind and patient in spite of my disrespect for deadlines. Your feedback on each chapter while I was writing and your suggestions that I try to keep to schedule have been invaluable. Thank you to everyone else at Packt Publishing who has been involved in this book, from its idea, through editing, through layout, through marketing, and all the nitty-gritty parts that the reader will never think about i'm looking forward to the next one already Thank you Alisa for listening, even when I complained about writing, and even when I was still complaining a year later Thank you Theresa, Stephanie, and Lewis for ensuring I don't go completely sane Thank you to all the lecturers and tutors at rhodes university who contributed to what i know and who i am Thank you ron for teaching me how to string words together and how commas work, and why some sentences sound nice and others don't Finally, thank you mom and Dad for teaching me everything else About the reviewers Burhan Khalid has always been tinkering with technology from his early days on the Xt to writing jCl on the IsPF editor, and from C and C++, Java, Pascal, and Cobol to his latest favorite, Python. As a lover of technology he is most comfortable experimenting with the next big technology stack By day he works in a multinational bank in the alternative Channels unit, where he gets to hack on, develop, and test applications that help execute transactions across all manner of electronic devices and channels. In addition to his work, he also contributes to open source projects, having released a few toolkits for transaction processing, and he offers consultancy services to startups on their technology stacks and development He is an avid volunteer; he is a mentor for Sirdab Lab(a startup accelerator) a frequent speaker at the local Google Developer's Group, a presenter and volunteer at StartupQ8(a startup community), and an active user on StackOverflow You can reach him on twitter burhan I would like to thank my mother and father for always encouraging me,my wife for putting up with my long days at the key board and my ever-growing gadget collection, and my friends and colleagues for providing me with new challenges to sharpen my skills Rahul shelke is a cofounder of My cute Office Pvt Ltd and Qpeka Technologies Pvt. Ltd. He also acts as an adviser for two other startups, and he helps startups in their growth Prior to starting his own venture, Rahul worked with Blisstering solutions for more than two years as a senior developer. He is an mtech in computer science. His practical experience for the last five years has been in web development cloud computing business intelligence, system performance optimization, and software architecture design and development He has been actively involved in open source contributions since graduation, and he has contributed to Python, Python-Flask, and Drupal First, i would like to thank the packt publishing team shweta h Birwatkar, and Gareth Dwyer, for giving me the opportunity to be a part of this project A special thanks to My Cute Office team whose support helped me manage work along with this book review i would also like to thank my family for supporting me during this process Finally, thanks to the countless support from Python-Flask's open source community for providing me with such an easy and fast web development framework Www.Packtpub.com eBooks discount offers and more Did you know that Packt offers e Book versions of every book published, with PDF andepuBfilesavailableYoucanupgradetotheebookversionatwww.Packtpub com and as a print book customer, you are entitled to a discount on the e Book copy. Get in touch with us at customercareapacktpub com for more details Atwww.packtpub.Com,youcanalsoreadacollectionoffreetechnicalarticlessign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and ebook PACKTLIB https://www2.packtpub.ccm/books/subscription/packtlib Do you need instant solutions to your lf questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books Why subscribe? Fully searchable across every book published by Packt Copy and paste, print, and bookmark content On demand and accessible via a web browser 【实例截图】
【核心代码】
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论