Enhancement
Better integration of other information resources
Issue description
It should be possible to host files within a Topincs store (in a directory called "files" or "docs" in the store directory or in the database). Files stored should be available as topics. There should be a minimal built-in file ontology which makes it possible to associate other topics with the files, so that one can assign pictures to people, assign generated PDFs to invoices.
Developer comments
The biggest challenge is to find a good solution for the duality that a resource will have in Topincs. There is the topic on the one hand, and then there is the resource itself on the other hand. Many times the resource is more important than the topic.
There should be very little special about files. They have to be modelled as any other topic type, but should be made subtype of 'Local information resource' (upload). This will add the file upload field to the form. Other information resources can be modelled with the subject locator constraint.
Use cases
The software company Modestsoft uses a Topincs store for their staff database. They have digital picture of every staff member and they want to see it on the person page. The schema connects the person topic type via an association type _Photo/Photo of_ with the custom topic type _Photo_. When a person is edited, there is the field _Photo_ (a select box). He selects _New: Photo_ and selects the file in a file dialog, since photo is a normal topic type, other fields, like title, have to be completed as well. On completion of the sub form 'Photo' the file is uploaded. When committing the person form, the person page has one paragraph _Photo_. Since a picture is embeddable a thumbnail of the uploaded photo appears.
Kurt reports a bug and sends a screenshot. Alex creates the bug in the issue tracker store. There is a drop down box screenshot. He selects _New: Screenshot_. The sub form is opened and he selects the file in the file dialog and commits. Since the screenshot is necessary dependent on the bug, it is uploaded only when the bug is saved.
|
Work sessions9
Start |
2011-03-13T16:45:07
|
End |
2011-03-13T17:31:37
|
Participant |
Robert Cerny
|
Summary |
Redesigned header of resources pages to make it clearer that it is document like entity.
|
Start |
2011-03-14T05:33:59
|
End |
2011-03-14T08:13:35
|
Participant |
Robert Cerny
|
Start |
2011-03-26T06:07:43
|
End |
2011-03-26T08:14:01
|
Participant |
Robert Cerny
|
Start |
2011-03-26T11:14:27
|
End |
2011-03-26T13:21:30
|
Participant |
Robert Cerny
|
Start |
2011-03-27T08:13:00
|
End |
2011-03-27T09:51:16
|
Participant |
Robert Cerny
|
Start |
2011-03-27T14:29:19
|
End |
2011-03-27T15:38:50
|
Participant |
Robert Cerny
|
Summary |
Attempt to create thumbnail for PDF.
|
Start |
2011-03-28T07:12:13
|
End |
2011-03-28T13:26:33
|
Participant |
Robert Cerny
|
Start |
2011-03-30T07:18:47
|
End |
2011-03-30T09:35:58
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.