Damyon - any progress you may announce here?
Urs Hunkler
Posts made by Urs Hunkler
David or Damyon, it would be very helpful to have access to Damyon's »Unified AJAX script handler« example he had shown during the developer meeting. Can you please give us a link to the example code? Maybe a link has been published but neither from the meeting page nor on the docs page I find a link.
Best would be to add the example in the docs - the code shown on https://docs.moodle.org/dev/User:Damyon_Wiese/Ajax_Service#Ajax_Service is not enough for an easy understanding how to implement the »AJAX script handler«.
Thanks a lot.
Damyon, did you consider to add the »dynamic partial helper« to core for Moodle 2.9? It would be very welcome and helpful.
One additional aspect that makes the Mustache template easy to read without the need to analyze each line is the use of the different "brackets" - "<>" for HTML, "{{}}" for the non HTML placeholders. One directly sees the difference.
Tim, templates will surely not magically help to avoid issues. But they will help many theme designers to better understand the »code« they work with - with the result to more easily be able to follow changes and implement them in the themes.
A huge step forward would be to develop pages / page areas / widgets or however you may call it in an »element library« or »pattern library« and developers and theme designers consequently using these sources.