InterviewSolution
| 1. |
What is Slim framework and why it is used? |
|
Answer» A PHP micro-framework, Slim helps the developers write easy yet powerful APIs and web applications. This framework provides a fast and robust router that can map route callbacks to various HTTP requests and URIs.It supports PSR-7 HTTP MESSAGE implementation which allows the developers to assess and manipulate HTTP message METHOD, status, headers, URI, body, and cookies. Uses of Slim Framework
Slim and Silex are different because Slim is a micro framework, while Silex is a full-stack framework. Slim and Silex are similar because they both help developers build web applications with simple tools for receiving a request and delivering a response. |
|