What makes an efficient implementation of URL mapping and why?

I am considering implementing URLMapping for a personal project. I already know that solutions exist, so please do not respond by suggesting to use it.

I want to gather the opinions of developers and web users about URL mapping implementations. Specifically, I would like you to answer:

  • What is your favorite implementation?
  • What do you like about your favorite implementation?
  • What do you dislike about your favorite implementation?
  • How would you improve it?

I would like you to answer from two points of view:

  • As a developer
  • As user

I would be grateful for any opinions on this matter, thanks!

+3
2

, url-routing, ?:-) .

jcd - Django - , .

, ( urls.py) , . , regex ( , ).

( Django ) . URL- ( Django) - -. Django , reverse()

, , django (, Rails Pylons). Django , , URL. , - urls.py . , urls.py .

+1

django URLConf. , , urlpatterns, , URL-. , , - URL, , , . REST, GET/POST/PUT/DELETE Accept, , , django, URL , .

, Python, , urlpatterns.

, , , . URL - API, . API, , .

. Google " URL". : http://www.gaffneyware.com/urldesign.htm. , , flickr.

+1

Source: https://habr.com/ru/post/1730840/


All Articles