Implementing Tagging in a Django Application
Django, Elements of a Web, Framework
my motivation
Although I’ve used many Web based applications that employ tagging, I’ve yet to create an application of my own with this feature. But now, I have two potential projects on the horizon that could benefit from tagging, and I’m thinking about how to best implement this, both in the database and user interface layers.
..
I also see this as an opportunity to further explore Django, a rapid Web development framework that has captured my imagination, even though I have barely scratched the surface of its capabilities. I have also been sipping on the REST Kool-Aid recently, and would therefore also like to try my hand at implementing tagging in Django RESTfully..
..
let’s get this party started
After designing the data model layer, I feel like I have enough basic understanding of the problem space to plunge into Django. At this point, I’ll assume you know Python, have some basic familiarity with Django (take a few minutes and look at the Django tutorial) and have Django installed as well as a locally running MySQL server instance. Basically, this section will be a condensed version of part one of the Django tutorial, customized for this particular project.
…
Full article: http://www.stonemind.net
License: Creative Commons Attribution - ShareAlike 2.5
Indexed in June 2008
Related Info Web
- Ruby on Rails, Django, and other software crusades
- Five things I love about Django.
- Is Django stable?
- How i18n is solved in Django, RoR and Struts
- Django sitemaps. Why? Because google loves them
As I suggested in an earlier post, I’d like to discuss the choices that we as software developers have when it comes to implementing applications. These choices can be as fundamental as your programming language, your choice of tools, such as your IDE, or the libraries you use, such as your ORM or AJAX choice.. .. They are not new, and they...
I posted five things I hate about Django, so as a penance, I will of course have to tell the “Five things I love about Django”. The Admin interface rocks: I have demoed Django to a fair number of People, and when you write a few lines in models.py, and then show the auto generated Admin interface, this is a jaw-dropping moment.. .. Documentation...
I have a friend and fellow member of the Python West Midlands group. Whenever, someone mentions Django, he asks the person "but is it stable?". This has been repeated so much that is has become a local in-joke. However, lets take the question seriously. To explore this further, we need to ask what does stable mean? I.e. can we replace the...
Internationalization in -> Django (a python web framework) -> Ruby-On-Rails -> Struts Django and RoR have very similar solutions to internationalization. Both rely on the GNU gettext tool, which serves messages from the according localised .mo-files. While a developer write his code, all he has to do to enable the localization of the application is to use the gettext-method (resp their python or ruby-equivalent). .. Struts...
Sitemaps are an important part for any site. Why? Google loves them, thats why. And you don't want to anger "The Google" do you? Django knows this and makes them easy to do, especially if you use generic views. You only need to do a few simple things. ... Full article: http://matterkkila.com License: Creative Commons License...
