Hi to all the hardcore Moodlers out there,
I am working on a bespoke activity for my Moodle site with multimedia and interaction with the user using Jquery. I have been thinking about whether to re-write this as a module that can slot into Moodle, however, it seems like there is a steep learning curve to developing these. I have learned how to develop add-ons to other CMS such as components for Joomla! and there are fairly good guides on this.
My current approach for getting these tasks into Moodle is simply to feature links within my topics that embed an iframe in the page and show my original website. However, I don't want to lose the extra functionality that I would have if these activities were Moodle modules, namely the stats about user activity & performance on quizzes, and therefor I would like to update & insert records within the Moodle DB while users are navigating my activity which they are accessing through the iframe.
I imagine that there must be some security features written into the Moodle DB framework that prevent the DB being accessed externally so I would just like to know how to set up the DB functions within my 'activity' website to get around these and provide feedback to the Moodle DB that can later be used for reporting purposes.
Thanks for any help you are able to give.