
attractive, usable web applications
Richard's Blog - Design, coding and life in Japan
Blogs
Doctrine 2 and why you should use it!
Submitted by Richard on Thu, 07/29/2010 - 15:23If any of you are used to Hibernate in the Java world you will know what I am talking about. But Doctrine 2 is almost exactly the same as Hibernate.
I am just in the process of internationalizing this site into Japanese. In Drupal there is a path blog which has a list of all the teasers of the blog posts on your site. I looked into the source code of the Blog module and found the function 'blog_page_last' that feeds this list.
I wanted to make some easy link helpers so that I could have customized rounded corner links without needing JS and so that I could change them easily later if I needed to. This is so easy in Rails it is just crazy trivial. This was not the case in Django, and even though I believe it should be easier (and I believe it is easier with a little help with a method here and there).
I am not going to heavily blog about my experiences with Python and Django, but times that an error stumps me I will note it here briefly to help out with others who have similar problems. When installing the new messages module in Django 1.2 I got the following error Actually my first post on this subject didn't have too much to do with creating multiple blocks like in the multi-blocks plugin. Tags:
How to localize your main blog listing page using Drupal
Submitted by Richard on Sat, 06/26/2010 - 11:46
Tags:
Creating Rails like template helpers in Django
Submitted by Richard on Thu, 06/24/2010 - 22:01
Tags:
Error: No module named messagesdjango.contrib.contenttypes
Submitted by Richard on Tue, 06/22/2010 - 22:00
Tags:
Creating multiple blocks easily in a Drupal module pt2
Submitted by Richard on Tue, 06/08/2010 - 14:12
Tags:
Recent Blog Posts