routing
-
December 20, 2022
With a routing system, you can split the different pages and handle these pages individually. Let’s find out what this URL is before we start to code.
URL consists of three parts:
- Scheme
- Domain
- Request URI.
To implement simple routing, we need to match the request URI and implement a logic responsible for processing this request URI. So, we can build as many pages as we need to, and each page will proceed by a separate PHP function or a road. Finding the right road for the request, URI is called a road, also known as dispatching a road.
Learn more in the video.
-
September 22, 2022
With routing system, you can split the different pages and handle these pages individually. Let’s find out what this URL is before we start to code.
URL consists of three parts:
- Scheme
- Domain
- Request URI.
To implement simple routing, we need to match the request URI and implement a logic that will be responsible for processing this request URI. So, we can build as many pages as we need to, and each page will proceed by a separate PHP function or a road. Finding the right road for the request, URI is called a road, also known as dispatching a road.
Learn more in the video.
-
January 26, 2022
Let's create a simplest routing system using PHP programming language.
The source code from the video is available at GitHub.