Answer the question
In order to leave comments, you need to log in
Are there any hints on how to generate interfaces for angular2 in symfony3 based on model classes?
I’m doing true-SPA, I was pleased with the form builder in the second angular (before that I thought to generate templates with forms on the side of the symphony), but without typescript interfaces, this idea seems to me not very successful, and the question arose - maybe someone has already started to implement it?
UPD .: in fact, the idea in brackets will be implemented, you just need to teach the Form class in symphony to draw angular forms with interfaces, and think over caching so that the cache dies only after the alter table
Answer the question
In order to leave comments, you need to log in
true-SPA is when your front communicates with the backend via api and true-SPA only knows that the backend has an api and nothing else.
And on the backend there is an AsseticBundle and a tweak (possibly used only for mail).
Your backend gives templates for the front - this is not true, unfortunately. It is necessary to give only the entry point to the application on the angular. Otherwise, it turns out that the backend knows something about the front and sometimes even depends on it.
For a solution, google for "Symfony form themes"
Good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question