Answer the question
In order to leave comments, you need to log in
Is there an alternative to PHP?
What are currently the languages for pure web development (back-end)?
Because I'm tired of PHP and I want to switch to a more powerful, "human" language.
Answer the question
In order to leave comments, you need to log in
The main claim to PHP is a huge number of schoolchildren who have read one and a half articles, watched 3 video courses, collected a WordPress blog and consider themselves programmers.
There are some rough edges and illogicalities, but with each release there are less and less of them.
I do not see any fundamental advantages in other scripting languages.
There is no complete alternative.
There are alternatives for the areas used.
For enterprise - .NET, Java
For ordinary projects - Python, Ruby
For mass engines there are no alternatives.
If you are simply "tired of PHP", then after a while you will also get tired of another language.
If only for the backend, then Go is promising. But there is no OOP as such.
What's wrong with PHP? An incredibly powerful and flexible language with human logic, even suitable for writing desktop applications (!). So far, of course, as a toy (although I recently wrote a full-fledged video converter on it), but a fact is a fact. And what is important - one of the most dynamically developing today. Try to study it more carefully, and you will understand that the main reason that you are tired of it is that you practically do not know it. Because you can’t even imagine now what he can do! And there you look and go to the lead programmer with a salary of at least a hundred. Then you will still laugh at your topic) And if you rivet sites on Joomla and for longer - it's ddaaaa, you will get bored very quickly ...
IMHO, either Python with Django, Flask and not only) and several, in my opinion, quite usable and well-known CMS-ins (for example, Plone)
or NodeJS with Express (and frameworks based on it - Koa.js, Sails.js) and several others (for example, Total.js),
or Ruby, but there, apart from rails and sinatra, there seems to be nothing special for the web that is not in php, node or python.
There is also the truth ASP.NET-ovsky MVC-framework (I don’t remember what it’s called, it seems to be called that) with a couple of CMS-ok based on it, but IMHO, this is more for fans of C-Sharp and Microsoft will probably go.
Java? hmm.. I don't know what java framework for the web would be on everyone's lips, what is called - maybe it's because I have little knowledge of the java ecosystem?
And finally, frameworks in functional languages (for example, in Erlang (N20), Haskell (Yesod), Clojure (Compojure), OCaml (Eliom) and probably something else), in Lua (orbit, lapis... ) and other rarities.
so what is there for taste and color, as they say - the main thing is to find a customer or employer. who will either agree to your language, or he will give a damn about what you code, the main thing is that it works)
Somehow I also started writing web in PHP. But I didn't like the implementation of OOP in PHP. Now I decided to make websites in C++. I even develop my own CMS for this.
I think that C ++ with a well-built CMS will be a good alternative to PHP
And I like PHP, especially if you don’t use frameworks and compile PHP correctly, configure the whole bunch of nginx + php-fpm or nginx + apache (yes, you can manage to withstand the load) + caching, usually the main load on the database goes, so it’s better cache the results of complex queries.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question