We love designing and developing websites, but what really drives us is solving problems and cultivating strong relationships with our clients
Django design patterns
By : shabda
This is announcement about our new work, Django design patterns, a ebook about, well, Django design patterns. (Well imagine that!). Here is the readme copied from there.
[Edit] Syntax highlighting and indentation preservation were totally brroken. Fixed now.
Django design patterns is a book about commonly occuring patterns in Django. Not patterns in Gof sense, but patterns in the sense, we work this way, and it works for us. For us it is a ~pattern of work~ sense.
At this point this is just a lot of brain dump from us.
The latest sources are always available from http://github.com/uswaretech/django-design-patterns/tree/master and latest html from http://djangodesignpatterns.uswaretech.net/
Please leave errata, feedback, critique as comments here.
This is still very much a work in progress, released in the spirit of release early, release often. Click here to get it, or fork it on Github
Comments
@tiago here you go. http://github.com/feeds/uswaretech/commits/django-design-patterns/master
Or follow us on twitter(@uswaretech), where we will make announcement, when we do a major update to the book.
I just skimmed through and already picked up some great ideas. Thanks a ton for this!
thanks, very handy. Is your github download up to date by any chance?
I noticed a small typo that may trip noobies to django in the multiple model manager's section:
class ModelClassApprovedOnlyManager(models.Manager):
self.get_query_set().filter(is_approved = True)
the code does not include the def statement and all... but again this is for internal use i guess
This is a great thing you have done!
I will definitely use this to improve my Django understanding and skills!
Amazon sells the eBook for $.99. But at B&N its 24 bucks. What gives? I've got a Nook but I'd rather pay the Amazon price.
Reactions
As of right now the formatting is faulty, losing crucial whitespace.
This comment was originally posted on Reddit
http://tinylink.com/?RtTuT9acOt
This comment was originally posted on Reddit
Thanks, Will there be a pdf version of this book released at any time?
This comment was originally posted on Reddit
Liked “Django design patterns book (in progress) @ The Uswaretech Blog” http://ff.im/-4PPRV
This comment was originally posted on Twitter
Glad to see I’m already following a lot of these patterns. Love docs like this, even though it has some typos, spelling errors, etc. Also, picked up some tricks that I feel stupid for not picking up previously.
This comment was originally posted on Reddit
This needs a *lot* of flushing out, and many more code & app examples. A section on data denormalization would be great.
This comment was originally posted on FriendFeed
- How to use pep8.py to write better Django code
- Screencast: Django Tutorial Part 1
- How and why to use pyflakes to write better Python
- Getting started with South for Django DB migrations
- A brief overview of Vagrant
- Writing jQuery plugins using Coffeescript
- Behind the Scenes: Request to Response
- Using SQLite Database with Android
- Haml for Django developers
- Coffeescript for Python programmers
- rails
- django
- linkroundup
- django opinion
- opinion
- business
- API
- appengine
- python
- satire
- startup
- Uncategorized
- marketing
- personal
- rambling
- search
- interviews
- seo-interviews
- 5startupideas
- ideas
- seo
- tips
- forms
- paypal
- utilities
- datetime
- web2.0
- Amazon
- algorithms
- presentations
- products
- pinax
- satchmo
- ecommerce
- microsoft
- yahoo
- book
- tutorial
- models
- aggreagtion
- meta
- India
- apps
- about
- CSS
- Design
- wordpress
- test slug
- vim
- urls
- reviews
- javascript
- xmpp
- emacs
- Typography
- Grid Theory
- Color Theory
- iphone
- android
- titanium
- mobile applications
- CSS3
- Browser Compatibility
- mobile
- jobs
- lamson
- django setup
- files
- upload
- jsTree
- hierarchical view
- web page
- Treeview
- coffeescript
- request
- response
- South
- django south
- django migration
- --fake
- screencasts
- February 2012
- January 2012
- December 2011
- October 2011
- September 2011
- July 2011
- June 2011
- April 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- June 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- November 2008
- October 2008
- June 2008
- May 2008
- April 2008
This is really interesting. Thanks for doing it.
I'd like to keep up with the progress, but I didn't find any rss on the github's project file, so I don't know if it's possible.