Data.fs and blobs, whats in them and how might I access them?
Wondering about data.fs and blobs regarding what might be in each and whether they are accessible or changeable or as it were encrypted/
Mark
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SchoolTool Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2014-03-07
- Last reply:
- 2014-06-10
Tom Hoffman (tom-hoffman) said : | #1 |
The blobs are binary data -- photos, pdfs, etc. Things which are separate files.
mark mcdougall (mmcdouga) said : | #2 |
how might I look into Data.fs ?
Tom Hoffman (tom-hoffman) said : | #3 |
SchoolTool uses the Zope Object Database -- ZODB. It is not a relational database, so it doesn't have tables, and to introspect it directly you (more or less) have to create a Python script that imports the necessary objects from schooltool. You can't just peer into it like a regular relational database. This is, of course, a disadvantage. If we were starting over, we probably wouldn't do it this way, but it does work.
I'm not sure if we have an example of a script lying around.
Emmanuel Awokoya (ewhothinks) said : | #4 |
But in the newest version would you be starting over. Because to me schooltool should be the status quo for users using LInux/Ubuntu for Education especially in managing Schools and educational Institution. Having a relational database could help us modify to suit the purpose of the diversity of different school in different locality. Since most different school have different systems.
Chirag Rajkarnikar (irfire13) said : | #5 |
Is the example script to access the schooltool database available? If so, where can i find it?
Tom Hoffman (tom-hoffman) said : | #6 |
Can you help with this problem?
Provide an answer of your own, or ask mark mcdougall for more information if necessary.