Live data from Hacker News

Poll: Pythonic startups: what web framework do you use?

news.ycombinator.com

11–20 of 76 posts

Re: Poll: Pythonic startups: what web framework do you use?

#11
post #9

For anyone who considered Django and discarded it (especially recently since it's been 1.0), could you maybe explain the decision behind that? I'm curious as a relatively recent Django convert.

As it stands, Django doesn't support multiple databases for read/write http://code.djangoproject.com/wiki/MultipleDatabaseSupport

That makes it a non-starter for us (for now).

Re: Poll: Pythonic startups: what web framework do you use?

#12
post #7

Would someone that up'd Django please outline their plans to scale?

Django scales just like any other web framework. The plan to scale Django is roughly the same as the plan to scale any app. Are there any issues in particular you're concerned about?

Have you listened to Cal Henderson's friendly rant against Django from a scalability perspective? http://www.youtube.com/watch?v=i6Fr65PFqfk

For example, did you modify the source to support multiple databases for read/write? Or is that not an issue and it's OK that it's coming later in the framework's roadmap?

Re: Poll: Pythonic startups: what web framework do you use?

#13

Wait... there are people who wrote their own framework... in the year 2009?

Well, Django is perhaps the most famous example of people writing their own:

http://docs.djangoproject.com/en/dev/faq/general/#why-does-t...

But I still see it a lot, there's a lot of "not invented here" or "none of the existing frameworks do exactly what we want".

Re: Poll: Pythonic startups: what web framework do you use?

#15

Wait... there are people who wrote their own framework... in the year 2009?

it's very easy to write your own framework in python, that does excactly what you need it to do and nothing more. therefore is: scaleable the way you need it for your application. not in your way of doing things. easier to debug.

it's a bit of development overhead in the beginning, but pays of in the long run.

Re: Poll: Pythonic startups: what web framework do you use?

#18
post #12

Earlier quoted context omitted.

Django scales just like any other web framework. The plan to scale Django is roughly the same as the plan to scale any app. Are there any issues in particular you're concerned about?

Have you listened to Cal Henderson's friendly rant against Django from a scalability perspective? http://www.youtube.com/watch?v=i6Fr65PFqfk For example, did you modify the source to support multiple databases for read/write? Or is that not an issue and it's OK that it's coming later in the framework's roadmap?

The framework may not offer it as part of the framework, but there is nothing stopping you from doing it yourself. It's python, it's a database, what's the difficulty here? Django is not the type of framework where you run deep within it and you cannot break out - nothing stops you from doing anything you want to do.

Re: Poll: Pythonic startups: what web framework do you use?

#19
I evaluated Django, TurboGears and Pylons for a new-from-scratch application of medium complexity (10K lines Python, 4 different databases). Pylons seemed to use a number of other tools well, had an excellent book and helpful community, so I went with Pylons. Turned out fine for my app.
Post reply on HN