micro or application

I am trying to create an api server for commerce.

Can be produced by any of the micro class with application class?

In the description of the micro class called the class description for the api saw that is.

But the explanation that it would not be a problem for a simple application class concerns.



30.0k

Hi,

You can use micro, as expalined in the third tutorial of phalcon doc. Full stack MVC is also possible, just disable the view component (system wide or for the api controllers only). Most of the benefits of using a full stack MVC app in that situation is the default routing: :controller/:action/:params