Is there a routing map in the kohana framework?

in which the site paths are written as in yii

  • Do you mean application / bootstrap.php ?? - naym
  • if this is what I think about then this is nonsense just downloaded - dfhsfhgfj

2 answers 2

There is a routing - Routing

Kohana provides a very powerful routing system. In essence, routes provide an interface between your urls and your controllers and actions. There is no need for an url scheme to correspond to any other option.

    Site paths are formed from the conditions specified by you.

    If you need to view "all finished paths" i.e.

    www.google.com/category/1234,

    www.google.com/category/845,

    www.google.com/category/podcategory/98

    Use the sitemap module.

    Conditions can be specified as application/bootstrap.php (it is recommended to indicate here only the basic principles for the application).

    The same conditions for the formation of links can be located in the modules of the project themselves:

     modules/<name_module>/init.php Route::set('<название для обращения>', '<условия>', <параметры>) ->defaults(array( 'controller' => '<контролер>', 'action' => '<экшен>', )); 

    How links are collected.