Databases: update script

Databases: update script

deur Dan Storch -
Getal antwoorde: 1

Hi All,

Does anyone have any scripts they are willing to share?  Specifically, I'm looking for initial data setup scripts and nightly update scripts that will load students and courses from the Student Management System.  I was able to create one this spring as a test but we are moving to production this fall and it would be nice to have an example to work from so I know that I'm using the correct tables.

Thanks,

Dan

Gemiddeld van beoordelings: -
In antwoord op Dan Storch

Re: Databases: update script

deur Tim Hunt -
Prentjie van Core developers Prentjie van Documentation writers Prentjie van Particularly helpful Moodlers Prentjie van Peer reviewers Prentjie van Plugin developers
If possible, you should avoid poking this data directly into the Moodle database.

Moodle provides a proper mechanism for doing this, which you should use instead. These are authentication and enrolment plugins. There is some documentation online at Administrator_documentation#User_Management You probably just need to set up the database enrolment and authentication plugins. Also, the relevant chapters of Moodle 1.9 Extension Development cover this quite well.
Gemiddeld van beoordelings: -