Webservice Rest with PHP [closed]

-1

I'm doing a search that will result in developing an application and we came to the issue of using webservices, I have some questions that I would like to help with.

  • Let's use Rest, what PHP frameworks work with this type of webservice?
  • Would it be "difficult" to implement a webservice without a framework? What do they have to offer?
  • Let me pass on links to study those who talk about the most used frameworks for this procedure.
  • asked by anonymous 23.02.2017 / 13:28

    1 answer

    1

    1 - Silex, Slim, Lumem ... and even more robust frameworks like Symfony, Zend and Laravel can be used.

    2 - It is much more feasible to use a webservice framework than to use the do-it-yourself method for a few reasons:

    • The framework has many ready-made functionalities.
    • The framework is being developed and improved over a long period of time, and there are many people involved, both in testing and in the implementation of new features.
    • Another reason is that your framework done in a week will not guarantee the integrity of the app, as there was not time to cover all the test cases that a popular framework will achieve (there will always be something to fix "here or there"). .
    • It will take longer to produce your own framework, which could be spent on app functionality.

    3 - The most correct way to understand how they work is to read the official documentation, as they have the correct practices and are recommended by the creators of the projects for best use,

    • www.gajotres.net/best-available-php-restful-micro-frameworks /
    • laravel.com/docs/5.1/controllers#restful-resource-controllers
    • lumen.laravel.com /
    • silex.sensiolabs.org /
    • www.slimframework.com /
    23.02.2017 / 15:53