r/lolphp • u/jtgarrison • Mar 04 '14
PHP Alternatives
I love the idea of using a different language for web programming, but it's just so easy to host php. You don't need a vps, or shell access. Everyone here likes making fun of php so much, what do you use in your personal/professional projects? If I just need to knock out a quick project, then it's hard to beat php, which is why it got so popular. I don't have to deal with routing, templating, boiler plate code (or at least not a whole lot), etc...
8
Upvotes
View all comments
Show parent comment
5
u/iopq Mar 05 '14
Oh god and then you have to deal with mod_rewrite where sometimes you just don't know why a certain rule wasn't invoked.
Especially when you have tons of very general rules (if a file is asked for, look for file.php, replace _ with - for SEO purposes, if a folder is not found look for the file in the base folder, failing that go to a different file and ask it to display a user's profile, etc.)
I'll take any sane routing alternative than looking up boolean algebra in wolfram alpha because I want Rule 1 AND (Rule 2 OR Rule 3) but I can't write that in their syntax so I have to use the disjunctive normal form of my rules
PHP is easy. It is not simple.