I am one of the developers of SqueakDBX and GlorpDBX so...of course, I really like the idea. Having to create the GLORP mappings in a separate class and then create also the Magritte description (for other purpose, like web description) is not cool. Maybe managing all the metadata (for different purpose lile web, validations, RDB mappings, etc) with the same tool would be cool.
What others think ? So, yes, I like it. Can you send me the proposal ? something like what it is in http://gsoc2010.esug.org/ideas.html Someone wants to be the mentor ? Cheers Mariano 2010/3/10 Юрий Мироненко <[hidden email]> GLORP & Magritte both uses a lot of similar techniques. It's not descriptors only. Accessors and Conditions are other examples. So, why not clean up everything metamodel-related from GLORP, and utilise Magritte functionality instead? _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Hi Niall. Thank you very much!! It is really interesting.
There are two things I would change, if you are agree of course. See below. ==== Magritte is not ONLY for web development descriptions, but for any description. That's why we are even considerating it for describing the mappings. Although it is obvious that for the web is fits very well and it is widely used for that purpose. There are many similarities in how each framework maps model-layer class aspects/instVars/etc. to RDB tables and fields, and to web entities. Developers of Seaside apps using RDBs, The other thing I would like to change is that not NECESSARY you need seaside. I say this because maybe the student or the mentor want to use Aida or whatever other thing. I think it should concentrate in the interaction between Magritte and Glorp, but too much in the "user" of Magritte (seaside or whatever). I am not sure about this. Just a though. What do you think ? Cheers Mariano in particular, sometimes feel they are repeating themselves when they code first the Glorp mappings and then the Magritte mappings, or vice versa. _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Ok....It is important what Alan said. However, from my point of view it is worth to see what there is in common and in case that it is not too much, how can we extend or modify Magritte to be that way. The student should also look at keith's Magritte-RDB when we acutally did something similar to this but without Glorp.
Юрий Мироненко do you want to change something to Niall proposal ? In true, please do it as soon as possible and send me the updated version. For the moment at the end you will find the version with my little changed with what I said in my previous mail. Now....we need a mentor. Diogenes Moreira offers to be the co-mentor. He knows a lot of Glorp (he is actually developing with us SqueakDBX/GlorpDBX) and Magritte. His main problem is that his English is not the best one ;) So...we still need a mentor. Volunteers ? Refactoring model mapping commonalities from Glorp and Magritte -------------------------------------------------------------------- Mentor: TBD Second mentor: TBD Level ==== Glorp and Magritte both map between model-layer objects and other domains; in Glorp's case, the relational database, in Magritte's case, the web. The truth is that Magritte is a meta-description framework for all kind of description. However, it is mostly used for web applications. There are many similarities in how each framework maps model-layer class aspects/instVars/etc. to RDB tables and fields, and to web entities. Developers of Seaside or AidaWeb apps using RDBs, in particular, sometimes feel they are repeating themselves when they code first the Glorp mappings and then the Magritte mappings, or vice versa. The goal of this project is to analyze by experiment how far common aspects can be extracted to a single core: - Are any limitations of one framework revealed by comparison with the other? - Can the API be refactored so that the same concept uses the same method call in both frameworks? - Can a single set of descriptor classes, extended by each framework, be a common core to both? Can a single set of meta-model walking functions be used by both? - Can a single set of descriptor objects be used by both? The output is both a refactored codeset exploiting the commonality that can sensibly be achieved and an analysis of why more commonality cannot, or cannot easily, be achieved Technical Details =========== Glorp and Magritte have good test suites. XP development to ensure existing facilities remain functional will protect the student from breaking some facilities as they experiment with refactorings. Maintaining deprecated methods that call new API in terms of old API may be appropriate in the project, and may also assist introduction of the results to the community. Benefits to the Student =============== Glorp and Magritte are two meta-modelling/mapping frameworks with impressive capabilities solving real problems: the student who does this project will acquire significant practical knowledge of this kind of meta-modelling. Glorp and Magritte are also important parts of one way of writing web applications: the student who does this project will have skills that can be turned to practical account in web development. 2010/3/10 Юрий Мироненко <[hidden email]>
_______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Free forum by Nabble | Edit this page |