[Grok-dev] Grok 1.0 and beyond
luciano at ramalho.org
Fri Jan 4 16:15:48 EST 2008
On Jan 4, 2008 2:32 PM, Sebastian Ware <sebastian at urbantalk.se> wrote:
> Excuse my ignorance, I might not be grasping the full complexity of
> your implementation, but I found annotationa easy to implement after
> looking at the tests in grok.Annotation.
Thanks for the pointer, Sebastian! There's nothing fancy about the way
I use the annotations, but I did not use grok.Annotation so that was
my mistake. I will look into it and refactor that part of the code. My
main references for doing annotations were the books by Philipp and
Stephan, it totally escaped my mind that grok.Annotations existed (we
really need the reference!).
> And Kirbi set me on the right track to manage users. Maybe this is only
> an example of how important "howtos" and "recipes" are.
Yes, most of the user management code in LoginDemo was extracted from
Kirbi, with the simplification that LoginDemo does not use roles but
assigns permissions directly to principals, and the addition of
annotations to store extra data about the users.
More information about the Grok-dev