new content system
Posted: Mon Aug 30, 2004 1:46 pm
Well, before reading, be aware that these are just propositions, so feel free to discuss about it.
I've thought about content management, and here is what i found out :
- contents, whatever they are, have a certain number of common properties
- each type of content have specific attributes.
If we think in re-useability and factorization of code, it implies that all which is common should be treated by a common framework, all which is content specific should be treated by the content itself.
My point of view is that contents should be thought as a "unix filesystem". What does it mean :
- a specific content can be thought as a filetype : it has a owner, rights, it is included in a directory; but it also needs a specific editor / viewer.
- it can be symbolic link
So what i propose is to build the contents management like a filesytem :
1. Common properties of contents / files (perhaps not exhaustive)
- owner
- group
- status (draf, published, anything else)
- permissions for groups
- name
- parent folder
- hierarchy level
This should be managed by a content class. Each specific class should inherit this one.
2. Specific content (perhaps not exhaustive)
- show itself
- edit itself
- preview itself
3. Folders
We also need folders (think of it as sections). Each folder can either be clickable or not.
- if not clickable, folders will just act like sections acted before, it's just a container
- if clickable, 2 choices
* it has a default page which show when you click on it
* it has no default page, and therefore should show a list of it's content, like thumbnails (this will call each content preview function : that's the content work to now how it should be previewed)
If you want an idea of what it "could" look like take a look at :
http://mystick.ksa.free.fr/tigrou/siteframe/web
================
We should be able to navigate content the same way we navigate a filesystem :
- see either in flat or tree-like (this is true for admin AND menus)
- enter folders, go back to parent (this is true for admin AND menus)
- cut, copy, paste, link
================
By giving group rights to a folder, you only people form this group can add / modify content within the folder, just like you can do with rwx under unix.
Well these are just very basic ideas and only my point of view. I'm waiting for comments.
I've thought about content management, and here is what i found out :
- contents, whatever they are, have a certain number of common properties
- each type of content have specific attributes.
If we think in re-useability and factorization of code, it implies that all which is common should be treated by a common framework, all which is content specific should be treated by the content itself.
My point of view is that contents should be thought as a "unix filesystem". What does it mean :
- a specific content can be thought as a filetype : it has a owner, rights, it is included in a directory; but it also needs a specific editor / viewer.
- it can be symbolic link
So what i propose is to build the contents management like a filesytem :
1. Common properties of contents / files (perhaps not exhaustive)
- owner
- group
- status (draf, published, anything else)
- permissions for groups
- name
- parent folder
- hierarchy level
This should be managed by a content class. Each specific class should inherit this one.
2. Specific content (perhaps not exhaustive)
- show itself
- edit itself
- preview itself
3. Folders
We also need folders (think of it as sections). Each folder can either be clickable or not.
- if not clickable, folders will just act like sections acted before, it's just a container
- if clickable, 2 choices
* it has a default page which show when you click on it
* it has no default page, and therefore should show a list of it's content, like thumbnails (this will call each content preview function : that's the content work to now how it should be previewed)
If you want an idea of what it "could" look like take a look at :
http://mystick.ksa.free.fr/tigrou/siteframe/web
================
We should be able to navigate content the same way we navigate a filesystem :
- see either in flat or tree-like (this is true for admin AND menus)
- enter folders, go back to parent (this is true for admin AND menus)
- cut, copy, paste, link
================
By giving group rights to a folder, you only people form this group can add / modify content within the folder, just like you can do with rwx under unix.
Well these are just very basic ideas and only my point of view. I'm waiting for comments.