If you use Pascal for web development, what has been your experience? What's worked well? (And equally what hasn't?)
As for generating dynamic websites, if PHP suffices, use PHP. It also starts with a PHP and is an industry standard. I honestly don't see why one would choose Python over PHP for generating basic dynamic webpages.
Why not use both?
I like PHP - it is highly practical and you can write great code using it. It runs on anything, unlike Python.And modern PHP is also extremely fast, and has batteries included (Composer), so that's my go to for web dev.
Deployment is a breeze, I just need to send a single binary to update and restart the program through supervisorExecution speed is fast, no need to use sophisticated caching framework, simply use what HTTP has provided, this leads to low server requirement as well
But really, just use whatever you're comfortable with. My team leader always try to convince me to use node.js / Python, I always say no. When he insists, I tell him to take my chair as the project leader.