Changeset 12906
- Timestamp:
- 6 May 2015, 08:09:33 (10 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/academics.rst
r12863 r12906 4 4 **************** 5 5 6 .. contents:: 7 :local: 6 Academic bodies of universities are hierarchically structured. A university contains faculties which again host departments. The latter offer course (course units) and study programmes (courses of study). A course is series of classes or lessons on a particular subject. This can be a lecture, tutorial, seminar, practical work offered by a lecturer of the department over a period of an academic term. A course can also be only an exam at the end of an academic term. A study programme is defined by a set of course units to be taken at various programme levels and by an academic degree certificate, which is issued at the end of the programme. Information about universities, their study programmes, lecturers and courses can be found in the university prospectus. 8 7 9 Introduction 8 Kofa's academic section takes on the task of the university prospectus. It is build to disseminate information about faculties, departments, courses, study programmes and the sets of courses to be taken. The academic section reflects exactly the universities' hierarchical structure as described above. Technically speaking, the academic section is a container of type `FacultiesContainer` with id ``academics`` which contains faculty sub-containers. They again contain department sub-objects, nothing else. This leads to a :ref:`treelike storage of objects <object_database>`. 9 10 Faculties 11 ========= 12 13 Faculties are container objects of type `Faculty`. They have a `code`, a `title` and a `title_prefix` attribute. Furthermore, faculties and departments have a `longtitle` property which :py:func:`composes <waeup.kofa.university.faculty.longtitle>` and returns the full title as it appears in tables, in breadcrumbs and in many other places: 14 15 `longtitle` = `title_prefix` + `title` (`code`) 16 17 The following :ref:`local roles <local_roles>` can be assigned at faculty level: 18 19 .. autoattribute:: waeup.kofa.university.faculty.Faculty.local_roles 20 21 Departments 22 =========== 23 24 Additionally, each department object has the attributes `certificates` and `courses`. These attributes again are containers which hold certificate and course objects respectively. A :py:meth:`traverse <waeup.kofa.university.department.Department.traverse>` method leads the user to believe that `certificates` and `courses` are the ids of objects stored inside a department container. De facto they are not. However, it doesn't matter if we store a sub-object 'in' or 'at' a parent object. The result is exactly the same: :ref:`a hierarchical, treelike storage of objects <object_database>`. 25 26 The following :ref:`local roles <local_roles>` can be assigned at department level: 27 28 .. autoattribute:: waeup.kofa.university.department.Department.local_roles 29 30 Courses 31 ======= 32 33 The `Course` class inherits from `grok.Model` which means it is designed as a pure model and not a container. Courses are tips of the database tree branches. Course objects contain information as they are offered by the department. In the base package these are: `code`, `title`, `credits`, `passmark`, `semester` and the boolean attribute `former_course`. They also have a `longtitle` property. A former course is an archived course which had been offered in the past. 34 35 .. note:: 36 37 Only the department, which offers the course, decides how many credits can be earned, which pass mark must be achieved and in which semester the course can be taken. The manager of the department cannot decide whether a course is mandatory or not, or at which study level the course has to be taken when studying a certain programme. This information is stored in `CertificateCourse` objects, see below. Therefore it does not make sense to speak e.g. of a 300 level course. Also course codes like ``AEE311``, which tell the student that the course is primarily intended for 300 level students, is somehow misleading. There might be other study programmes which recommend to take this course already at level 200. 38 39 The following :ref:`local roles <local_roles>` can be assigned at course level: 40 41 .. autoattribute:: waeup.kofa.university.course.Course.local_roles 42 :noindex: 43 44 Certificates 10 45 ============ 46 47 In Kofa, the terms 'certificate' and 'study programme' are used synonymously. A certificate object holds information about the study programme. Important data for further processing in Kofa are: the various school fees to be paid at certain levels, programme start and programme end level, the mode of the study course and, last but not least, the application category to which the programme belongs. 48 49 Certificates are also containers which contain `CertificateCourse` objects. That means a certificate defines the list of course units which have to or can be taken within the programme. 50 51 The following :ref:`local roles <local_roles>` can be assigned at certificate level: 52 53 .. autoattribute:: waeup.kofa.university.certificate.Certificate.local_roles 54 :noindex: 55 56 Certificate Courses 57 =================== 58 59 60 -
main/waeup.kofa/trunk/docs/source/userdocs/datacenter/intro.rst
r12870 r12906 1 .. _ intro:1 .. _datacenter_intro: 2 2 3 3 Introduction 4 4 ************ 5 6 .. _object_database: 5 7 6 8 The Object Database … … 80 82 .. note:: 81 83 82 Although exporters are part of Kofa's batch processing module, we will83 not call them batch processors. Only importers are called batch84 processors. Exporters produce CSV files, importer process them.84 Although exporters are part of Kofa's batch processing module, we will 85 not call them batch processors. Only importers are called batch 86 processors. Exporters produce CSV files, importer process them. 85 87 86 88 -
main/waeup.kofa/trunk/docs/source/userdocs/security.rst
r12900 r12906 234 234 :noindex: 235 235 236 .. _local_roles: 237 236 238 Local Roles and Dynamic Role Assignment 237 239 ======================================= -
main/waeup.kofa/trunk/src/waeup/kofa/university/department.py
r12620 r12906 78 78 79 79 def traverse(self, name): 80 """Deliver appropriate containers, if someone wants to go to courses 81 or departments.80 """Deliver appropriate containers, if someone wants to go to courses, 81 certificates or exports. 82 82 """ 83 83 if name == 'courses':
Note: See TracChangeset for help on using the changeset viewer.