Good methods for user accounts? [SQLite help needed also]
#11

Quote:
Originally Posted by cyber_punk
Quote:
Originally Posted by Y_Leѕѕ
The YSI method is very different from all these - instead of being name based it's ID based and uses an index to look up your user file. This means you can have multiple nicknames associated with your account - if you change your name you don't need to reset your account, you just associate the new one with the old one. It also uses ID based files so there's no worries about invalid characters. And as I said it uses a set if index files for fast ID lookup.
Sorry but as much as I love YSI I hated the way user accounts were handled, it was a pain in the ass to hit the index file when I could just goto the folder and find the file by users name.
But that way assumes that:

a) You only have one name per account, which YSI doesn't restrict, others do. I went for the IRC style users where you can have multiple names per account.

b) Names have no special characters.

Edit: See my next post, there's nothing actually tying you to this file layout (or indeed files) in the front and of the YSI user system, so you could do it any other way.

Quote:
Originally Posted by $ЂЯĢ
The best way is definitely storing data in SQL database.
Do you have any sort of empirical evidence for that? A well structured file system can rival a generic database - bespoke code is always better than generic code because it can be highly tailored.
Reply


Messages In This Thread
Good methods for user accounts? [SQLite help needed also] - by Outbreak - 17.11.2009, 00:17
Re: Good methods for user accounts? - by (.Aztec); - 17.11.2009, 01:04
Re: Good methods for user accounts? - by Nameless303 - 17.11.2009, 13:21
Re: Good methods for user accounts? - by Nameless303 - 17.11.2009, 23:13
Re: Good methods for user accounts? - by Outbreak - 17.11.2009, 23:22
Re: Good methods for user accounts? - by _Vortex - 18.11.2009, 03:29
Re: Good methods for user accounts? - by Outbreak - 18.11.2009, 23:38
Re: Good methods for user accounts? - by BP13 - 19.11.2009, 01:02
Re: Good methods for user accounts? - by cyber_punk - 19.11.2009, 04:18
Re: Good methods for user accounts? - by Sergei - 19.11.2009, 04:56
Re: Good methods for user accounts? - by Y_Less - 19.11.2009, 11:02
Re: Good methods for user accounts? - by MenaceX^ - 19.11.2009, 11:03
Re: Good methods for user accounts? - by Y_Less - 19.11.2009, 11:15
Re: Good methods for user accounts? - by MX_Master - 19.11.2009, 11:38
Re: Good methods for user accounts? - by pagie1111 - 19.11.2009, 11:44
Re: Good methods for user accounts? - by Outbreak - 19.11.2009, 14:14
Re: Good methods for user accounts? - by Y_Less - 19.11.2009, 15:21
Re: Good methods for user accounts? - by Outbreak - 19.11.2009, 19:52
Re: Good methods for user accounts? - by Y_Less - 20.11.2009, 07:53
Re: Good methods for user accounts? - by MX_Master - 20.11.2009, 12:56
Re: Good methods for user accounts? - by Y_Less - 20.11.2009, 13:32
Re: Good methods for user accounts? - by Outbreak - 20.11.2009, 15:56
Re: Good methods for user accounts? - by Y_Less - 20.11.2009, 17:06
Re: Good methods for user accounts? - by Outbreak - 20.11.2009, 17:24
Re: Good methods for user accounts? - by Y_Less - 20.11.2009, 17:36
Re: Good methods for user accounts? - by Outbreak - 20.11.2009, 17:42
Re: Good methods for user accounts? - by Y_Less - 20.11.2009, 18:34
Re: Good methods for user accounts? [SQLite help needed also] - by Dabombber - 21.11.2009, 01:10
Re: Good methods for user accounts? [SQLite help needed also] - by Outbreak - 21.11.2009, 01:29

Forum Jump:


Users browsing this thread: 2 Guest(s)