mmm perhaps you would be well served by going to the Moodle Docs and start reading, then go to the Development Docs and take from there what you think you might need.
General developer forum
Moodle
This discussion has been locked so you can no longer reply to it.