Shawn: thanks
Just started watching the video and I'm noticing my complaints are not
unique.

> Wow! I guess your definition of an app  and expectation of re-usuability
> from an app written by someone else
> is fairly high!

Actually, a big part of the problem is reusing my own apps. Mostly
since all of them provide models, and every use case either needs
changes to those.

>
> We have built serveral news sites based on Django, and a lot of code gets
> rewritten everytime, because customer requirements are very different. We
> reuse 90% of code in every project, but 10% gets rewritten or gets writtenf
> fresh.
>
That's interesting.
Do you adapt models across your apps?
Do you deal with (some kind of advanced) authorization that differs
over projects?
I'd like to know how.

> I know there's a number of apps out there including ones written by people
> like me, which are grossly unusable. I guess that's primarily because its
> written by developers for a specific work, and when they threw it back into
> the wild, they did not pay enought attention tomake it really re-usuable.
> However there are quite a few exceptions,
>
> I completely agree with your views that with the way you write code with {%
> url in templates, and decorators, reusing the code is a pain. I had to scrap
> a project based on Pinax for the same reason, and then rewrite a mini scoial
> framework, because pinax is not customizable beyond a point.

Yeah I looked at Pinax too (because it is presented as a "reusable
app") but I was a bit disappointed. (not so much in the app, as in how
it is an example of reusability).

Problem is "{% url %}" is presented as a Good Thing (DRY) while it
makes reuse in some ways harder
What's your alternative, i.e. how do you provide links that are
project independent?

> However my personal experience is that it's true for most platforms. There
> are always trade-offs and trade-ins when you use a platform.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to