Changeset 172 for Doc/Backend
- Timestamp:
- 12/02/11 15:31:49 (13 years ago)
- Location:
- Doc/Backend
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Doc/Backend/DBInterface.tex
r160 r172 163 163 & description & String & \\ 164 164 & style & String & \\ \hline \hline 165 \multirow{5}{*}{Question} & uid& String & \\165 \multirow{5}{*}{Question} & code & String & \\ 166 166 & title & String & \\ 167 167 & type & String & \\ 168 168 & description & String & \\ 169 169 & category & String & \\ 170 & answers & Array of Strings & String values of possible answers \\ \hline \hline170 & definedanswers & Array of Strings & String values of possible answers \\ \hline \hline 171 171 \multirow{3}{*}{Respondent/User}& uid & String & \\ 172 172 & name & String & \\ … … 197 197 Although the front end developer only uses one general DatabaseInterface, the different files for the different 198 198 datatypes are accessed by seperate connectors. A connector has to implement the IConnector interface, which 199 mainly enforces the get() and set() methods to ensure a connector can perform as expected. In every connector, 199 mainly enforces the get() and set() methods to ensure a connector can perform as expected. The rest of the 200 methods are implemented in the baseclass Connector, which should be extended. In every connector, 200 201 the get() and set() methods are different. A get() method builds the querystring based on the given arguments, 201 202 then retrieves the data and performs other necessary queries (like retrieving a different object from another … … 203 204 \subsection{PHPDoc} 204 205 PHPDoc for the database classes can be found at 205 \href{http://svn.tbm.tudelft.nl/TBM-CPS/RESEARCHTOOL/Doc/Backend/PHPDoc}{SVN}. 206 207 206 \href{http://svn.tbm.tudelft.nl/TBM-CPS/RESEARCHTOOL/Doc/Backend/PHPDoc/index.html}{SVN}. 208 207 209 208 \section{Future Work}\label{futurework}
Note: See TracChangeset
for help on using the changeset viewer.