Laravel Code Review - Refactoring Controllers, Form Requests, and Routes

preview_player
Показать описание
In this episode I will do another Laravel junior code review about an Inventory Management system. I will point out several key issues to void as well as why you should avoid using raw SQL queries in your project as much as possible.

Video that explains Laravel Naming Conventions

Click here to subscribe

Reddit

Facebook

Twitter

LinkedIn

Github

#laravel #codereview #webdevelopment
Рекомендации по теме
Комментарии
Автор

8:11 - You also need to change the name of the target controller to FileController :)

bigkass
Автор

Hey bro

How to achieve something like this? Is this possible? CONCAT then FORMAT in one line?

DB::raw("CONCAT(settings_currencies.currency_name, ' ', FORMAT(sales_quotations.total_price, 2)) as totalPrice")

borgy
Автор

sir can u give 1 answer, how we merge two arrays I know your answer is Array_merge. but when i use array_push it is not included in 1 array...can u give me a 1 example in comment section or any link where I can understand how to do it

anujbisht
visit shbcf.ru