Is there any documentation in the architecture/design of Glorp

16 views
Skip to first unread message

jtuchel

unread,
Nov 8, 2023, 8:30:54 AM11/8/23
to glorp-group
I guess I am mostly writing to Alan here ;-)

As some might know, I am in a love/hate relationship with Glorp. It's fantastic in many respects, can do so many wonderful things and - like all software - also has unfinished edges and bugs. Nothing to complain about, I wouldn't dare to claim I ever wrote anything thought out any better or more stable than Glorp.
I am slowly getting better in finding places in Glorp, but I often feel I need at least another life time to understand some of the places I've read. There is so much delegation going on that it is hard to understand what actually happens ...

one of the weakest points of Glorp is that there is little documentation. There is some documentation on how to use Glorp, but I couldn't find much about its inner workings, concepts, reasons for Class names etc. Does anybody have such material? Is it published somewhere? Does anybody have (internal) material for TOPLink that might help in understanding Glorp better?

Joachim

Alan Knight

unread,
Nov 8, 2023, 9:04:16 AM11/8/23
to glorp...@googlegroups.com
Thank you, and I'm sorry :-) 

The documentation that exists is gathered up on glorp.org, there are a few presentations, a few things I wrote up at different times. They might or might not explain terminology.

Descriptor and Mapping names come from TOPLink. TOPLink had three different things for how to define relationships. There was how to fetch the related object, how to join to the related object, and a third one that I can't remember offhand. One of the interesting insights in Glorp is that all we needed was the Expression to indicate the relationship, probably called Expression because it often gets built out of a block. And I called converting that form one form to the others "twisting", because that's how I thought about it - taking an expression tree and warping it to fit into a different one. Not sure that terminology survived in Glorp, I think it's called something more like rebuildOn:.

If you've got specific questions, I can try to answer them, and I can probably still remember the ones about what I was thinking when I came up with a particular name. 


--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glorp-group/91ed5a37-2947-44b0-9453-4e9dd6a0fa29n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages