The main language of framadate is PHP.
To understand what is the purpose of each page, may be you can look in the Tree view documentation.
The template engine Smarty is used for the dynamique pages.
The database is available throught the class FramaDB, to use it you should use the object $connect which is created by the file init.php.
This file init.php is included in each page.