Configuration files and database

Hi

I have to write a small interface for hotel’s receptionists. They only have to change the extension name based upon the client occuping the room, read the calling database for billing and eventually set wakeup calls.

I saw that Asterisk uses MySQL DB and also conf files. Is there any resource out there that tells how to edit these files? How they sync?

Thank you

Marco