I am going to build an Angular 5 app, the front-end and back-end both will be in Angular only and PHP frameworks (like Yii or Laravel) will work as RESTful API.
BTW, I've built Angular 5 with front-end and PHP with the back-end, so I have an idea about this kind of folder structure.
But, I would like to know best practices while separating Angular with front-end and back-end, and PHP will be REST only.
Moreover, I've few options in mind.
1. Two main folders
- Angular
- src
- Front-end
- Back-end
- src
- Laravel REST
2. Three different main folders
- Angular Front-end
- Angular Back-end
- Laravel REST
I know #1 is better but I'd like to have few more options and then I want to select a best practice.
Any quick help or ideas would be greatly appreciated.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire