Asked • 05/20/19

AngularJS and PHP backend?

Maybe it's not a real question, rather is's a *discussion*. I decided to learn angular, using a simple task, build a blog system. And i have a few questions. Lest imagine that the php app will have the MVC structure, so i have some questions: - Should i build my back-end only as RESTFUL app, and use json response\\request upon the angular and php? - What about the view in php app, i should use them with ng-init? - Routing, server side or client side? - What about caching? - And the last, but not the least, where i should put the logic about data that user will input? Can someone give me the instructions or directions, about this things, and maybe useful link's to read the articles, to combine the php and angular, or maybe i'm doing it in the wrong way?

1 Expert Answer

By:

Rui K. answered • 05/05/23

Tutor
New to Wyzant

Seasoned Online Tutor & JavaScript Expert

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.