I've been programming web applications in PHP for a very long time now, but whenever I start a new project I'm wondering if it wouldn't be better and easier to use C++. I guess that some people here will agree with me, and many probably won't, but let's just ignore that
So the only reason I'm still using PHP is time. I have to put up with the language but I'm rewarded with a library that does very many things I'd have to do myself in C++. It's not just the HTTP-related stuff like cookies and headers, file uploads and all that, it's also the other parts of the library, such as file_get_contents() and the like.
I think there's really nothing wrong with having a way to request a local or HTTP file in one single line, but in C++ that just does not seem to be possible, not with the libraries I've seen.
So I'm thinking about finally taking this step and switching to C++, and I'm even ready to write my own little library that can simplify many things for me.
But before I go ahead with this I wanna make sure there really isn't anything useful out there I've overlooked.
So does anyone know about a library like what I've described?
(And, yes, I know about Java Servlets and all that but that just isn't for me