Answer the question
In order to leave comments, you need to log in
And how normal is it to use Node.JS and PHP in one big project?
Hello. What do you think, is it normal, right, to use Node.js on the Front-End part, but PHP for the Back-End part? In Node.js, use Express, and in PHP, use Laravel.
Thank you!
Answer the question
In order to leave comments, you need to log in
Node.JS and PHP are tools for applying technology.
But "how normal, right," - each has its own criteria.
Remember that front and back are not related in any way in terms of implementation.
Do what you want: the speed of the final product will not change from this.
BUT!
Remember that it's easier to support a product in 1-2 interchangeable languages/technologies, not more!
What's the problem? You can organize a microservice architecture, where, according to the idea, it should not matter what language is used, the main thing is to build the connections correctly.
This scheme is the default for projects using SSR approaches (React and to some extent Vue). This is the best (only?) solution to date, for separation of duties. Laravel in this case acts as a REST / GraphQL server, and all the UI and templating logic is transferred to the front-end side.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question