I recently started to build a large social network, and and I thought my structure was good but it turned out I built this logic up badly.
I mixed my views with AngularJS (bad idea), skipped blade extension, but since I'm using a lot of block and sidebar includes it became a pain in the butt.
Currently I am just handling form validations with angular, but actually all of my site pages will require ajax, data pulling, etc.
我在网上搜索时发现,Angular 视图存储在公共文件夹中,但是既然我所有的页面都将使用Angular 视图,那么将我所有的视图存储在公共位置,并且只使用Laravel作为后端是不是一个好主意?
我知道这是个愚蠢的问题,但我有点困惑.
Any help hint appreciated.