Page 1 of 4 1234 LastLast
Results 1 to 16 of 52

Thread: My own CMS

  1. #1
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts

    My own CMS

    Well i've been juggling between the decision whether to use a pre-made CMS or make my own. Since i've just finished all my exams i have quite a bit of time on my hands now so i've deciced to make my own. The reason being is that it can be specific to my needs and i'll know how to use it etc.

    Now, here's what i want from it.

    Areas - about, contact page etc.
    Blog - you can guess
    Articles - just tutorials/articles really
    Project logs - i'll be working on some projects (proper ones) soon

    Now i'll have a user system so i can login to an admin page and then add the info that i want. This means i'll have to link tables I suppose?

    So i'll login, then i'll be able to add info to the blog, the articles and the project logs and other areas as well as edit them or delete them. This is quite basic really but i just need to know how to do the database mainly.

    The user table would link to all other tables i suspect?

    Can anyone give me any insight on what to do from that information?

    Cheers

  2. #2
    Registered+
    Join Date
    Mar 2004
    Posts
    18
    Thanks
    0
    Thanked
    0 times in 0 posts
    Yeah, basically a one-to-many relationship on the blogs, articles and project tables.

  3. #3
    Bodybuilding Jesus
    Join Date
    Jan 2004
    Location
    Leicester
    Posts
    290
    Thanks
    0
    Thanked
    0 times in 0 posts
    You need to take an orthadox object orientated system (OO-S) approach if you want you project to be successful, this would involve:

    User requirement spec. - What do you want it for/to do?
    Use case diagram - Admin/User interactions
    Class diagram - Functional interaction

    After you have worked all that out, you can then make a real stab at your system and will at this point have a complete idea and goal as to how to undertake the project. Doing in 2 footed will result in cock-ups down the line which will be a lot more complex once data is entered to the database (Access 2003?).

  4. #4
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Quote Originally Posted by ozzyo99
    You need to take an orthadox object orientated system (OO-S) approach if you want you project to be successful, this would involve:

    User requirement spec. - What do you want it for/to do?
    Use case diagram - Admin/User interactions
    Class diagram - Functional interaction

    After you have worked all that out, you can then make a real stab at your system and will at this point have a complete idea and goal as to how to undertake the project. Doing in 2 footed will result in cock-ups down the line which will be a lot more complex once data is entered to the database (Access 2003?).
    I've done database management before, i know about planning etc

    Access, no thanks!

  5. #5
    Bodybuilding Jesus
    Join Date
    Jan 2004
    Location
    Leicester
    Posts
    290
    Thanks
    0
    Thanked
    0 times in 0 posts
    Access is actually a very good program, but ok

  6. #6
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    I did a course with access for 3 gruelling months. I hated it :S It's nowhere near as good as mySQL and other decent databases. It can't handle as many entries as SQL and so forth.

    I'm just planning it out now, will post a pic of the layout soon

  7. #7
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    EDIT: Removed image

    That's the plan so far. Basically you need to login to the user table in order to enter any data.

    user_name is used in project logs and the blog. Comments are added to project logs and to the blog.
    Last edited by Kezzer; 01-02-2005 at 06:49 PM.

  8. #8
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,734
    Thanks
    39
    Thanked
    75 times in 56 posts
    what datbase are you planning to use for this ?
    It is Inevitable.....


  9. #9
    Pixel Abuser Spunkey's Avatar
    Join Date
    Nov 2003
    Location
    Milton Keynes
    Posts
    1,523
    Thanks
    0
    Thanked
    0 times in 0 posts
    Personally I'd put User_Name in the user table and get it from there when i need to, simply to avoid data duplication, and also to aid maintenance should someone want to change username.

    I assume you're also going to have foreign keys linking the user table & Project/Blog/Content tables as well, just that they arent listed.

  10. #10
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Quote Originally Posted by rubbishrubbishrubbishrubbishrubbishey
    Personally I'd put User_Name in the user table and get it from there when i need to, simply to avoid data duplication, and also to aid maintenance should someone want to change username.

    I assume you're also going to have foreign keys linking the user table & Project/Blog/Content tables as well, just that they arent listed.
    I am having user_name in the user table and getting it from there. I'm getting the entry name from the table user hence the "user_name" There is no duplication.

    Yup, foreign keys linking to the blog and project. They won't be needed for content.

    I'll be using mySQL ikonia
    Last edited by Kezzer; 01-02-2005 at 02:45 PM.

  11. #11
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Ok i've changed the image so now you can see where the foreign keys are and i realised i don't need a link for the content at all as the content will be the rest of the website (like the about page and so forth).

    EDIT: Give me some hints!

  12. #12
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts


    Ok, updated the image so it should now include everything needed (i hope)

    Anything that's wrong with it? I've got more design areas to do yet but i want to know if that's all i need for the database. Then i've got to learn how to do joins and what exactly to join

  13. #13
    Member
    Join Date
    Aug 2003
    Location
    Glasgow
    Posts
    132
    Thanks
    0
    Thanked
    0 times in 0 posts
    http://www.opensourcecms.com/

    I have been testing this one out (CSS/XHTML out of the box).
    http://www.etomite.org/

    If u dont build one yourself that is..

  14. #14
    Purple Member
    Join Date
    Aug 2004
    Location
    Nottingham
    Posts
    1,814
    Thanks
    22
    Thanked
    30 times in 23 posts
    • Tarffie's system
      • Motherboard:
      • Abit IP-35 Pro
      • CPU:
      • Q6600
      • Memory:
      • 2gb Crucial Ballistix Tracer DDR2 (PC2-8500C5)
      • Storage:
      • 250gb + 500gb
      • Graphics card(s):
      • 8800GT 512mb w/ Accelero S1
      • PSU:
      • Corsair HX620
      • Case:
      • Antec P182
      • Operating System:
      • Windows 7
      • Monitor(s):
      • Dell 2408wfp & 2405fpw
      • Internet:
      • Virgin Media 50Mb/s
    Passwords/security for your users?

    Wouldn't it be easier to have one table called where all the content goes then categories inside that so you have one form and you select a category (Blog, Articles etc) for each entry and then have the contents of each category appear on seperate pages?

  15. #15
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    You haven't got a key from comments to Articles, Blogs, etc. How are you going to know which it's associated to ?

    Also to avoid any issues I'd create one table called items and have id, title, date, content, username, item_type_id in it then another called item_types with id, item_type so that your articles, blogs and project logs are in one table and you could change a blog to an article easily. Also your comments would then not require some field that defines what table they are linked to

    No point in having 3 tables with exactly the same fields doing exactly the same thing

  16. #16
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    Oh and content needs a key to the items table or to your exsiting tables such as blogs if you decide to keep them (which would be a bad idea )

Page 1 of 4 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need a decent CMS...
    By Kezzer in forum Software
    Replies: 14
    Last Post: 03-06-2007, 10:56 PM
  2. Are There Any Decent Free CMS Systems?
    By Jonny M in forum Software
    Replies: 3
    Last Post: 13-09-2003, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •