Is it possible to somehow make friends? You need to make the front and admin panel on Angular.
Can there be any alternative?
Rewrite back - do not want.

1 Answers 1

And what's the problem then?
  • 1.legacy code
    2.To be honest, I don’t understand where to start.

    thanks for the answer
    – Misty Mouse Jul 22 '19 at 15:07
  • [[DenBree]], Angulyar is a SPA, it stands apart from the API, the structure does not depend on the API at all.
    Ideally, your back-end on ZF should be RESTFULL, and give the data simply in JSON format, but even if there is a wild govnokod and gives the data in XML or, God forbid, in HTML is also not fatal, just working on the front will increase many times.
    Perhaps you should start with a tutorial on the website angular io
    The key question is not what the back was written in, but in what form it gives the data.

    And the key, for the work of Angular in the production node is not needed, it's just a set of static files.
    – Bored69 Jul 22 '19 at 15:15
  • [[Casufi]], thank you once again.Thank you in the process of passing.
    data gives in HTML=\

    about additional files in the course.
    – Misty Mouse Jul 22 '19 at 15:48
  • [[DenBree]], Maybe you want server side rendering, and instead of SPA, just animate and manage data in a fashionable way, in that case you are not sure if you need an angular. – Bored69 Jul 22 '19 at 16:00
  • [[Casufi]], what is the advantage of SSR? Does it affect SEO?
    And what other options are there?
    – Misty Mouse Jul 22 '19 at 16:07
  • SSR improves the CEO but the CEO can be improved on the SPA with

    There is too little data to give you an answer, what options are there.To make the front and admin panel for an angular to ZF1 is possible, does it depend on what you have written on ZF, what you want to get using Angular
    – Bored69 Jul 22 '19 at 16:13
  • [[Casufi]] or Angular Universal for SSR – Proud Partridge Jul 22 '19 at 17:30
  • [[StivinKing]], I’m not an Angular Universal connoisseur, do I need to build a page on a node, or can I make a page in PHP and then on the client, just do it hydrate? – Bored69 Jul 22 '19 at 18:04
  • [[Casufi]], you need, in fact, it will work only at the first loading stage, then all the same Angular(by itself).For those robots that just load pages, nothing will change for the user.Many different ready-made assemblies under this case, on the same Angular-RU.So there is just some kind of small layer, You can also make an appeal to the back-end API(no matter what is written) and take the necessary information to display(meta, etc.), the robot eats it with pleasure.Well, for the social networks plus(a beautiful display instead of {{}}) – Proud Partridge Jul 22 '19 at 18:09