Easy Code Share > Articles by: Editorial Staff

How to Pass HTTP Request into Queue using PHP

Pass HTTP Request to Queue using PHP on Linux

An alternative way to treat HTTP requests is introduced. It passes a request to a Queue, but get result from another Queue. At opposite ends of two Queues, a running daemon process get token from a global counter file, and then return it into Queue. Before that, for clarification, basic knowledge about Apache MPMs will … Read more

Easy Code Share > Articles by: Editorial Staff

Yii 1.1 PHP Web App Quick Start using Gii

Yii 1.1 PHP Web App Quick Start using Gii

Yii 1.1 is one of famous PHP MVC (Model-View-Controller) frameworks. Although Yii 2.x had launched with big change in structure, Yii 1.1 will still be worth attention as some existing systems are running under it by now. With its Gii component, WebApp developing staff can create Model class with ease, and therefore leverage CRUD operations … Read more

Easy Code Share > Articles by: Editorial Staff

Small PHP CRUD Class for OOP using MySQL

Small PHP CRUD Class for OOP using MySQL

PHP CRUD class treats a specific database you try to access to as a encapulation. Therefore, any Create/Read/Update/Delete operation by PHP on the tables in the specific database should make a function call to the public methods it has. We develop it based on PDO(PHP Data Object). PDO lets you connect to MySQL database, and … Read more