Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just a random question that came to my mind when browsing the example: How do you make sure the slug is unique in a system like this?


As with PHP, that’s outside this part of the system. My personal site looks up paths in the filesystem like old-school PHP, but you could also do some kind of “routing” definitions if you wanted, like…new-school PHP.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: