C
C
coder-top2016-04-01 08:35:33
Nginx
coder-top, 2016-04-01 08:35:33

Web server architecture for angular?

Goodnight! Help clear all the mess in my head :) I'm developing a project - workflow. In general, there is a menu, when you open it, a table is loaded from the Oracle database, new data is added. In other matters, nothing supernatural, the main logic is through Oracle (all procedures, functions). The project will be written in angular + Rest yii2. The web server chose nginx. How many manuals I read, node is preferable to angular, only the problem with uploading files. I just can’t decide whether it’s worth separating statics and dynamics into nginx + node? Through nginx, proxy dynamics to node and cache. I develop on a separate virtual machine, upload it to the main server via git. For speed and to broaden my horizons, I decided to try Grunt + yeoman. Those. you need to install a grunt server locally, you should not install it for production.
But if we take into account the project, where the front on Angular is only drawing the interface (language, menu), data (table, number of work processes, etc.) from the database. Should I split nginx+node? Or leave everything to nginx?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arman, 2016-04-01
@Arik

if there is time to figure it out and administer the node, then it is possible not to breed a zoo, if there is no time already, then it is better to do what you know better. According to yii, they said that it’s difficult with him in REST, where laravel is prettier, almost all of their boxes are there. But I can be wrong. Noda will strike well in time. especially tomorrow, what else will be needed on the site besides the menu and ... Will you also do it on the node? Who will support you after you? if you go over it with your head.

C
coder-top, 2016-04-01
@coder-top

In general, I won’t lose much if I stay on nginx? I thought not the choice between nginx or node, but to add to the bundle to nginx + node or just nginx. In general, then there will be time to study the node in more detail, I am interested in the question of whether there will really be a difference in the speed of work? In the speed of development, it is clear that additional knowledge is required. But in general, is it correct and there are no direct requirements "according to GOST"? Is it all up to the developer?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question