Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ofrzeta
on Dec 31, 2023
|
parent
|
context
|
favorite
| on:
LuaX: A Lua Dialect with JSX
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?
bvisness
on Dec 31, 2023
[–]
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: