473,806 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_dat e,
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 1845
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_dat e,
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
1728
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 solution that would provide the following features. Any ideas would be much appreciated. Modification of an existing solution would be acceptable as we have some understanding of PHP and its implementation. 1) Ability to add users (clients) to...
46
5150
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") to populate a drop down but would like to use several drop downs restricting the contents of each drop down to the records pertaining to one
3
3016
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 tool has no root access to the database. I can not maintain or even view structure tables. But I can see the database I defined. following is the content of the my.ini file.
2
1852
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 customer server. Is some possibilities? -- *Pozdrawiam,* Klaudiusz Bryja
7
2163
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 it creates the connection and I can use it in my site. I want to pass the function some values and it uses it. Please take a look at what I have started with and help me how to get it right. Function OpenMsAccessOledbConn(ByVal dbPath As String,...
6
1548
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 others. - Craig Taylor http://www.ctalkobt.net/php
23
2446
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 due to the fact that the "designer" they hired had an unfortunate ability to tink around with a program far beyond her reach. She had no concept of any of the principles of database design, so what i'm left with is a junkpile. The only reason I...
1
1575
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 receiving/executing objects to perform the action. Now please consider the following code: /************ Receiving/executing object code snippet ****************/
5
1554
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 shareware is not yet registered or if the registration code was lost, should there be an "Is it okay to go get your lost registration code?" message box? I've been told that certain firewalls will disallow everything until you've allowed it. I imagine...
0
9719
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9598
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10623
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10373
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5683
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.