Разбор Query Builder, Collections, Model в Laravel. Под капотом Laravel
Чистый SQL или ORM и Query Builder?
Небольшая заметка с полей. Недавно втянулся в использование SQL синтаксиса LEFT JOIN LATERAL – ключевое слово LATERAL. Буквально по-другому стал смотреть на решение некоторых задач! Проверил по документации, погугил, в популярных PHP ORM – нигде нет поддержки LATERAL, ни в Doctrine, ни в Laravel Query Builder, ни в Yii Query Builder, ни в Cycle ORM И тут хочу дать пояснение, моё отношение к различным Query Builder и обёрткам над SQL синтаксисом. Вот какой подход я применяю при выборе между написанием простого SQL и использованием Query Builder / ORM: • Если мне нужно поработать с конкретной сущностью...
Misguided Beliefs About Laravel and Web Application Security
The Laravel framework, a widely used PHP-based development framework, has gained popularity for its simplicity, elegance, and extensive ecosystem. Due to the valuable data they handle and their exposure to the public Internet, web applications are frequent targets for cyberattacks. Cyber threats against web applications can lead to severe consequences. Some of the common issues include data breaches, financial loss, system compromises, and damage to reputation. Yet, when it comes to Laravel security, several myths and misconceptions surround it. This often leads to some developers and organizations believing that their web applications are either impenetrable or inherently vulnerable...