[CodeIgniter 4 video lesson] – Controllers (Part 2) – ROUTES

Hey guys. All right???

The third video on the CodeIgniter 4 framework is already on the air . In this lesson, I show you how to operate the routes in CI4 and how you can change the basic structure of the URLs in the application.

In the video I create a test controller called ” Products ” with the standard action ” index ” and with the action ” details “. Then, in the app/config/Routes.php file I add 2 routes, one that shows the simple redirection of “shopping” to the “products” controller and another that shows how to insert dynamic parameters and make the product details URL more ” lean ”.

The video is available at the link:  https://www.youtube.com/watch?v=rQl9a2BpyRA&utm_source=rafaelwendel.com

Any questions leave your comment =)


Holds a university degree in Information Systems, a postgraduate degree in Database Systems and a master's degree in Education with a focus on Sociocommunity Technologies. He works as a professor of technical and technological education at the Federal Institute of Education, Science and Technology of São Paulo, teaching subjects in the areas of programming, database, project development and software engineering.

Posts relacionados

Leave a Reply

Your email address will not be published.