areiilla areiilla - 2 months ago 30
PHP Question

How CodeIgniter url work?

I am new to php so it did not seem like a good idea to use the framework.

I want to create my own framework from strach.

I want to open php class with a url like what codeigniter do.

I want to use urls like index.php / MyClass instead "get" index.php? class = MyClass.

how can I achieve that?


You have made good decision to develop your framework . This is known as Routing or URL Rewriting . You can learn this at URL Rewriting. For a complete framework , You have to learn about

  1. Template System
  2. Query Builder etc

I suggest you to learn Codeigniter framework for better understanding of PHP framework