Tagged articles
3 articles
Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Jun 13, 2024 · Backend Development

Why LAMP Fails Microservices and How Modern PHP Frameworks Supercharge Performance

Traditional LAMP stacks, relying on php‑fpm and nginx, suffer from synchronous blocking and high CPU usage, limiting throughput for IO‑intensive microservice workloads, while benchmarks show that upgrading to PHP 7 and using a modern, asynchronous PHP framework like Webman can dramatically improve QPS and reduce latency.

MicroservicesPHPWebman
0 likes · 9 min read
Why LAMP Fails Microservices and How Modern PHP Frameworks Supercharge Performance
Beike Product & Technology
Beike Product & Technology
Aug 15, 2018 · Backend Development

Applying Yii2 Model Validation with Scenarios and Rules

This article explains how Yii2 uses validators and scenario configurations to perform comprehensive data validation in PHP models, illustrating the approach with a complete code example, detailed rule definitions, and guidance on using on/except, message, and scenarios methods.

BackendModelPHP
0 likes · 7 min read
Applying Yii2 Model Validation with Scenarios and Rules