Company Directory is a server manipulation project known as
a CRUD.
CRUD stands for creating, reading, updating, and deleting
backend (server-side) data through a front-end (client-side)
web application. A system like this allows users to manage
their employees, students or any data without much effort
and with a more user-friendly and organized design.
After creating a set of relational database of employees,
departments and countries, this data was connected to the
client side through PHP configuration. So, passing this
configuration to each PHP CRUD file using the language
(MySql) I managed to decode the result obtained and passed
it to the HTML as an object, once there I capture these
objects through AJAX and assign each element along with its
necessary functions.
This system can prevent the deletion of any data related to
other data. for example: If a country is assigned to a
department then we need to delete that department first but
if this department is also assigned to some employee then we
need to delete that employee first or otherwise the delete
action cannot be performed.
We can now create, read, update and delete new employees,
departments and countries.
Main used technologies: