Feature Wiki

Information about planned and released features

Tabs

Question Service for Survey

1 Initial Problem

Survey Questions cannot be embedded in other objects. 

2 Conceptual Summary

Survey Question Service
In a first step, the new area of responsibility Survey Question Service will be created as a new development area. The codebase will be moved to this new room for later refactoring. For further steps, the violations of responsibility which are to be resolved are clearly recognizable.

  • Creation of the new ILIAS service
  • Moving all question related PHP classes into the service directory
  • Modification of all includes to the moved classes
Decoupling 
If the access to data violates the planned responsibilities, these are cleared. Consumers should only know IDs of questions and answeroptions and assign them to results in their own responsibility. Questions and answers no longer require information from consumers.
  • Porting into the question service
  • Abstraction of a new object layer to represent submitted answers
  • Refactoring the existing question classes by integrating the answer objects
  • Abstraction of a new object layer to represent survey results
Question Interface
An API is devised allowing consumers to embed the question.

3 User Interface Modifications

3.1 List of Affected Views

None.

3.2 User Interface Details

None.

3.3 New User Interface Concepts

None.

4 Technical Information

{The maintainer has to provide necessary technical information, e.g. dependencies on other ILIAS components, necessary modifications in general services/architecture, potential security or performance issues.}

5 Privacy Information

No personal data that will need to be stored or processed to implement this feature. 

6 Security Implications

We do not foresee any special security relevant changes.

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

10 Implementation

{The maintainer has to give a description of the final implementation and add screenshots if possible.}

Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

Approval

Approved at {date} by {user}.

Last edited: 30. Apr 2020, 19:19, Tödt, Alexandra [atoedt]