https://github.com/sirmaxx/php_product_feeder
product feeder project for interview
https://github.com/sirmaxx/php_product_feeder
feeder json logging-framework php rest-api testing xml-parser
Last synced: 2 months ago
JSON representation
product feeder project for interview
- Host: GitHub
- URL: https://github.com/sirmaxx/php_product_feeder
- Owner: SirmaXX
- Created: 2022-08-24T06:12:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-11T15:18:47.000Z (over 2 years ago)
- Last Synced: 2025-01-28T22:25:59.193Z (4 months ago)
- Topics: feeder, json, logging-framework, php, rest-api, testing, xml-parser
- Language: PHP
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Php product feeder
## How to use Project
```
php -S localhost:1234 index.php
```## How to use Modules
### Json Controller
```
include 'JsonController.php';$json=new Json();
$json->All_row();
```
You can use this method in all modules.(LogFactory,json controller,xml controller) .If you need more detail about project .You can run and go to index page for details.## Missings | deficiencies !
1.All modules need to improvements,they are work in basic level but they can more effective with subclass.2.I need time for post and get requests for url routing.
3.Test and Log not used in this projects
## Architecture
* views
* 404.php
* index.php
* info.php
* Xml
* XmlController.php
* add-item.php
* delete-item.php
* get-item.php
* items.php
* Json
* JsonController.php
* add-item.php
* delete-item.php
* get-item.php
* items.php
* Data_Folder
* products.json
* Test Folder
* TestController.php
* Logs
* LogFactory.php
* routes.php
* router.phpNote: All modules developed independents from each other.They need only product.json and router.php need view folder .
## Dependencies
https://phprouter.com/ I have used this library for url routing.## Tracking Log
* Day 1 (2022/8/23 ): Create project and software architecture.
* Day 2 (2022/8/24 ): Solve the technical issues & start to develop libraries* Day 3(2022/8/25 ): Start to develop routing & finish the libraries
* Day 4(2022/8/26 ): complete main jobs.
* Day 5 (2022/8/27 ): writing documentation
* Day 6 (2022/8/28 ): organize all things
* Day 7 (2022/8/29 ): Develop Test cases with framework
* Day 7 (2022/8/30 ): Project submission## Future Features
1. Cache development
2. Dockerizing
3. Documentation
4. Test & Log implementation