On 23 October 2012 21:43, Chip Munk <[email protected]> wrote: > On Tuesday, October 23, 2012 12:25:07 PM UTC+2, Graham Dumpleton wrote: >> I would strongly recommend right now that you go learn how to use >> Flask (flask.pocoo.org ), a Python micro framework which will teach you >> a better way of creating a Python web application than working at raw >> WSGI level. Part of what you will learn is how to structure the code >> for your application so that it is out of harms way and not easily >> downloadable by the users of your site, but such that modules will be >> found when you import them. > > I was looking at Flask, and came to two problems: > 1) not for python 3.x
Why does it have to be Python 3? The recommended version for developing Python web applications is still Python 2. Even you really feel it has to be Python 3, then go look at Bottle then, another very simple micro framework. > 2) some guys on other forums believe that it would be an overkill to use > flask for what I need, and recommender wsgi scripts The short of it is that to write raw WSGI applications and get it correct and ensure it is secure is going to be harder than using a simple micro framework which handles the hard stuff for you. I would always recommend a micro framework even for simple stuff because once you get your head around the micro framework, which will not take much, you will be much more productive and will produce better code that is more likely to work properly. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
