https://github.com/mohamedtorkey20/employeemanager
CRUD Data XML is a simple PHP application that allows users to manage employee records stored in an XML file.
https://github.com/mohamedtorkey20/employeemanager
oop php xml-parser
Last synced: 2 months ago
JSON representation
CRUD Data XML is a simple PHP application that allows users to manage employee records stored in an XML file.
- Host: GitHub
- URL: https://github.com/mohamedtorkey20/employeemanager
- Owner: mohamedtorkey20
- Created: 2024-03-20T22:48:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T11:17:41.000Z (over 2 years ago)
- Last Synced: 2025-12-30T16:02:42.297Z (6 months ago)
- Topics: oop, php, xml-parser
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRUD Data XML
CRUD Data XML is a simple PHP application that allows users to manage employee records stored in an XML file.
## Table of Contents
- [Description](#description)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## Description
The CRUD Data XML project provides a basic interface for performing CRUD (Create, Read, Update, Delete) operations on employee data stored in an XML file. It allows users to add new employees, view existing employee records, update employee information, delete employees, and search for employees by name.
## Features
- **Add Employee**: Users can add new employee records by providing their name, email, phone number, and address.
- **View Employees**: The application displays existing employee records, allowing users to navigate through them using navigation buttons.
- **Update Employee**: Users can update the information of existing employees.
- **Delete Employee**: Users can remove employee records from the XML file.
- **Search Employee**: Users can search for employees by name.
## Installation
To set up the CRUD Data XML project locally, follow these steps:
1. Clone the repository to your local machine:
```bash
$ git clone https://github.com/yourusername/yourproject.git
```
2. Navigate to the project directory:
```bash
$ cd yourproject
```
3. Ensure that you have PHP installed on your system.
4. Run the PHP built-in server:
```bash
$ php -S localhost:8000
```
5. Open your web browser and navigate to `http://localhost:8000` to access the application.
## Usage
Once the application is running, follow these steps to use it:
1. Fill in the employee details (name, email, phone, address) in the provided form fields.
2. Click the "Insert" button to add a new employee record.
3. Use the "Prev" and "Next" buttons to navigate through existing employee records.
4. To update an employee's information, modify the fields and click the "Update" button.
5. To delete an employee, click the "Delete" button.
6. Use the "Search" button to find employees by their name.
## Contributing
Contributions to the CRUD Data XML project are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request on the project's GitHub repository.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.