I know that it is not always possible to exchange an implementation on the server side (e.g. PHP) from the client side (e.g. Javascript), but there are many cases where this is possible (especially the layout material), and therefore I am looking for some kind of research or resource , which shows a performance comparison between a PHP-based implementation and a Javascript-based implementation of a web page (or website).
In particular, I am interested in introducing e-commerce (the basket), since there are apparently two schools of thought in this regard (for example, the osCommerce / Zen-Cart camp versus the Magento / OpenCart camp).
Intuitively, it seems that the Javascript-based implementation transfers the processing power requirements for the client, thus balancing the load on resources and is scalable and best for shared web hosting. On the other hand, PHP will be more suitable for sites without a lot of traffic or those that have a lot of host server processing power.
But this is all intuitively clear, and it would be great to see that some numbers or graphs show differences in performance as a function of hits, client viewing platform, bandwidth, etc.
Is there such a study?
source share