CHIRON: A FRAMEWORK FOR BUILDING WEB INTERFACES
Web interfaces into different data sources or services often contain many lines of duplicated code. To minimize the amount of duplication, we have developed a framework, named Chiron after one of CHRONOSs offspring in Greek mythology, for building web interfaces. This open-source, cross-platform framework takes care of common web interface tasks like navigation, parsing user input, and handling downloads so the developer can focus on writing the interface-specific code.
The main design goal for Chiron was modularity. The developer should only have to write the code to connect a database once. For all future web interfaces requiring database connectivity, he/she can simply reuse the database module written before. This highly modular design allows the developer to pick and choose from existing or newly developed modules to build the exact interface required.
Besides maximizing code reuse, the other benefit of Chiron's modular design is nearly infinite flexibility and extensibility. The framework is not tied to any specific application. Interfaces built on Chiron are currently being used by CHRONOS to provide database search capabilities, geologic timescale rendering capabilities, and dynamic web service invocation and experimentation capabilities. In addition to these scientific tasks, Chiron has also been used as a file sharing and blogging platform.
Chiron achieves its modularity by partitioning the interface code into the natural dichotomy of Resources and Services. Resource modules define the mechanism for retrieving data from some particular source. Service modules define the actions that should be performed on the data retrieved from Resources.