4 ms·
For web there is SO many better alternatives in 2025. There is zero reason to pick PHP. Literally.
by phplovesong 2y ago
For web there is SO many better alternatives in 2025. There is zero reason to pick PHP. Literally.
- johnisgood 2y agoWhich ones do not require JavaScript AT ALL? Simple use-case: in which language may I make a CAPTCHA that does not require JavaScript? What about a full-blown e-commerce website?
- phplovesong 2y agoWhat does a server side languge has to do with captcha? What are you on?
- johnisgood 2y agoCase in point, then. I made a PHP CAPTCHA that requires no JavaScript, so pretty much everything? What would a client-side language have to do with CAPTCHA? Kind of defeats the purpose of it, or rather, what it (server-side) does not have to do with it?
- solumunus 2y agoGo. C#. Kotlin. I could name many. I think you’re confused.
- johnisgood 2y agoC#? Kotlin? For a CAPTCHA? Funny. Have you tried building web apps at all in these languages as opposed to PHP? I do not like PHP much but I don't get the hatred. I chose PHP as opposed to Go (and I never, ever considered a JVM-like language) when trying to make a simple CAPTCHA, but I did choose PHP for a full-blown e-commerce website too. PHP has built-in session handling, the deployment is extremely simple and works out of the box, and PHP's server-side rendering aligns perfectly well with no-JavaScript sites, form handling and image submission work natively with PHP, and so on. Go may offer better raw performance but it does not make sense to use Go, and it is laughable to ever consider Java or Kotlin for it. If you need an exhaustive list as to why picking PHP is the right (or pragmatic) choice here as opposed to Go or JVM-like languages, let me know and I will provide you one.
- phplovesong 2y agoI argue that there is nothing more easy than deploying something like Go (or anything else that is compiled). With PHP you STILL ens up with a complex deployment pipeline even the apologists argue "just ftp it like in the 90s".
- deleted 2y ago[deleted]
- johnisgood 2y agoDeployment has not been an issue for me using PHP, nor Go, in all honesty. I did find Go more as-if I was using the wrong language for the job though.
- tored 2y agoHow does any of these languages help me write a proper HTML document?
- phplovesong 2y agoAll of them? You can have typesafe HTML in most of them.
- tored 2y agoHow?
- pier25 2y agoI don't use it myself but Laravel is arguably a good reason to pick PHP.
- shikck200 2y agoWhy is the only PHP defence i hear always the same "use a framework!". I did those for decades, and they always end up sucking. Either you need to hack around them, they have shitty defaults and finally they are abandoned and bitrot without any way of rewriting because of the huge size of the app. How about just write the code, using the stdlib and picking highly focused libraries for things you dont want to write (crypto, drivers etc.) your self.
- johnisgood 2y agoI did not like the popular frameworks either, they were too limiting. I always ended up writing most things from scratch (using stdlib). So... I agree.
- kyriakos 2y agoBecause using the particular framework in my experience once you have a basic grasp of it's concepts, makes development time of applications extremely fast. Delivering is what pays the bills.
- pier25 2y agoWhy make your own framework in PHP instead of other languages?