PHP Backend Slim4 Tutorial

PHP Backend Slim4 Tutorial

PHP Backend Slim4 Tutorial discusses how to create a backend server using a PHP micro-framework. PHP is one of the most popular programming languages and usually used to develop web applications. In addition, Biside that, PHP can be used to develop full-stack or backend applications. PHP has a variety of frameworks that can be used by developers / programmers to develop web applications, such as Laravel, Yii2, CodeIgniter, CakePHP, Symfony, Slim, Silex, and many more.

PHP Backend Slim4 Tutorial

Backend is separated processing which is the logic or business process of an application execute. Frontend or mobile applications will send a request to the backend for processing. Then, the backend application will provide a response results of the process that has been done. There are several programming languages that used for the backend application such as: PHP, Python, Ruby, Go, and Java. There are many PHP micro-framework, such as: Slim, Silex, Lumen (now using Laravel), and so on. Micro frameworks usually uses to develop small based projects. Because the development of micro frameworks easier and less complicated than full stack frameworks and more flexible.

Some companies have implemented micro-services method, this is to make the development process more flexible. Division of workload is lighter than the fullstack app, because it is split into small services. In an application can be used several programming languages, for example user-service using PHP, analysis process using Python, and so on.

Create Fashion Store API

Study case that used in this PHP Backend Slim4 tutorial is creating a PHP backend for a Clothes Store API (Fashion Store API). The tutorial will be divided into several articles, as follows:

  1. Slim4 database Eloquent without Laravel
  2. Request validation in register API
  3. Login API using JWT Access Token
  4. Slim4 middleware authentication
  5. Database transaction on Order API

Hopefully this article can be useful and upgrade our knowledge. Thank you

1 thoughts on “Tutorial PHP Backend Slim4

  1. Pingback: Slim4 Tutorial: 1 Database Eloquent tanpa Laravel - PerangkatLunakKu

Leave a Reply