php - Codeigniter URL routing - naming URL patterns -
currently codeigniter routing configuration , site_url makes possible decouple visible url underlying path controller.
$routing['my/url/'] = "my/controller/path"; however doesn't when want change visible url's themselves. if change 'my/url', related site_url calls need replaced.
is there extension ci enabled support naming url patterns well? decouple visible url structure well, can use site_url('my_url_pattern_name') , change underlying url without affecting site_url (unless change number/name of url segment parameters of course).
note: example of django's url pattern naming: https://docs.djangoproject.com/en/1.3/topics/http/urls/#naming-url-patterns
Comments
Post a Comment