DOLE-X HUMAN RESOURCE INFORMATION SYSTEM

3.4. File Structure Diagram

The main file to access is the admin.php file, which is located in the main directory of the dolex-hris project folder. The common file structure of the modules are as follows:

 

a. Module Page file - This document contains the HTML tags and overall layout of the page. Example of this files are the following - viewEmployee.php, serviceRecord.php, employee_detail.php

 

b. Javascript Function File - This file contains the javascript functions of the html page. All events such as button action and click function, including DataTable function, are called in this file. This file acts as function call to call API that will perform data functions to the database. Example of this file are - viewEmployee.js , serviceRecord.js

 

c. PHP API Action File - This file handles the S_POST Request sent by Javascript Function File through JQuery Plugin. This file is in charge of performing SQL Queries to the database. Majority of the queried data are called using this action files. Example of this file are - viewEmployee_action.php, serviceRecord_action.php, employee_detail_action.php

 
powered by tomehost