title: RESTful API design pattern while creating API with php
body: <p>I am developing RESTful with php. Currently I have started coding with MVC design pattern. In which the view files are acting as an interface. An interface which isn't showing any graphical UI but it has all the request handling logic.</p>
  
  <p>Now, my question is the way I am coding is correct or there is a better way to create RESTful api in php?</p>
  
  <hr />
  
  <p>My inspiration is based on JavaEE application model. In which we have Entity classes as model, Java beans as controllers and Remote Interface is the the list of method which gets called from client (kind of a view).</p>
  
  <hr />
  
  <p>Am I on right track?</p>