3 ms·
You need a framework and OOP if you want to use Python for the web. Without them you can't really move beyond simple terminal programs. The thing is that many
by icebraining 15y ago
You need a framework and OOP if you want to use Python for the web. Without them you can't really move beyond simple terminal programs.
The thing is that many people don't really want to learn to program: they do it as a way to accomplish other goal (in this case, create a website for some purpose). So they aren't likely to have the patience to learn in a structured way - often start by copy-pasting snippets and examples and learning as they need.
PHP fits right into that mindset; in fact, it was originally designed for that: as a set of tools for people who just wanted to add some small feature to their mostly static personal site. And even if it has added a lot of advanced stuff, that quick-and-dirty approach is still easy.