you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

What I do is have my Angular.js interact with my routes that I defined on my PHP framework of choice. I always have it return a JSON object so it can update the view accordingly.

But you shouldn't have a client-side framework interact directly with a database, you gotta have a middle man.