How do we start designing databases for a CMS ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thefunnycoder
    New Member
    • Jan 2010
    • 2

    #1

    How do we start designing databases for a CMS ?

    I am planning to design a CMS ... Can anyone suggest how to design the database ? I mean, like what sort of basic tables are required, like one for menus, one for pages etc...

    Its a pretty basic one, just for personal use, so can anyone tell me the core tables.. I have a vague idea only !
  • thefunnycoder
    New Member
    • Jan 2010
    • 2

    #2
    p.s : I just need the list of various tables i might have to use ! I can manage the code :D

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      We cannot really tell you what you'll need as we have no idea what your CMS will be doing. If you sit down and think about the design of your CMS, you should be able to see what database structures will be needed. Unfortunately, as I said, we cannot read your mind.

      Comment

      • dlite922
        Recognized Expert Top Contributor
        • Dec 2007
        • 1586

        #4
        Well...followin g what markus said, let's think about it.

        Who will use the CMS... people or users.

        How do we know which users are permitted and who is the average joe from the street? we need to store user information

        So make a table for users, which you should already know -- if you're designing a CMS -- should contain at least an id, username, password hash, name(s), status of user, and maybe some date of their last login or number of times they logged in.

        Will your CMS have news articles or text entries made by the users? There goes another table!

        Continue on like this and soon you'll have your schema.

        By the way, This is called discovery or requirements gathering. Which formally should be done before any design with any formal project.




        Dan

        Comment

        Working...