We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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.



43.9k

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