how can I generate youtube style id?
staunch: First thought is that they're generating a globally unique video ID number and base-62 encoding it to keep the URL shorter. Maybe not though?You could do that easily by just base-62 encoding your table's auto-generated primary key.