3 ms·
If you asked me, PHP has had "serverless" for 20 years (just plop your "serverless" script on any cpanel host, maybe even more than one and put a load balancer
by Can_Not 9y ago
If you asked me, PHP has had "serverless" for 20 years (just plop your "serverless" script on any cpanel host, maybe even more than one and put a load balancer in front of them).
For serverless NodeJS, zeit now might be worth considering as an alternative to AWS's lambda.
I would say Laravel doesn't beat NodeJS for SPA at all, because with Nuxt+Vuejs or Next+React, you can write your templates once and render with both the server on first arrival and with the client on subsequent arrivals. Then that setup can defer business logic to any one or more JSON backends (Laravel, nodejs, golang, etc.).
- smt88 9y ago> just plop your "serverless" script on any cpanel host That isn't serverless because the server is still running even when the PHP code isn't responding to a request.