Re: Can I use Components and Classes in Django for views/controllers?

2009-04-01 Thread Ståle Undheim
vars over and > over again. If you dont need view specific variables, this should do > it. > > You can take a look at the docs about them and how to write > them:http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-... > > ~Jakob > > On 1 Apr., 09:42, Ståle

Can I use Components and Classes in Django for views/controllers?

2009-04-01 Thread Ståle Undheim
I come from a Java background, and I really like Apache Wicket as a way for constructing web frameworks. In it you use classes, extension and compositions to build your pages. This allows for great reuse off components in different pages. Django however works via functions instead, which can't be