Ask Hacker News: What Python web framework should I use?
31–40 of 41 posts
Re: Ask Hacker News: What Python web framework should I use?
#32Just as a warning. Its not listed here, but stay away from Zope3/Plone for a while :).
Why, may I ask? I'm contemplating to skip Zope3 to learn Plone. I'm also tinkering with the idea of purchasing Plone 3 book by Martin Aspelli. I heard the book is good and it gives you enough information about Zope3 to learn Plone.
http://thingsilearned.wordpress.com/2007/08/14/zope3plone-to...
Its a great CMS with a lot of awesome features. Its just incredibly difficult to pick up and work with, especially in its current state.
Re: Ask Hacker News: What Python web framework should I use?
#33Re: Ask Hacker News: What Python web framework should I use?
#34django.
what about TurboGears? I like the idea of having a larger unifying framework based on smaller independent projects. Btw, I should add that I'm asking from the perspective of somebody moving towards a Pythonic framework. I've spent the better part of today learning Python, and so far I love it!
Re: Ask Hacker News: What Python web framework should I use?
#35django.
Could you explain why you would use django over the others? Does pylons have too much magic? I've never used django and am curious if you have used the other frameworks.
Re: Ask Hacker News: What Python web framework should I use?
#36It's very simple, yet powerful enough to let you do pretty much anything you need to.
Re: Ask Hacker News: What Python web framework should I use?
#37Edit: I started with Pylons but was simply overwhelmed by the complexity. I checked out but didn't use TurboGears and Django so I don't have to much to say about them. web.py is nice, but it's immature and some things don't seem to work the way they should.
So I rolled my own (if you can call it that) using the db module from web.py along with Mako and mod_python.
Yes before the WSGI zealots freak out let me say that it is NOT a WSGI solution but I could care less. It just works.
Re: Ask Hacker News: What Python web framework should I use?
#38Earlier quoted context omitted.
I stopped using web.py after I had to correct Aaron when he recommended a 'session' implementation that had a massive gaping security hole. http://groups.google.com/group/webpy/browse_thread/thread/2f... If he couldn't spot that when he posted, I don't trust him to spot any other problems with web.py
For a second I didn't get what the big deal was here. Sure you have to keep your pickled python objects in a secure place on your server. Sure you could have problems if someone could get at those, but they would need to crack your server first and then figure out how your app worked. If they could do that you're hosed anyway... Then it hit me. He was suggesting you give the pickled object back to the client in the s…
I've done that with signed cookies.
Re: Ask Hacker News: What Python web framework should I use?
#39Earlier quoted context omitted.
For a second I didn't get what the big deal was here. Sure you have to keep your pickled python objects in a secure place on your server. Sure you could have problems if someone could get at those, but they would need to crack your server first and then figure out how your app worked. If they could do that you're hosed anyway... Then it hit me. He was suggesting you give the pickled object back to the client in the s…
> He was suggesting you give the pickled object back to the client in the session cookie and load whatever the client sends later right back into the interpreter. Whee! I've done that with signed cookies.
Re: Ask Hacker News: What Python web framework should I use?
#40Earlier quoted context omitted.
For a second I didn't get what the big deal was here. Sure you have to keep your pickled python objects in a secure place on your server. Sure you could have problems if someone could get at those, but they would need to crack your server first and then figure out how your app worked. If they could do that you're hosed anyway... Then it hit me. He was suggesting you give the pickled object back to the client in the s…
> He was suggesting you give the pickled object back to the client in the session cookie and load whatever the client sends later right back into the interpreter. Whee! I've done that with signed cookies.