Add comments/questions to MelangeModuleArchitecture wiki page. git-svn-id: http://soc.googlecode.com/svn/wiki@3175 5fae56a1-394a-0410-ba46-5107137fd53f
diff --git a/MelangeModuleArchitecture.wiki b/MelangeModuleArchitecture.wiki index b1f389b..2485ba2 100644 --- a/MelangeModuleArchitecture.wiki +++ b/MelangeModuleArchitecture.wiki
@@ -11,8 +11,11 @@ * (?Pmodule ghop)/ * load the appropriate "soc.modules.%(module)s" module * modules live under soc.modules.* - * everything that is part of Melange should live under soc.* (so no more /app/gsoc, /app/ghop/, /app/soc structure) + * everything that is part of Melange should live under soc.* (so no more /app/gsoc, /app/ghop/, /app/soc structure) <Pawel> Oh I totally support that, I really didn't like that directory structure we have right now from the begining </Pawel> * in build.py all modules in soc.modules are loaded, to allow them to register themselves + +<Pawel>Can you tell me a little bit more about this new build.py module and how do you plan to use it ? Wouldn't it be better to have some kind of settings file/module where we define what modules should be turned on/off ?</Pawel> + a top level "module" that is "core" to do site wide stuff, such as "soc/user/create" generic urls such as 'program/create' are removed and replaced by e.g. 'gsoc/program/create' @@ -32,10 +35,18 @@ * registering jobs that the module would like to be schedulable * registering user preferences the plugin would like added + +<Pawel>That is all really nice and I would love to have that kind of architecture in Melange but I think it will take some time to imeplement that. Also can you give me a list of ideas for modules that we might be able to use for Melange (other than gsoc and ghop) ? + +Do you maybe have a rough estimation how much time it will take to implement that kind of module architecture ? +</Pawel> + = Conversion = This section describes the conversion process from pre-modules to post-modules. +<Pawel> What is a pre-module and what is a post-module ?</Pawel> + == Converting the datastore == # push the new models @@ -54,6 +65,8 @@ The precise details of what we want to register are also likely to grow over time. This is our 'plug in API'. This is the correct way to develop - organically. We have a structure in which this can happen. +<Pawel>How are we going to handle modules dependencies ? For example I want to write a stats module for GHOP which requires GHOP module. You want to solve this using registration Order ? I would suggest some other solution like defining dependencies and some settings file for each module that includes dependencies, module name, module version etc. Just a thought...</Pawel> + = Code snippets = This section contains some general code snippets that are related to the new architecture. @@ -196,6 +209,9 @@ * comment.py * org_app.py + +<Pawel>comment and org_app are not GSoC specific models.</Pawel> + * proposal.py * proposal_duplicates.py * ranker_root.py @@ -206,4 +222,4 @@ == GHOP Specific Models == - * task.py (Needs to be redone because it was wrong) + * task.py (Needs to be redone because it was wrong) \ No newline at end of file