design pattern of application id

整梗個event application form

每次submit玩,就會assign 一個unique application submission id
請問application id 點樣設計好?

PREFIXstring-XXXXXXXX-SUFFIXstring

中間用sequence number 好,定係一個random unique number 好呢?

用DATETIME 好嗎? ^^?

component name-datetime-value
?

TOP

What a misleading title of this post, I thought you were saying "design pattern". Btw, you can use UUID.

TOP

如果無目的,隨便就可以

TOP

you have to think about privacy issue
if order by a easily guessed rule, people might try to guess the application no and read other application

TOP