Changes between Version 12 and Version 13 of Modules
- Timestamp:
- 2011-01-31T10:26:07+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Modules
v12 v13 1 Status: this is under development for MOLGENIS 4.0 2 Don't expect this if you use MOLGENIS 3.x! 1 = Modules = 2 3 Status options? 4 5 || Planned || Scheduled to start work || 6 || W.I.P. || Currently under development || 7 || Prototype || One or more first implementations exists for review || 8 || Draft || Working towards final version, working demo || 9 || Finished || Module is done, but can undergo fixes or small changes || 10 11 List of modules 12 13 || Name || Description || Applications || Status || Screenshot || 14 || !StudyBook || Shows an overview of elements in a study, for example InvestigationElements, Data and Files. || XGAP, Pheno, NGS || Prototype || [ x ] || 15 || !MatrixViewer || Browse matrix data, allows twodimensional filtering, sorting and searching. || .. || || || 16 || || || || || || 17 18 Status: this is under development for MOLGENIS 4.0 Don't expect this if you use MOLGENIS 3.x! 3 19 4 20 = Architectural overview = 21 MOLGENIS is organized as a set of modules which we call plugins. Each plugin adds a combination of 5 22 6 MOLGENIS is organized as a set of modules which we call plugins. Each plugin adds a combination of7 23 * MolgenisModels - models that use the domain specific language to define functionality compactly 8 24 * MolgenisGenerators - templates that expand the models into working software 9 * MolgenisComponents - 10 and/or handwritten code. Other plugins may extend other plugins to yet add more functionality. The first plugin where all others build upon is the MOLGENIS database core. The last plugin is typically a fully functional application that assembles other plugins 25 * MolgenisComponents - 26 27 and/or handwritten code. Other plugins may extend other plugins to yet add more functionality. The first plugin where all others build upon is the MOLGENIS database core. The last plugin is typically a fully functional application that assembles other plugins 11 28 12 29 TODO core architectural picture. … … 17 34 18 35 = Extension mechanism = 36 Each building block may add framework code, model extensions, generators and/or models. In this last case the module may regeneration against the last versions before it can be used (which we can do automatically?). After that we could use a osgi drop in mechanism to add the produce funtionality into a running system. 19 37 20 Each building block may add framework code, model extensions, generators and/or models. 21 In this last case the module may regeneration against the last versions before it can be used (which we can do automatically?). 22 After that we could use a osgi drop in mechanism to add the produce funtionality into a running system. 38 Design 0: simply link to projects In this procedure the model files are puth on classpath and can be simply imported. The code has to be generated by the imported projects themselves. This is ideal for development (as long as re-generation is a one push on a button event and checks if generators are changed (hash or something)). 23 39 24 Design 0: simply link to projects 25 In this procedure the model files are puth on classpath and can be simply imported. 26 The code has to be generated by the imported projects themselves. 27 This is ideal for development (as long as re-generation is a one push on a button event and checks if generators are changed (hash or something)). 40 Design 1: linking in code We imagine a procedure where when a user runs the generator (ant script, nothing else) 28 41 29 Design 1: linking in code 30 We imagine a procedure where when a user runs the generator (ant script, nothing else) 31 - downloads the core molgenis and starts the model parser/generator 32 - when <import="db" .../> is in your local model dependencies are automatically checked out from svn to /generated/java (incl libs!) 33 - each of these dependencies is regenerated in dependency order 34 - tests run to verify that the modules are sanitized (no compile errors, test cases work) 35 - and then produced as osgi modules that are simply loaded by the current project during the rest of development 42 * downloads the core molgenis and starts the model parser/generator 43 * when <import="db" .../> is in your local model dependencies are automatically checked out from svn to /generated/java (incl libs!) 44 * each of these dependencies is regenerated in dependency order 45 * tests run to verify that the modules are sanitized (no compile errors, test cases work) 46 * and then produced as osgi modules that are simply loaded by the current project during the rest of development 47 36 48 And have a 'clean' action to redo the procedure. 37 49 38 Design 2: downloading maven/osgi modules. 39 We imagine a procedure where when a user runs the generator from maven (maven pom + molgenis core as plugin, nothing else) 40 - downloads all depedencies using maven model (all MOLGENIS settings should be in this model as well to keep it simple?) 41 - add generate tasks to maven to get all stuff done 50 Design 2: downloading maven/osgi modules. We imagine a procedure where when a user runs the generator from maven (maven pom + molgenis core as plugin, nothing else) 51 52 * downloads all depedencies using maven model (all MOLGENIS settings should be in this model as well to keep it simple?) 53 * add generate tasks to maven to get all stuff done 54 42 55 Complicating factor here is that the maven repos should be rebuild now and then. 43 56 44 57 We could allow both design 1 and 2 in order to speed up development? 45 58 46 i.e. organize maven compatible but still allow ant.xml type of interactions to do this low-tech. 47 Or use maven in the back and don't necessarily bother the user with it. 59 i.e. organize maven compatible but still allow ant.xml type of interactions to do this low-tech. Or use maven in the back and don't necessarily bother the user with it. 48 60 49 61 = Core modules = 50 These are the foundational building blocks that can be reused between all MOLGENIS applications. 51 Package org.molgenis.* 62 These are the foundational building blocks that can be reused between all MOLGENIS applications. Package org.molgenis.* 52 63 53 64 Core: 54 * [wiki:Plugins/OrgMolgenis core] - core platform of model (parsers), generators and util packages 65 66 * [wiki:Plugins/OrgMolgenis core] - core platform of model (parsers), generators and util packages 55 67 * [wiki:Plugins/OrgMolgenisDb db] - database interface framework on top of MySQL, PostgreSQL and HypersonicSQL (extends core) 56 * [wiki:Plugins/OrgMolgenisExchange exchange] - file import/export mechanisms from and to csv, tab, excel, (xml), etc (extends db) 68 * [wiki:Plugins/OrgMolgenisExchange exchange] - file import/export mechanisms from and to csv, tab, excel, (xml), etc (extends db) 57 69 * [wiki:Plugins/OrgMolgenisApi api] - application programming interfaces to Java, R, REST, SOAP, RDF, etc on top of Db (extends exchange) 58 * [wiki:Plugins/OrgMolgenisUi ui] - web user interface framework with forms, menus and plugins (extends api) 70 * [wiki:Plugins/OrgMolgenisUi ui] - web user interface framework with forms, menus and plugins (extends api) 59 71 * [wiki:Plugins/OrgMolgenisCompute compute] - compute interface framework for short, long and parallel running computations (extends ui?) 60 72 61 Discussion: 62 ui could be moved to depend on core only, and then have other packages extend on that to add particular UI components for db, compute, etc. 63 Or have separate ui extensions like ui.db, ui.compute, etc. 73 Discussion: ui could be moved to depend on core only, and then have other packages extend on that to add particular UI components for db, compute, etc. Or have separate ui extensions like ui.db, ui.compute, etc. 64 74 65 = Components = 66 These are the semi-finished building blocks that can be shared between different applications to reuse common work. 67 These components typically provide data model (modules) that need to be generated before a plugin is ready to use. 68 Hence, there is a need to regenerate on the first installation of the plugin. 69 package org.molgenis.* 75 = Components = 76 These are the semi-finished building blocks that can be shared between different applications to reuse common work. These components typically provide data model (modules) that need to be generated before a plugin is ready to use. Hence, there is a need to regenerate on the first installation of the plugin. package org.molgenis.* 70 77 71 78 Cross cutting: 79 72 80 * [wiki:Component/OrgXgapAuth auth] - secure authentication and sharing framework (extends ui) 73 81 * [wiki:Component/OrgXgapVersionable versionable] - mechanism to have versioned data elements by simply extending an interface 74 82 75 Discussion: need ability to weave this in later, like a special decorator that is applied everywhere? 76 Or should we just make these core features and move it into db package? 83 Discussion: need ability to weave this in later, like a special decorator that is applied everywhere? Or should we just make these core features and move it into db package? 77 84 78 85 Generic: 86 79 87 * [wiki:Component/OrgXgapOnto molgenisdata.onto] - for using ontologies including tree based browser, search box (extends ui) 80 88 * [wiki:Component/OrgXgapMatrix molgenisdata.matrix] - for working with matrix like data having 'dimensionelements' and 'dataelements' 81 * [wiki:Component/OrgXgapProtocol molgenisdata.protocol] - for track and tracing of materials/data, protocols, protocolapplications (compatible with MAGE-TAB SDRF) 89 * [wiki:Component/OrgXgapProtocol molgenisdata.protocol] - for track and tracing of materials/data, protocols, protocolapplications (compatible with MAGE-TAB SDRF) 82 90 * [wiki:Component/OrgXgapTool tool] - for integrating R scripts onto the application (extends protocol, compute) 83 91 * [wiki:Component/OrgXgapMaterialTracker tool] - for integrating R scripts onto the application (extends protocol) 84 92 85 93 Domain: 94 86 95 * [wiki:Component/OrgXgapLocus locus] - tools for managing and browsing genomic sequence annotations 87 96 * [wiki:Component/OrgXgapPheno pheno] - for representing deep phenotypic data collected in clinics and the field (extends onto, tracker, matrix) … … 90 99 More ideas: pedigree, comments 91 100 92 93 101 = Applications = 94 102 Systems are ready to use and download. Ideally end users would be able to choose from these online. 95 103 96 104 * [wiki:Apps/PhenoTrackerMolgenis PhenoTracker] - for storing phenotypics annotations on individuals and panels 97 * [wiki:Apps/GwasMolgenis GwasPlatform] - for GWAS studies like in EU-GEN2PHN, LifeLines and BBMRI-NL 105 * [wiki:Apps/GwasMolgenis GwasPlatform] - for GWAS studies like in EU-GEN2PHN, LifeLines and BBMRI-NL 98 106 * [wiki:Apps/QtlMolgenis QtlPlatform] - for QTL studies in model organisms like EU-Panacea 99 107 * [wiki:Apps/MutationMolgenis MutationTracker] - for locus specific annotations (extends pheno, muta) … … 101 109 * 102 110 103 104 111 = Ideas for more enhancements = 105 106 112 == Core == 107 113 * [wiki:Plugins/OrgMolgenisUi/Theme ui.theme] - catalog of UI web themes for MOLGENIS applications the use can choose from (extends ui)