3 ms·
I’m sure you can use the all JS mysql client to connect directly from your client app to your database.
by Aeolun 8y ago
I’m sure you can use the all JS mysql client to connect directly from your client app to your database.
- nprateem 8y agoWell yes if you're stupid enough to directly expose your DB to the world then it's technically possible, but barring such idiocy there's arguably more risk of a DB hack through PHP than client side JS in most architectures.
- mixedCase 8y agoReact can do SSR. You can use JSX on the backend for rendering pages just like on PHP.