Difference between client-server web apps and websites

78 Views Asked by At

I am wondering: why we use to split a web app into a client (JavaScript, CSS or even a framework like React or angular) and a server (PHP)? Why it is preferable to do so instead of simply going on a website that includes PHP and HTML all together?

1

There are 1 best solutions below

0
On

scalability and private storage. Hosting your own server side framework allows for huge application and privacy. The storage of html is minimal at best so it is much safer to have your own backend stuff. especially for enterprise software.