[Publex-developers] Databse
Status: Alpha
Brought to you by:
cyqotiq
|
From: PubleX Developer's M. L. <pub...@li...> - 2007-02-02 22:01:57
|
Hi,
I've been busy for the last few days (end of semester, exams, etc..).
But now I'm back :) and I have a question about DB part of publex.
The database of every project will contain at least 3 tables:
1) TbProject
- PName
- PUsers (form TbUsers)
- PDocuments (from TbDocument)
- other fields (start date, end date, chapters, ..)
2) TbUsers
- UName
- ULevel
- UProject (from TbProject)
ULevel:
- PM
- ProjectEditor
- PublicationControl
3) TbDocument
- DName
- DProject (from TbProject)
- DChapter
... - document contents..
It's obvious that we need some classes describing our project structure.
There is one class: PubleX.PDE.Document but it does not have all the
fields needed by db. When Publex user creates new project the program
should crate the project structure with chapters, asigned users, users
tasks,.. And this functionality does not belong to the Publex.Core.DB
part. Am I right? Do we need to create this classes inside PubleX.PDE ??
Regards,
harnas
|