Answer the question
In order to leave comments, you need to log in
Yii2 + Angular2 - node.js?
I am practically new to node.js and know yii2 very well. For development purposes, I want to delve into Angular2. Idea to link it to yii2, but I can't understand the following:
everywhere, in docks, guides, etc. it is written about a bunch of Angular2 + node.js, but the following is written in "features" on the project website:
Universal
Serve the first view of your application on node.js, .NET, PHP, and other servers for near-instant rendering in just HTML and CSS. Also paves the way for sites that optimize for SEO.
Answer the question
In order to leave comments, you need to log in
I figured it out myself, correct me if not.
The structure is as follows:
Angular2 + node.js implement the face
yii2 implements the rest api
, and node.js is needed only for building Angular2, in fact, you can have node.js + angular on the local and only the assembled project can be uploaded to the server. What is nice with shared hosting without a command line. I'm going to try, if I'm still a fool - shout louder.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question