User:Jskladan/Sandbox:Reading ResultsDB Code
- ResultsDB Git 
- TG2.1 Docs 
- TG2.1 Docs - Directory structure 
- ResultsDB Input API 
- SQLAlchemy Expressions: http://www.sqlalchemy.org/docs/05/sqlexpression.html http://www.sqlalchemy.org/docs/orm/tutorial.html?highlight=query%20filter#querying
How to read ResultsDB Code
ResultsDB is written using TurboGears2 Web Framework, which has quite awesome documentation itself , so I won't go into much detail, but just pass links to the appropriate parts of the documentation.
Detailed information about the directory structure can be found in the TG2.1 Docs . For ResultsDB, the interesting stuff happens in
This is the 'center point' of all the ResultsDB functionality, that is the XMLRPC interface.
Server as the 'wrapper' for the xmlrpc controller. It can also provide functionality for web interface, if we ever decide that ResultsDB should have a 'native' one and not just standalone frontends.
class XmlRpcController(XMLRPCController, InputApi, OutputApi)
Just an 'aggregation' class, which provides the XMLRPC interface (
XMLRPCControlled), and also the methods for storing (
InputApi) or retrieving (
OutputApi) data to/from ResultsDB.
Implementation of the API for storing data in ResultsDB. More information.
Placeholder for the future implementation.