Publicaciones hechas por por Urs Hunkler

Imagen de Core developers

Sam,

2) is not necessary at all. Refactoring to separate program logic and view and use templates in the form of PHP includes for the view is perfect.

3) is exactly the point to enhance code quality and maintainability. Great that you see the need to investigate in this area. And from there it's only a small step to templates.

4) is marvelous for programmers but is difficult because web designers gain less influence on the visual aspects of the learning environment. Designers are the visual experts.

6) is the approach I am working with in the moment parpadeo

Imagen de Core developers

@ In your Use of JavaScript in Moodle reply you wrote: "At the moment, if anything, the Moodle code has too many inconsistencies. For example, the library that builds the admin tree is completely separate from the forms library, even though they do a similar job."

That's not only the case with core code but even more with the user interface. To build a Moodle theme takes a certain amount of time. And then you need to investigate a huge amount of additional work and time to finetune the theme for many inconsistencies for several core and third party pages.

With templates I could fix for example the module templates once and save a lot of work for future themes. And when customers accept giving back work payed by them I could commit the template changes back to Moodle. And all Moodle themers would benefit.

No, I am not going to try to understand how all the PHP - XHTML mixes work in several Moodle modules. It takes much much more time to understand program logic and presentation parts mixed together than to understand the clearly separated presentation part. Templates would help to build better readable and maintainable code (That is common developer knowledge and experience).

And when third party developers could focus on writing code to handle content and use standard templates to output their content the Moodle user interface would be much more consistent than now. Now many developers try to do web designer work and create huge inconsistencies - not willingly but just by lack of knowledge and experience.

Imagen de Core developers

@ What do I mean by a convincing argument? Well, I hope that Development:Changing_the_Moodle_Question_Engine is (or will become) a convincing argument for changing the Moodle question engine.

Do you want to say that only arguments certainly formated and presented may have a chance to be considered? (Like a state office only accepting special forms parpadeo

When I proposed a solution how to add CSS hooks for Moodle 1.5 no form was needed. The huge work was just done. Acceptance is also a matter of focus.

My proposals derive from my work and my experiences as the Moodle "theme manager" and actually my work on the new Moodle2 theme you see here. No theory, no woolgathering.

And I will continue my work adding templates to Moodle - Moodle needs templates sonrisa