> A webframework is *written* in python. Your whole line of argumentation > boils down to "I can write things myself in python, why use > libraries/frameworks". Yes. You can also delete your standard-lib, and code > everything in there yourself - with the same argument. > > Using a framework is about proven solutions for common problems, letting you > focus on working on your actual application code. >
While I know that to be true in the general sense, from what I've looked at Django and other frameworks it seems that the web frameworks push the coder to use templates, not letting him near the HTML. For instance, I was looking for a class / framework that provided a proven method of decoding cookies (setting them is no problem), decoding POST and GET variables, escaping variables for safe entry into MySQL, and other things. Django and the other frameworks seem to force the user to use templates. I just want the functions, and to print the HTML as stdout to the browser making the request. I had to settle on PHP to do this, which admittedly is what PHP was invented to do. However, for obvious reasons, I would have prefered to code in Python. In fact, I still would. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- http://mail.python.org/mailman/listinfo/python-list