On 1/27/06, Maniac <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote an article about him evaluating web frameworks > (http://www.artima.com/weblogs/viewpost.jsp?thread=146149). Some things > he dislike about Django are being fixed in the upcoming World Happiness > Branch (I mean 'magic removal' :-) ).
Thanks for pointing this out! It'd be great if as many Django users as possible posted comments there supporting the framework and pointing out magic-removal. Let's get organized. > I always thought that the very feature of Django's template system is > that it intended to contain no remotely complicated code and it's not > like PHP... Yeah, I posted a comment there to answer Guido's concern: Regarding Django's template language not being Pythonic: Being Pythonic wasn't a goal. We wrote that template system with the design decision that non-programmers (i.e., Web designers who know HTML and don't know Python) should be able to use it. This has proved to be a great strategy, because we've had entire, complex sites built using Django templates by designers who don't know Python. Examples: visitlawrence.com, kkcscountry.com, ljworld.com. The way I see it, it's more acceptable to give programmers a negligible learning curve for learning template languages, than to give Web designers the learning curve of learning a programming language. Not to mention the security implications of allowing pure Python code in templates. The Ruby on Rails people are realizing this, and they've made a template language that closely mirrors Django's: http://home.leetsoft.com/liquid/ Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org