ZF1 + 8 Angular, really?

Is it possible somehow to make friends? Need the front and admin area to make Angular.
Maybe there's some alternative?
Rewrite back - don't want to.
Thank you.
March 25th 20 at 11:12
1 answer
March 25th 20 at 11:14
And what's the problem then ?
1. legacy code
2. honestly, I do not know where to start

thank you for the answer - Elna_Roberts11 commented on March 25th 20 at 11:17
@Elna_Roberts11, Angular this SPA, it stands apart from API, the structure of the API in General does not depend.
Ideally your Beck ZF needs to be RESTFULL, and to give just the data in JSON format but even if there is a wild bad code and gives data in XML, or God forbid, in HTML is also not fatal, just work on the front will increase many times.
To start perhaps is with the tutorial on the angular website io
The key question is not what is written by Beck, and the form in which he gives data.

And key, for Angular in production node is not necessary, it's just a set of static files. - Leland_Hans commented on March 25th 20 at 11:20
@Leland_Hans, thanks again. tutorila was in the process of passing.
data gives to HTML =\

about the extra files in the course. - Elna_Roberts11 commented on March 25th 20 at 11:23
@Elna_Roberts11, Maybe you want server side rendering, but instead of the SPA, just the animation and data management for the fashion make, in that case I'm not sure that you need angular. - Leland_Hans commented on March 25th 20 at 11:26
@Leland_Hans, what is the advantage of SSR? It has something Vliet on SEO?
What are the options? - Elna_Roberts11 commented on March 25th 20 at 11:29
SSR improves the CEO but the CEO can be improved and SPA with https://prerender.io/

Too little data to give you the answer, what are the options. To make the front and admin on angular ZF1 to you whether or not depends on what you have written on ZF, what do you want to using Angular - Leland_Hans commented on March 25th 20 at 11:32
@Leland_Hansor Angular Universal even for SSR - danial commented on March 25th 20 at 11:35
@danial, I'm not an expert on Angular, Universal, it is necessary to assemble the page on the nod, or you can make a page in PHP and then the client just have to do hydrate? - Leland_Hans commented on March 25th 20 at 11:38
@Leland_Hansneed, in fact it will only work on the first boot, then the same Angular (by itself). This is for those robots that just loaded the page for the user nothing will change. Several different assemblies for this case at the same Angular-EN. That is just a small layer so you can do the same API call buck (no matter what is written) and to take the necessary information to display (meta etc.), the robot eats it with pleasure. Well, for sciennych networking plus (beautiful display, instead of {{}}) - danial commented on March 25th 20 at 11:41
@Leland_Hans, so to say, this is a blog with some extra functionality, mainly everything is in the database. - Elna_Roberts11 commented on March 25th 20 at 11:44
@Elna_Roberts11, It wasn't clear enough. Go through the lessons Angular and Vue for example. Then you will understand what works for you. - Leland_Hans commented on March 25th 20 at 11:47

Find more questions by tags FrontendBackendZend FrameworkAngular