Documentation

URLs


URLs

Rain Framework uses simple URLs to access the controllers:

example.com/index.php/Controller/Action/Parameters/

Controller, select the controller class
Action, select the controller method
Parameters passed to the selected function, there can be more than one.

You can change the URI management by .htaccess file, by changing the configuration of application/config/route.php, or either by extending the Loader class and overriding the init_route() method.

In Rain Framework GET and POST parameters are always enabled, is anyway advised to avoid the use of them to create cleaner URI.