官术网_书友最值得收藏!

Preface

Django is one of the most popular web frameworks today. It powers large websites such as Pinterest, Instagram, Disqus, and NASA. With a few lines of code, you can rapidly build a functional and secure website that can scale to millions of users.

This is not a book about Gang of Four design patterns.

Instead, it explains solutions to several common design problems faced by Django developers. Sometimes there are several solutions, but we tend to seek recommended approach. Experienced developers frequently use certain idioms, while deliberately avoiding certain others.

This book is a collection of such patterns and insights. It is organized into chapters each covering a key area of the framework, such as models, or an aspect of web development, such as debugging. The focus is on building clean, modular, and more maintainable code.

Every attempt has been made to present up-to-date information and use the latest versions. Django 2.0 comes loaded with exciting new features, such as its simplified URL syntax, and Python 3.6 is the bleeding edge of the language with several new modules, such as asyncio, both of which have been used here.

Superheroes are a constant theme throughout the book. Most of the code examples are about building SuperBook, a social network of superheroes. As a novel way to present the challenges of a web development project, an exciting fictional narrative has been woven into each chapter in the form of story boxes.

主站蜘蛛池模板: 台山市| 侯马市| 镇雄县| 雷州市| 铜川市| 江华| 乾安县| 铅山县| 江陵县| 巴马| 兴仁县| 米泉市| 长治市| 二连浩特市| 察雅县| 韶关市| 浪卡子县| 康乐县| 巧家县| 永定县| 大同市| 光山县| 原平市| 施甸县| 津南区| 中江县| 特克斯县| 周口市| 黄平县| 侯马市| 财经| 安乡县| 三原县| 通道| 万全县| 贵港市| 桃园市| 体育| 静安区| 灵川县| 永宁县|