I would highly suggest watching some of Jefferies free video from scratch series, and learn some basic crud.
That would answer the majority of your questions.
Helllo I am creating an ecommerce application using laravel and I want to be able to add filter options to my products. please consider following url:
locahost/filter-options?v=fo&with_search=1&with_insert=1
navigating browser to above url may display different views depending upon value of "v" in query string. but I also can specify which optional rendrable portions to be added to view using "with_*" query string param. these portions may also need to be supplied with different data. the problem is that I dont want to send all possible data from controller to views but I want to send only required data from controller since there may be many rendrable portions having their own data.maybe pulling data from controller instead of pushing??? what is best practice or a design pattern?? thank you in advance.
Please or to participate in this conversation.