J
J
jasonOk2017-01-24 21:11:23
PHP
jasonOk, 2017-01-24 21:11:23

How to implement PHP (phalcon micro) + angularJs?

How to assemble an application, where: the client and routing on angularJs , all the calculations are basic in the same place And at the same time the
backend on php phalcon (angular will access it for data, something like a simple Rest api).
The fact is that angular has various bower, npm, gulp, and php is generally aloof from all this.
How to combine them in general (let's say there is Ubuntu 16.04 with Nginx)?
What is needed for the link to work?

  1. Install NodeJs...
  2. ?

I know about Laravel Elixir, but it's out of place

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2017-01-24
@Casufi

Two repositories, two separate applications, separate back, separate front. Nginx can give statics from the root for the front, and for the back, make a subdomain api.local.com and proxy with the same nginx what you have PHP raised on (apache + PHP)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question