Wednesday, 25th August 2010
Django (web framework): Why did theonion.com stop using Drupal?
They wrote about their reasons in detail in a post to the Django sub-reddit a while ago: http://www.reddit.com/r/django/c...[... 165 words]
What is the best way to learn about setting up server software for Python based web apps?
I’m a big fan of Fabric for automated deployment scripts. Start by reading this tutorial: http://morethanseven.net/2009/07...[... 40 words]
In what circumstances should one use “magic quotes” in PHP?
Absolutely never. Magic quotes was a badly designed feature, and PHP has been trying to escape its legacy for years. If you are constructing SQL strings using string concatenation you’re asking for trouble—use prepared statements or a library that interpolates and correctly escapes variables for you.[... 65 words]
For security reasons.[... 159 words]
Which major companies are using Solr for search?
The Guardian newspaper uses Solr for its Open Platform Content API. http://www.guardian.co.uk/open-p...[... 27 words]
Which Solr app for Django is better: Haystack or django-solr-search (solango)?
I’d go with Haystack—while it supports multiple backends, I get the feeling Solr is the principle backend it was developed for. It’s extremely well documented in my opinion, and the SearchQuerySet API it gives you makes running low-level queries really easy if the higher level class-based view it provides don’t do quite what you want.[... 109 words]
What is the largest production deployment of CouchDB for online use?
The BBC have a pretty big CouchDB cluster, which they use mostly as a replicated key-value store. It’s used by their new identity platform which includes customisation features for iPlayer.[... 47 words]