recently I want to write a trial hand of a project with front and rear separation.
since I have been self-taught nodejs, all this time, the idea is to build a back-end server with express framework, but in this way I don"t know what to do in the middle tier. Now the only thing I can think of is to use express, in the middle tier, but I think it"s a little silly.
so I read a lot of articles on the Internet, many of which talk about using PHP in the back end or express in the middle layer of Java,.
so I want to ask:
1. If you use express as the backend, is there a big gap between performance and PHP?
2. If express is used as a server, what is better for the middle tier?
3. And npm"s mysql feels so troublesome to operate, and you have to write all kinds of native sql statements. Is there an encapsulated semantic database query plug-in like thinkphp or lavarel?