Answer the question
In order to leave comments, you need to log in
What JS framework/library to use with laravel?
Good time. The crux of the matter is that there is an almost completely finished backend part on laravel. The problem with the frontend is that most of the actions should take place without reloading the page (adding properties, methods, searching), and there is no desire to interact with them using jQuery.
So, what framework / library would you recommend to use for simple actions - creating / deleting / editing items and searching for them?
Answer the question
In order to leave comments, you need to log in
AngularJS and build the structure of js files according to the MVC principle
Angular. It has such a cool thing as ngResource. If the backend follows RESTful, then in Angular for CRUD tasks, you just need to specify the url with api, and what is considered id. And the service is ready to use.
www.masnun.com/2013/08/28/rest-access-in-angularjs
...
The vue.js library is being actively promoted in the Laravel community .
Reactjs + flux (until angular2 came out)
Angular (but then there will be nuances in terms of organizing a side rendering server + many articles and tutorials that teach you how to do it wrong).
Another question is that if you already have a backend ready, then SPA is not suitable for you (this implies that the backend is a purely HTTP API). And this means that we need jquery and go ahead with the song. Well, maybe additional libraries for routing requests on the client, etc.
reactJS has laravel integration https://github.com/talyssonoc/react-laravel
Which js-lib you know better, use that one. If you don’t know any, look for educational materials, and what seems easier to you, then use it. For laravel, it is absolutely perpendicular which js framework you choose.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question