forked from DjangoPatternsBook/DjangoPatternsBook.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
316 lines (260 loc) · 13.8 KB
/
index.html
File metadata and controls
316 lines (260 loc) · 13.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Django Design Patterns and Best Practices is a must read for every Django developer.">
<meta name="author" content="Arun Ravindran">
<link rel="shortcut icon" href="/theme/assets/favicon.ico">
<title>Django Design Patterns and Best Practices by Arun Ravindran :: Book Home</title>
<!-- Bootstrap core CSS -->
<link href="/theme/assets/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this site -->
<link href="/theme/assets/main.css" rel="stylesheet">
<!-- Custom tags for the head tag -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top navbar-transparent" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/theme/assets/index.html">
Django Design Patterns and Best Practices
</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#reviews">Reviews</a></li>
<li><a href="#buy">Buy</a></li>
<li><a href="#about">About</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://cdn.oreillystatic.com/oreilly/booksamplers/packt/9781783986644_Sample.pdf">Sample Chapter</a></li>
<li><a href="https://github.com/DjangoPatternsBook/superbook">Code </a></li>
<!--
<a class="btn btn-default" href="#" role="button">Sign in</a>
<a class="btn btn-primary" href="#" role="button">Sign up</a>
-->
</ul>
</div><!--/.nav-collapse -->
</div>
<div class="jumbotron jumbotron-carousel corporate-jumbo" style="background-position: 0px 0px;">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-8">
<!-- <h1>Quidditch Tryouts
</h1> -->
<p>Take your Django skills to the next level.</p>
<a class="btn btn-default" href="http://bit.ly/1PLG3I0" role="button">Buy Now!</a>
</div>
<div class="col-md-4 col-sm-4">
</div>
</div>
</div>
</div>
<!-- Reviews -->
<a name="reviews"></a>
<div class="container page-section">
<div class="row">
<div class="col-lg-12 text-center">
<h2>
What People Are Saying
</h2>
</div>
</div>
<div class="row">
<div class="col-lg-4 text-center">
<blockquote class="simplequote">
<p>"Finishing the book #Django Design #Patterns and #BestPractices write by @arocks, totally recommended awesome book, worth every dollar."</p>
<footer>
<img class="img-circle" src="/theme/assets/profilepics/chris.png" width="64" height="64">
<br/>
<a href="https://twitter.com/chriss_mejia">Christopher Mejía</a>
</footer>
</blockquote>
</div>
<div class="col-lg-4 text-center">
<blockquote class="simplequote">
<p>"Just read "Django design pattern and best practices", efficient, easy to read and well organized around key area."</p>
<footer>
<img class="img-circle" src="/theme/assets/profilepics/anne.png" width="64" height="64">
<br/>
<a href="https://twitter.com/spellartac">Anne-Catherine</a>
</footer>
</blockquote>
</div>
<div class="col-lg-4 text-center">
<blockquote class="simplequote">
<p>"I highly recommend this book to people who have completed the infamous polls tutorial as it represents a great survey of topics that the beginner would greatly benefit from using in practice."</p>
<footer>
<img class="img-circle" src="/theme/assets/profilepics/alex.png" width="64" height="64">
<br/>
<a href="http://www.amazon.com/gp/cdp/member-reviews/A1CEELWXHTKIVZ/ref=pdp_new_read_full_review_link?ie=UTF8&page=1&sort_by=MostRecentReview#RZA0HZFRA7YC">Alexander Kahn</a>
</footer>
</blockquote>
</div>
</div>
<div class="row">
<div class="col-lg-4 text-center">
<blockquote class="simplequote">
<p>"I am loving the book. Very interesting and easy to follow method of explaining Django. For me quite a big jump in Django understanding"</p>
<footer>
<img class="img-circle" src="/theme/assets/profilepics/rahul.png" width="64" height="64">
<br/>
<a href="http://twitter.com/rahulv_gmail">Rahul Verma</a>
</footer>
</blockquote>
</div>
<div class="col-lg-4 text-center">
<blockquote class="simplequote">
<p>"This book will save a lot of time. It has various design patterns to solve everyday problems while building web apps. It also engages readers with stories & examples to get a better understanding of concepts."</p>
<footer>
<img class="img-circle" src="/theme/assets/profilepics/anand.png" width="64" height="64">
<br/>
<a href="http://twitter.com/ChillarAnand">Anand Pandikunta</a>
</footer>
</blockquote>
</div>
<div class="col-lg-4 text-center">
<blockquote class="simplequote">
<p>"Extremely well written"</p>
<footer>
<img class="img-circle" src="/theme/assets/profilepics/shoubik.png" width="64" height="64">
<br/>
<a href="http://twitter.com/sbose78">Shoubhik Bose</a>
</footer>
</blockquote>
</div>
</div>
</div>
<!-- Errata -->
<a name="buy"></a>
<div class="container page-section">
<div class="row">
<div class="col-lg-12 text-center">
<h2>
Where to Buy?
</h2>
<div class="col-lg-4 text-center">
<img src="/theme/assets/logo-packt.jpg" class="grayscale"/><br/>
<a class="btn btn-primary" href="http://bit.ly/1PLG3I0" role="button">Buy</a>
</div>
<div class="col-lg-4 text-center">
<img src="/theme/assets/logo-amazon.jpg" class="grayscale"/><br/>
<a class="btn btn-primary" href="http://www.amazon.com/Django-Design-Patterns-Best-Practices/dp/1783986646" role="button">Buy</a>
</div>
<div class="col-lg-4 text-center">
<img src="/theme/assets/logo-oreilly.jpg" class="grayscale"/><br/>
<a class="btn btn-primary" href="http://shop.oreilly.com/product/9781783986644.do" role="button">Buy</a>
</div>
</div>
</div>
</div>
<!-- about -->
<a name="about"></a>
<div class="container page-section">
<div class="row">
<div class="col-lg-12 text-center">
<h2>
About the book
</h2>
<p><b>Django Design Patterns and Best Practices</b> is written for new and experienced Django developers. Some of its highlights are:</p>
<ul class="list-unstyled">
<li><span class="glyphicon glyphicon-star" aria-hidden="true"></span></li>
<li>Guides advanced beginners to web application fundamentals and patterns</li>
<li><span class="glyphicon glyphicon-star" aria-hidden="true"></span></li>
<li>Covers Django 1.8</li>
<li><span class="glyphicon glyphicon-star" aria-hidden="true"></span></li>
<li>Read about the creation of a fun project - a social network for superheroes</li>
<li><span class="glyphicon glyphicon-star" aria-hidden="true"></span></li>
<li>Uses engaging story elements to illustrate real world challenges</li>
<li><span class="glyphicon glyphicon-star" aria-hidden="true"></span></li>
<li>A short read at about 200 pages</li>
</ul>
<h3>
Mailing List
</h3>
<p>Please join the book's <a href="http://eepurl.com/bd13G9">mailing list</a> to stay updated on offers, updates or any new content about the book</p>
</div>
</div>
</div>
<!-- TOC-->
<a name="toc"></a>
<div class="container page-section">
<div class="row">
<div class="col-lg-12 text-center">
<h2>
Contents
</h2>
<p class="lead">A chapter-wise breakdown of the book.</p>
<p>Or read the <a href="http://cdn.oreillystatic.com/oreilly/booksamplers/packt/9781783986644_Sample.pdf">sample chapter</a> from the O'Reilly site</p>
</div>
<div class="col-lg-6">
<ul class="list-group">
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 1, Django and Patterns</h4> helps us understand Django better by telling us why it was created and how it has evolved over time. Then, it introduces design patterns, its importance, and several popular pattern collections.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 2, Application Design</h4> guides us through the early stages of an application life cycle, such as gathering requirements and creating mockups. We will also see how to break your project into modular apps through our running project—SuperBook.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 3, Models</h4> gives us insights into how models can be graphically represented, structured using several kinds of patterns, and later altered using migrations (built into Django 1.7).</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 4, Views and URLs</h4> shows us how function-based views evolved into class-based views with the powerful mixin concept, familiarizes us with useful view patterns, and teaches us how short and meaningful URLs are designed.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 5, Templates</h4> walks us through the Django template language constructs explaining their design choices, suggests how to organize template files, introduces handy template patterns, and points to several ways in which Bootstrap can be integrated and customized.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 6, Admin Interface</h4> shows us how to use Django's brilliant out-of-the box admin interface more effectively, and several ways to customize it, from enhancing the models to improving its default look and feel.</li>
</ul>
</div>
<div class="col-lg-6">
<ul class="list-group">
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 7, Forms</h4> illustrates the often confusing forms workflow, different ways of rendering forms, how to improve a form's appearance using crispy forms and various applied form patterns.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 8, Dealing with Legacy Code</h4> tackles the common issues with legacy Django projects, such as identifying the right version, locating the files, where to start reading a large codebase, and how to enhance legacy code by adding new functionality.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 9, Testing and Debugging</h4> gives us an overview of various testing and debugging tools and techniques, introduces test-driven development, mocking, logging, and debuggers.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 10, Security</h4> familiarizes you with various web security threats and their countermeasures, and especially with how Django can protect you. Finally, a handy security checklist reminds you of commonly overlooked areas.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Chapter 11, Production-ready</h4> introduces a crash course in deploying a public-facing application beginning with choosing your web stack, understanding hosting options, and walking through a typical deployment process. We go into the details of monitoring and performance at this stage.</li>
<li class="list-group-item"><h4 class="list-group-item-heading">Appendix, Python 2 versus Python 3</h4> introduces Python 3 to Python 2 developers. Starting off by showing the most relevant differences, while working in Django, we then move on to the new modules and tools offered in Python 3</li>
</ul>
</div>
</div>
</div>
<!-- Errata -->
<a name="errata"></a>
<div class="container page-section">
<div class="row">
<div class="col-lg-12 text-center">
<h2>
Errata
</h2>
<p>If you find any errors in the book's text, please tweet to <a href="http://twitter.com/arocks">@arocks</a>. If you find any bugs or issues in the code, please raise an issue in the <a href="https://github.com/DjangoPatternsBook/superbook">superbook</a> Github repository.</p>
<p>You are also welcome to share your suggestions or feedback about the book by tweeting to @arocks</p>
</div>
</div>
</div>
<!-- Site footer -->
<!-- Some social button for contact will do -->
<a name="contact"></a>
<div class="container">
<div class="footer">
<div class="row">
<div class="col-lg-6">
<p>© Arun Ravindran 2015</p>
</div>
<div class="col-lg-6 text-right">
Connect with us on
<a href="https://www.facebook.com/djangodesignpatternsbook"><i class="fa fa-facebook"></i> Facebook</a> or
<a href="http://twitter.com/arocks"><i class="fa fa-twitter"></i> Twitter</a>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/theme/assets/jquery-1.10.2.min.js"></script>
<script src="/theme/assets/bootstrap.min.js"></script>
<script src="/theme/assets/site.js"></script>
</html>