Actions

Database Storage Engine Project M3 Class diagram: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 16: Line 16:
== General classes==
== General classes==


[[File:general.png]]
[[File:general_.png]]


== Controllers==
== Controllers==

Revision as of 11:16, 9 July 2010

About the milestone

This milestone includes documenting the Database Storage Engine with a class diagram. This will make it easier for future developers to make changes to the database system. This milestone is closely linked to the API milestone since the controllers will have to implement this API.

Todo

  • Identify the important classes and define the data-classes for the system (done)
  • Define the structure of the database designs (done)

Diagrams

There are three big parts in the diagrams: the factory part, the controllers and the general classes. Packages used in the diagrams will not result in namespaces.

General classes

Controllers

Engine factory

The engine classes (like the one in the DBSESF package) are trivial classes (one for each type of table).

Exceptions

The exceptions classes. They will have a message which will describe the exception.

Question types

A list of question types can be found at:

#Mappings_for_QuestionType_classes_to_table_columns

Methods for these classes will be documented when they are implemented.