CodeIgniter: URL Routing

CodeIgniter: URL Routing

July 14, 2020
Codeigniter URL Routing

We might imagine that there is a controller named “news”. The method being called on news would be “latest”. The news method’s job could be to grab 10 news items, and render them on the page. Very often in MVC, you’ll see URL patterns that match:

http://example.com/[controller-class]/[controller-method]/[arguments]

One Comment

  1. 20bet September 4, 2023 at 12:32 am - Reply

    Your article gave me a lot of inspiration, I hope you can explain your point of view in more detail, because I have some doubts, thank you.

Leave A Comment