My code has right now two things. 1. API Controllers 2. Web Controller.
Using JQuery, I send request to API controller.
Yesterday I was thinking that I should move to Angular Js because if I am not writing any code in Web Controller as everything is in API controller. Then accessing data through JQuery so why Laravel Blade?
Then I thought why Laravel? Why not Lumen for API? Because Laravel is heavy framework comparing with Lumen and strips down the bootstrapping process to a minimum and Angular Js for Fetching the info and display it.
Unfortunately, I am still in problem. In Laravel Blade, we could use Layout and finally we could extend the layouts. In this way , we don't need to rewrite the complete Html everytime in new blade. But Will, Angular Js support Layout extend feature if I go for Lumen and Angular Js?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire