473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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



Jul 17 '05 #1
1 1818
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


Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jamie Meredith | last post by:
We are a small graphic design firm who is fighting a growth spurt which has resulted in an overload in our handling of email and proofing. We are looking for a pre-built, open source PHP/MYSQL...
46
by: Kingdom | last post by:
In my data base I have a list of componet types e.g. type A - I have 8 off - type B I have 12 off etc. I'm using Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM Parts_Table") ...
3
by: Fouad El Sioufy | last post by:
Hi to all, a few days ago I installed MySql 5.0 alpharelease (on WinXP). Works fine. I also decided to use WinMySqlAdmin, which starts and stops the Database korrect. But it seems, that the...
2
by: bryja_klaudiusz[at]poczta[dot]fm | last post by:
Hi, How to copy database diagram (all data) to other server using only MSDE server and VS.Net Proffesional? I have no Enterprice manager. I have to move database (create on my machine) to my...
7
by: momo | last post by:
Hello to all, I need some help. I am looking for a database connection function that I can use in my ASP.NET site. This would be in VB.NET. What I want to be able to do is call the function and...
6
by: Craig Taylor | last post by:
Just curious as to opinions on the best DB interface for mysql ... I typically use the PEAR DB package but curious as to what others see as strengths and weaknesses in PDO, native mysql drivers and...
23
by: JohnH | last post by:
I'm just recently come to work for an auto brokerage firm. My position involves performing mysterious rites, rituals and magick in order to get information out of their access database. This is...
1
by: Jeroen | last post by:
For a hobby project, I'm discovering the "undo/redo"- and "Command objects"- design patterns. In my specific project, I want: 1. The command objects to just hold the data; and 2. The...
5
by: JT | last post by:
Hi, I would like opinions on a shareware issue. If shareware uses an online database to hold registration codes, which get copied locally and therefore only needs to check online if the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.