J
J
Jedi2017-08-01 17:34:53
JavaScript
Jedi, 2017-08-01 17:34:53

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

4 answer(s)
X
xmoonlight, 2017-08-01
@PHPjedi

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!

A
Alexey Shashenkov, 2017-08-01
@teknik2008

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.

K
Kirill Nesmeyanov, 2017-08-02
@SerafimArts

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.

V
vkdv, 2017-08-01
@vkdv

If it were possible, then you would have to do double work. But this is impossible

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question