Hello,
Le 9 Février 2005 12:36, IOhannes m zmoelnig a écrit :
An elegant solution would be to create custom content types for
pdb,
Then other documents could use references to pdb entries. Is the PDB database available (as SQL or tab delimited text file)?
That was my thought.
it is currently stored in a mySQL-db, i can export it on demand.
Then could you please send me an archive, or put it somewhere where I can grab it? This weekend, I will create custom types for a similar web application, so it might give me a good idea how to create a "pdb" content type.
Ok fine, I just startet with an UML diagramm (use ARCHGenXML), but the problem was I couldnt decide if we should change some of the fields.
a) The Idea was to use the database to control all objectnames, so people can see what is used and if the write something, they can reserve some objectname or at least some prefix on libraries...
b) The other problem is database or plone: - should we leave the SQL Backend (best to convert it to postgresql and make SQL-Storage AT),
- but since I think nobody will use this backend somewhere else there is no real reason to do so, so just import via script from the database will be fine, and then some other handling has to be made. Anyway references can be made.
c) If we have the ATContent Type we can place all entries in a "Large Plone Folder" or we allow people to handle their entries in their home. but then the problem is with the workflow, who can make it public if not reviewer... or is it only viewable to authentified users...
d) Structure: Since Plone can more than a database, it could be nice to make a hierachy: which is:
Libraries: as Folderish types can only contain object-entries with names.
All Libraries are in a Folderish content called the pddb where only libraries can be added, then we can restrict content creation und this hierachy
so anybody can create his pddb in his home and there is a big one for extra entries.
e) Listing: So we can search over the portal an do a list with a search mask.
Anyhow these are just some Ideas, you are free to use this or not.
mfG winfried