You are here: Re: Table schema for user login system? « PHP Programming Language « IT news, forums, messages
Re: Table schema for user login system?

Posted by Jerry Stuckle on 09/30/07 20:41

bob.chatman@gmail.com wrote:
> On Sep 30, 5:45 am, "Sanders Kaufman" <bu...@kaufman.net> wrote:
>> "Jerry Stuckle" <jstuck...@attglobal.net> wrote in message
>>
>> news:WeCdneLtDcJVNmPbnZ2dnUVZ_q_inZ2d@comcast.com...
>>
>>> Sanders Kaufman wrote:
>>>> I'm woring on a similar situation.
>>>> I've got a userid, username, emailaddress and password.
>>>> But I also want fields for login_cookie, last_login, and parent_user.
>>>> I don't really WANT to create whole nother table to track that stuff, but
>>>> good design dictates that I should.
>>> And what "good design" is that? Definitely not normalization.
>> Definitely normalization.
>>
>>
>>
>>>> The question becomes - if I break atomicity for expedience's sake, what
>>>> will be the consequences?
>>> --
>>> ==================
>>> Remove the "x" from my email address
>>> Jerry Stuckle
>>> JDS Computer Training Corp.
>>> jstuck...@attglobal.net
>>> ==================
>
> Has anyone got any benchmarks or profiling data to back up their
> claims? i have never noticed any performance increases based on
> setting up a database to be set up in the, for lack of a better label,
> "Everything belonging to the user in the user table" form versus the
> "Spread it out and call it normalized" form. There is of course merit
> to both options, but i think that it would be better to stop
> speculating and start supporting the information.
>
> I am working on a paper on this stuff so if i try to back something up
> with "Sanders Kaufman" or "Bruno Barros" said it wont come across very
> well.
>

I could comment in more detail on this, with a lot of examples.
However, this is not the correct newsgroup for discussion database
design. I would be interested in discussing it more in an appropriate
newsgroup, such as comp.databases.mysql.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация