dhtml18: The same thing that NODE.JS does for concurrency, sockets and all that - PHP can do it too.
I have a phpscript with just few lines of code - with only one single mysql connection - it can accept 1 million and more simulatenous connections and process every gaddamn thing as fast as the server can process. And no, it does not require a dedicated server to run or even a VPS, it can run on any PHP server (but VPS and dedicated will make it run faster), and no it does not require websockets to work or any special PHP extension to work. What happens if the script dies - a cron job can restart it Does the script terminate - no it does not - it runs as a DAEMON (same way NODE.JS works)
This is just basic CLI programming in PHP - if you dont know how to do it, research, learn and develop - i did not get there in one day.
By the way, all the problems the OP encountered in PHP, I do not see them as a problem. That having been said - it is not every project that is best done with PHP. There are some projects that if you wish to do it - the best language will be PYTHON. Some NODE.JS is best. Some JAVA, some .NET Based on my experience, I can cite many instances where I have had to learn a particular language just because of a particular project.
All I am trying to say is that - there is no best language - I dont encourage anyone to base all their programming career on PHP.
For those talking about hackers - as a professional hacker, you need to master at least 5 strong programming languages - Being a JAVA expert alone is not sufficient. Please, I want you to mentor me.. I'm a newbie, I need motivation please |