Recently S. Lott published a post on what’s a clear definition of Enterprise-level applications. Even though I agree with him that “Enterprise-scale” definition has been streched by marketing to mean about anything, I have to disagree with his conclusions: The fact that an enterprise running a mission-critical piece of software can actually survive to bad [...]
Category Archives: Coding
What Enterprise-grade really means
Integrate WordPress and Django
Last year WordPress got an award as best Open Source CMS software and the reason is clear: it’s easy to setup, low on resources, very customizable and full of useful extensions. So unless you have very specific deployment requirements and if your blog is not part of your core technology, you may get the best [...]
Integrate Tornado in Django
Tornado is a nice python WSGI-compliant web server developed by guys at FriendFeed. It’s primarily thought as application server for python web frameworks and according to FriendFeed benchmarks, it’s blazing fast thanks to its non-blocking connections. UPDATE: For more performance info, James Abley pointed me to a very complete benchmark of available Python asynchronous webservers. [...]
8 web design add-ons for Django
In the last year, I’ve defined a quite stable fundation for my django projects. In this post I’m enumerating template design components that saved my day by reducing development time while keeping code readable, concise and standard-compliant. 1. Blueprint CSS framework While not a django-specific add-on, Blueprint CSS framework is a perfect companion for django [...]
.gitignore for Django buildout
If you’re keeping your django buildout installation under git, you may find the following .gitignore list useful to prevent your commits from cluttering with ugly temporary files (of course it also applies to other revision control system ignore files). You may need to adapt folder names to your buildout.cfg setup.
Django dynamic template paths
Several add-on applications for Django bring in their own templates and expect user to hardcopy those files into project’s template directory. The problem raises when add-on egg is updated and its hardcopied templates are not. Another approach could be to add add-on template directory path to TEMPLATE_DIRS variable in project’s settings.py. However, once add-on application [...]
Masterminds of programming
I’ve recently completed reading Masterminds of Programming, a book written by Federico Biancuzzi and Shane Warden and published by O’Reilly, which collects several interviews to some of the most influential programming language developers around the world. For the impatient, the bottom line first: it’s a very insightful book and it’s definitely worth the money, but [...]
Django and mysql names
Using django 1.1.1 framework with dmigrations tool, I’ve discovered that they don’t honour mysql naming conventions correctly. In fact, mysql has a limit of 64 characters on table names, index names and column names, but django doesn’t take it into account when generating tables and indices from models.