Turnkey for any database schema Allen Day, Sept 2003 generate a web front end
Turnkey Background Previously known as “gmod-web” Now an Open Source project Active code generator produces DB WWW mapping and display code
Goal: A Web-based front-end for GMOD Minimally providing: Read-only access to Chado and/or GUS Integration with other GMOD web-based projects (gbrowse, textpresso, et al) ~ Additionally: Provide a framework to “plug in” more functionality ~ User preferences, history, shopping cart, forums Data(base) schema/model model agnostic Tested with “All Music Guide” ( datawww.allmusic.com Biopipe ( process tracker in progresswww.biopipe.org
How it works --SQL CREATE TABLE(…) Directed Graph Templates Translator Code Generator DB templates Turnkey Framework Apache / mod_perl
Schema Patterns AA_BB C_E D CE F G J H trivial traversal multipath traversal feedforward traversal ontology directed graph another non-trivial traversal reference / inherits
SQL not Ideal for Modeling A C B Key export = A C B Has A ? A C B Is A ? A C B Combo ?
Credits Brian O’Connor (presenting later) Ken Clark
Model (vs SQL) Driven Generation PostgreSQL = template SQL Model MySQL O/R Map + Controller Perl Java View XML / HTML templates SVG / PNG / Flash = production Increasing platform specificity UML
References SQL::Translator (sqlfairy.sf.net)sqlfairy.sf.net