Opinions needed: CMS database & admin interface structure

This is a discussion on Opinions needed: CMS database & admin interface structure within the PHP Language forums, part of the PHP Programming Forums category; Hi all freaks! I have been thinking hard, what would be good solution for a straight-forward content management. I ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-03-2004
Perttu Pulkkinen
 
Posts: n/a
Default Opinions needed: CMS database & admin interface structure

Hi all freaks!

I have been thinking hard, what would be good solution for a
straight-forward content management. I want to forget polls and forms etc..
and concentrate first only on different kinds of pages.

I came up with this approach in "nightly vision", wich felt very flexible.

ADMIN FORMS
**************
- customised to different purposes: news, articles, contact information
pages etc...
- they all submit data to SAME table, calles NODES
- certain forms take anvantage of HTMLArea-solution in certain fields, which
degrades to textarea in older browsers

ABOUT DATABASE
*****************
NODES TABLE
- has enough fields to most of the purposes
- each node is connected to one author, 0..N..limitless number of editors,
o...n images and to 1 template.
- id, title, introtext, bodytext, author_id, template_id, publication_date,
etc...
- also couple of ordinary linkfields for those authors who dont write html.

AUTHORS TABLE
- stores author information

EDITORS TABLE
- connects editors, rights and nodes
- author can give rights to certain editors to edit certain mode that he has
created

IMAGES TABLE
- stores images

NODELINKS TABLE
- connects one node to another
- innodb -> links are always valid because when page disappears, links to it
disappear also!

IMAGELINKS TABLE
- connects images to nodes
- innodb -> links are always valid because when page disappears, links to it
disappear also

TEMPLATES TABLE
- html/php-templates: infopage, personnel info, news_page etc...

So, my idea is:
1) one basic table (nodes) with some other tables is enougfh for many kinds
of tables, because then templates make different kinds of pages to look and
feel different
2) node has user rights that nodes author gives to 0..n..limitless editors
in addition to himself. In this way node is useful to many kinds of
purposes, from company news-collection to public visitor book
3) this works both as text-based and wysyiwyg cms, depending on the authors
skills - and browser.

Is this idea as good as it look to me still? I feel that the number of
different applications is reduced by this solution. I hope I was able to
explain what I mean. If you dont' get my idea, please ask more.

- perttu pulkkinen, jkl







Reply With Quote
  #2 (permalink)  
Old 05-04-2004
Terence
 
Posts: n/a
Default Re: Opinions needed: CMS database & admin interface structure

Go for it dude :)

Worst thing that could happen is that you'll learn from the experience.



Perttu Pulkkinen wrote:

> Hi all freaks!
>
> I have been thinking hard, what would be good solution for a
> straight-forward content management. I want to forget polls and forms etc..
> and concentrate first only on different kinds of pages.
>
> I came up with this approach in "nightly vision", wich felt very flexible.
>
> ADMIN FORMS
> **************
> - customised to different purposes: news, articles, contact information
> pages etc...
> - they all submit data to SAME table, calles NODES
> - certain forms take anvantage of HTMLArea-solution in certain fields, which
> degrades to textarea in older browsers
>
> ABOUT DATABASE
> *****************
> NODES TABLE
> - has enough fields to most of the purposes
> - each node is connected to one author, 0..N..limitless number of editors,
> o...n images and to 1 template.
> - id, title, introtext, bodytext, author_id, template_id, publication_date,
> etc...
> - also couple of ordinary linkfields for those authors who dont write html.
>
> AUTHORS TABLE
> - stores author information
>
> EDITORS TABLE
> - connects editors, rights and nodes
> - author can give rights to certain editors to edit certain mode that he has
> created
>
> IMAGES TABLE
> - stores images
>
> NODELINKS TABLE
> - connects one node to another
> - innodb -> links are always valid because when page disappears, links to it
> disappear also!
>
> IMAGELINKS TABLE
> - connects images to nodes
> - innodb -> links are always valid because when page disappears, links to it
> disappear also
>
> TEMPLATES TABLE
> - html/php-templates: infopage, personnel info, news_page etc...
>
> So, my idea is:
> 1) one basic table (nodes) with some other tables is enougfh for many kinds
> of tables, because then templates make different kinds of pages to look and
> feel different
> 2) node has user rights that nodes author gives to 0..n..limitless editors
> in addition to himself. In this way node is useful to many kinds of
> purposes, from company news-collection to public visitor book
> 3) this works both as text-based and wysyiwyg cms, depending on the authors
> skills - and browser.
>
> Is this idea as good as it look to me still? I feel that the number of
> different applications is reduced by this solution. I hope I was able to
> explain what I mean. If you dont' get my idea, please ask more.
>
> - perttu pulkkinen, jkl
>
>
>
>
>
>
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0