php -S localhost:1234 index.php
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.
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
- 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.php
Note: All modules developed independents from each other.They need only product.json and router.php need view folder .
https://phprouter.com/ I have used this library for url routing.
-
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
- Cache development
- Dockerizing
- Documentation
- Test & Log implementation