Revision history [back]
hints on specializing the code for italian, math exercises & solutions
I would like to create a server to gather math exercises (instead of questions) with solutions (instead of answers) in italian.
It seems to me that there are not so many modifications to achieve this. I'm seeking hints on how and where to put my hands. Also it would be nice to know if some of this functionality could be contributed back to askbot.
Here is a list of what I think it should be modified:
ENGLISH -> ITALIAN. I see that the italian translation is far from being complete and I would like to give help. But: if I fork the code can I anyway benefit or contribute to the original translation pool?
QUESTION/ANSWER -> EXERCISE/SOLUTION. Exercises usually don't have a title. Instead they have some more specialized attributes such that: school_level, difficulty, topics. So there is something to modify. However it could be good to maintain the possibility to also have a Q&A part in the same site (even if it is not currently planned). So what is best among the following? (2a) modifiy the Question and Answer classes to fit my case (assuming I don't need Q&A functionality). (2b) modify the Question and Answer classes to server both as Q&A and also as E&S (exercise/solution) by adding the required attributes and putting a flag to distinguish the two families. (2c) add Exercise/Solution models by copying Question/Answer and then modify them. Eventually extract a common ancestor of both sets of classes.
COURSE PAGE. I would like that teachers can create pages for their Courses where they can officially collect past exercises. Only the owner of the course can add exercises to it. Maybe he can mark solutions as "official" and can mark the problem statement so that it cannot be modified (or better: he can check modifications to the problem and accept them).
The Course object should be a variant of the Tag? or it must be a new model?
Thank you for any hint, suggestion, or anything...
hints on specializing the code for italian, math exercises & solutions
I would like to create a server to gather math exercises (instead of questions) with solutions (instead of answers) in italian.
It seems to me that there are not so many modifications to achieve this. I'm seeking hints on how and where to put my hands. Also it would be nice to know if some of this functionality could be contributed back to askbot.
Here is a list of what I think it should be modified:
ENGLISH -> ITALIAN. I see that the italian translation is far from being complete and I would like to give help. But: if I fork the code can I anyway benefit or contribute to the original translation pool?
QUESTION/ANSWER ->
EXERCISE/SOLUTION. ExercisesPROBLEM/SOLUTION. Problems usually don't have a title. Instead they have some more specialized attributes such that: school_level, difficulty, topics. So there is something to modify. However it could be good to maintain the possibility to also have a Q&A part in the same site (even if it is not currently planned). So what is best among the following? (2a) modifiy the Question and Answer classes to fit my case (assuming I don't need Q&A functionality). (2b) modify the Question and Answer classes to server both as Q&A and also as E&S (exercise/solution) by adding the required attributes and putting a flag to distinguish the two families. (2c) add Exercise/Solution models by copying Question/Answer and then modify them. Eventually extract a common ancestor of both sets of classes.COURSE PAGE. I would like that teachers can create pages for their Courses where they can officially collect past exercises. Only the owner of the course can add exercises to it. Maybe he can mark solutions as "official" and can mark the problem statement so that it cannot be modified (or better: he can check modifications to the problem and accept them).
The Course object should be a variant of the Tag? or it must be a new model?
Thank you for any hint, suggestion, or anything...