title: Angularjs and php as backend
body: <p>I've created a angularjs app which uses php for handling the database queries and enforcing an authentication schema.</p>
  
  <p>When the user logs in into the app, he does so in php and php fetches the user data into a session. Then angularjs issues a http post request to a php page to read the fetched data.
  After that, whenever a user asks for data, angular issues a post to a php page.</p>
  
  <p>I'm considering using a framework for doing the authentication and the database queries in a better way. My security knowledge is primitive and I fear that I have mistakes in my code.</p>
  
  <p>After doing a research I found laravel which seems straightforward and easy.
  Now my questions are: </p>
  
  <ol>
  <li>Can a php framework such as laravel do these things for me?</li>
  <li>Is there something else I could use to have people authenticate and making sure that they are doing the CRUD operations they are authorized to do? </li>
  <li>What are the keywords I'm searching about, is it routing, is it php restful? I'm asking in order to do further research on the matter.</li>
  <li>Is there any other way in which a SPA could work with CRUD operations and Authenticating in a "safe" manner using php?</li>
  </ol>
  
  <p>I know that the above questions are not programming questions per se, but I don't know where to ask (because I feel I cannot communicate what I want to learn about/ *that's why the keywords question above).</p>
  
  <p>Thank you</p>