Grok in Schooltool

Asked by Thomas Richter

Schooltool seems me a good environment for implementing modules with grok. As far as i know there are some work in progress to reimplement some modules with grok. Which are this modules and what are the timelines in this regard in the future? Does it make sense to make a Tutorial "How to implement a module/extention for schooltool in grok"?

Question information

Language:
English Edit question
Status:
Answered
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tom Hoffman (tom-hoffman) said :
#1

I'll let the developers chime in with the current status in the codebase. There is not a firm plan for refactoring more existing code. I would say we will probably use it in new code, especially simple additions. For example, if we add lesson plans, that would be an excellent case.

A tutorial would certainly make sense, but it is not the highest priority right now.

Revision history for this message
Douglas Cerna (replaceafill) said :
#2

I worked in two packages schooltool.contacts (https://code.launchpad.net/~replaceafill/schooltool/schooltool_grokking_contacts) and schooltool.basicperson (https://code.launchpad.net/~replaceafill/schooltool/schooltool_grokking_basicperson).

I don't think the goal was to reimplement those packages. I wanted to know how many ZCML directives we could get rid of. And they were a lot! I remember some comments in a meeting about the code being more expressive when you grok your classes. Unfortunately, you cannot get rid of all the ZCML, you still need the <class...> directive for example. Another goal was to find common patterns that could help new schooltool developers find their way using the grokcore.* packages.

It would be nice to see more experiments on this :)

Can you help with this problem?

Provide an answer of your own, or ask Thomas Richter for more information if necessary.

To post a message you must log in.