The use of frameworks seems to be condoned. On my search for a template engine I passed by many articles of PHP developers saying they were unnecessary as PHP would provide all you could need.
Flask doesn't do much. But that's exactly the point. Even though it's so simple it offers enough to write an application that shouldn't have to hide because it's amateurish.
> From the rest of the post, it seems like the problem isn't that PHP is bad, but that you don't know (even remotely) how to write good PHP.
That may be true. But it could also be true that writing good PHP requires far more skill and time. Skill I might not have. But I'm not someone blindly following tutorials or someone who tries to whip out a lousy program as fast as possible. Nor do I think PHP is a bad language is such. But I had a hard time.
PHP and Flask are two completely different things. One is a programming language and the other is a framework. To say "PHP doesn't provide enough to compare" to a microframework shows a gross ignorance of what PHP can do and a grand exaggeration of what Flask is actually doing.
> But I tell you, writing clean, understandable, side-effect free and secure code in PHP is much harder in comparison than I expected.
If you were talking about Ada or a similar language, I might agree with you, but you're talking about Python. It's just as easy to write bad Python as it is to write bad PHP.
From the rest of the post, it seems like the problem isn't that PHP is bad, but that you don't know (even remotely) how to write good PHP.