You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
4.6 KiB
116 lines
4.6 KiB
11 months ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||
|
|
||
|
<!-- Enable responsiveness on mobile devices-->
|
||
|
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape-->
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
|
||
|
|
||
|
<title>Julio Biason .Me 4.3</title>
|
||
|
|
||
|
<!-- CSS -->
|
||
|
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print">
|
||
|
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css">
|
||
|
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css">
|
||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body class=" ">
|
||
|
|
||
|
<div class="sidebar">
|
||
|
<div class="container sidebar-sticky">
|
||
|
<div class="sidebar-about">
|
||
|
|
||
|
<a href="https://blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a>
|
||
|
|
||
|
<p class="lead">Old school dev living in a 2.0 dev world</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<ul class="sidebar-nav">
|
||
|
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/">English</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/pt">Português</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/tags">Tags (EN)</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/pt/tags">Tags (PT)</a></li>
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="content container">
|
||
|
|
||
|
<div class="post">
|
||
|
<h1 class="post-title">Django Design Patterns and Best Practices - Arun Ravindran</h1>
|
||
|
<span class="post-date">
|
||
|
2016-07-07
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/arun-ravindran/">#arun ravindran</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/python/">#python</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/django/">#django</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/web-development/">#web development</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/reviews/">#reviews</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/design-patterns/">#design patterns</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/it/">#it</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/stars-3/">#stars:3</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/published-2015/">#published:2015</a>
|
||
|
|
||
|
</span>
|
||
|
<p><a href="https://www.goodreads.com/book/show/25567728-django-design-patterns-and-best-practices">GoodReads Summary</a>:
|
||
|
Learning how to write better Django code to build more maintainable websites
|
||
|
either takes a lot of experience or familiarity with various design patterns.
|
||
|
Filled with several idiomatic Django patterns, Django Design Patterns and
|
||
|
Best Practices accelerates your journey into the world of web development.</p>
|
||
|
<span id="continue-reading"></span><div>
|
||
|
★★★☆☆
|
||
|
</div>
|
||
|
<p>Although I'm not a fan of design patterns (you know, the GoF one) because
|
||
|
people tend replace it to proper thinking. But I do like design patterns for
|
||
|
languages and frameworks, because you can use something for a very long time
|
||
|
and still not doing it in the right way.</p>
|
||
|
<p>The book has an interesting premise: Explain a bit something, point a problem,
|
||
|
a solution, expand the problem and expand the solution. The problem is that
|
||
|
some problems seem really shoe horned to certain solutions. Also, some common
|
||
|
problems are not talked at all, like using CSRF with Ajax -- something the
|
||
|
author mentions people shouldn't do (disable CSRF) on Ajax requests.</p>
|
||
|
<p>On the other hand, the book focus on the the most recent versions (well,
|
||
|
almost). Instead of going in the safe road of Python 2, the book focus on
|
||
|
Python 3 -- and, to be honest, there isn't much difference between Django with
|
||
|
Python 3 and Django with Python 2.</p>
|
||
|
<p>Is not a bad book, but the really interesting things seem to be left out.</p>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|