276. PHP IPC with Daemon Service using Message Queues, Shared Memory and Semaphores
Updated on: 2015-04-23
Posted on: 2015-04-23
In a previous article, we learned how to create a simple daemon service in PHP to monitor and process an important activity on a machine in the background.
Now we move with a more advanced topic which is how daemon processes can communicate with other programs, or with other instances of the same daemon process.
Read this article to learn how to perform IPC, Inter-Process communication in PHP to send and receive data using message queues, as well as to transmit large volumes of data using shared memory, an using semaphores to prevent problems caused by simultaneous accesses.
More ... Post a comment See comments (2) Trackbacks (0)
Now we move with a more advanced topic which is how daemon processes can communicate with other programs, or with other instances of the same daemon process.
Read this article to learn how to perform IPC, Inter-Process communication in PHP to send and receive data using message queues, as well as to transmit large volumes of data using shared memory, an using semaphores to prevent problems caused by simultaneous accesses.
More ... Post a comment See comments (2) Trackbacks (0)
273. 5 Urgent Maintenance Tasks You May Need to Perform on Your Site Now
Updated on: 2015-04-17
Posted on: 2015-04-15
The recent times have been crazy for developers and Webmasters that strive to keep their sites running without disruptions.
What happens is that several important external sites and services are changing their APIs or introducing new rules that may break the code of your sites.
Read this article to learn about some important sites and APIs that are changing, so you can check if you need to perform urgent maintenance tasks to keep your sites working without troubles.
More ... Post a comment See comments (5) Trackbacks (0)
What happens is that several important external sites and services are changing their APIs or introducing new rules that may break the code of your sites.
Read this article to learn about some important sites and APIs that are changing, so you can check if you need to perform urgent maintenance tasks to keep your sites working without troubles.
More ... Post a comment See comments (5) Trackbacks (0)
272. Team Communication Starts with HipChat
Updated on: 2015-03-31
Posted on: 2015-03-31
HipChat combines every communication method you’d ever need—IM, group chat, screen sharing, file sharing, link sharing, video and voice calling—into a single solution.
Working remotely, working across time zones, and working with the person right next to you becomes infinitely simpler and more efficient. Find out more.
More ... Post a comment See comments (0) Trackbacks (0)
Working remotely, working across time zones, and working with the person right next to you becomes infinitely simpler and more efficient. Find out more.
More ... Post a comment See comments (0) Trackbacks (0)
271. How PHP 7 Can Help You Write Better Tests
Updated on: 2015-03-30
Posted on: 2015-03-30
With the introduction strict type hinting, PHP 7 will creating more robust tests that will help us to develop better quality code.
Read this article to learn how you can write more robust tests in practice with the help of strict type hinting.
More ... Post a comment See comments (9) Trackbacks (0)
Read this article to learn how you can write more robust tests in practice with the help of strict type hinting.
More ... Post a comment See comments (9) Trackbacks (0)
270. Creating a PHP Daemon Service
Updated on: 2015-03-27
Posted on: 2015-03-27
Daemons are special applications that can monitor and process an important activity on a machine in the background.
Read this article to learn how to create a daemon in pure PHP, handling signals, handle multiple asynchronous I/O and events with libevent, monitoring daemon performance, starting the daemon and distribute your daemon application as a PHAR archive.
More ... Post a comment See comments (12) Trackbacks (0)
Read this article to learn how to create a daemon in pure PHP, handling signals, handle multiple asynchronous I/O and events with libevent, monitoring daemon performance, starting the daemon and distribute your daemon application as a PHAR archive.
More ... Post a comment See comments (12) Trackbacks (0)
269. PHP 7 Scalar Type Hinting Finally Approved
Updated on: 2015-03-24
Posted on: 2015-03-23
After a long debate, a proposal to implement type hinting for scalar function parameters and return values was just approved with the highest vote count so far.
Read this article to understand what scalar type hinting is and how you can benefit from it when you will run your code with PHP 7.
More ... Post a comment See comments (17) Trackbacks (0)
Read this article to understand what scalar type hinting is and how you can benefit from it when you will run your code with PHP 7.
More ... Post a comment See comments (17) Trackbacks (0)
268. Improving the use of a MongoDB database with the help of Symfony Listeners
Updated on: 2015-03-22
Posted on: 2015-03-20
Sometimes applications need to filter large amounts of information to show to the user a small subset of relevant data.
However, when the amount data to filter is too large, it may not be feasible to filter the information retrieving the whole data into memory.
Read this article to learn about an alternative approach using a MongoDB document and Symfony listeners to limit the amount of data that needs to be traversed in memory.
More ... Post a comment See comments (0) Trackbacks (0)
However, when the amount data to filter is too large, it may not be feasible to filter the information retrieving the whole data into memory.
Read this article to learn about an alternative approach using a MongoDB document and Symfony listeners to limit the amount of data that needs to be traversed in memory.
More ... Post a comment See comments (0) Trackbacks (0)
262. 10 Tips to Adapt PHP Web Sites for Mobile Devices
Updated on: 2017-08-20
Posted on: 2015-02-09
The trend of users accessing the Web more and more from mobile devices than from desktop computers is not new. However, the effort that is often necessary to adapt sites to appear well in mobile devices discouraged many Web developers to invest in making that effort.
Meanwhile, the recent announcement from Google that they may penalize sites not adapted to provide good user experience to mobile device users created a certain urgency among Web developers to finally make the mobile adaptation effort.
Read this article to learn some tips that can help you organizing better the effort to adapt your sites and provide good mobile user experience.
More ... Post a comment See comments (9) Trackbacks (0)
Meanwhile, the recent announcement from Google that they may penalize sites not adapted to provide good user experience to mobile device users created a certain urgency among Web developers to finally make the mobile adaptation effort.
Read this article to learn some tips that can help you organizing better the effort to adapt your sites and provide good mobile user experience.
More ... Post a comment See comments (9) Trackbacks (0)
261. Working with CodeIgniter HMVC Framework, Smarty Template and Doctrine ORM all together
Updated on: 2015-02-04
Posted on: 2015-02-03
This is a tutorial to show how to combine CodeIgniter HMVC Framework with Smarty Template and Doctrine ORM.
Read this article to learn how we can use various ORM commands in your Web sites without the need to use command line tools.
The article presents a sample project that you can use as a starting point for your own PHP projects.
More ... Post a comment See comments (35) Trackbacks (0)
Read this article to learn how we can use various ORM commands in your Web sites without the need to use command line tools.
The article presents a sample project that you can use as a starting point for your own PHP projects.
More ... Post a comment See comments (35) Trackbacks (0)
253. 30 Top Excel PHP Classes
Updated on: 2014-12-08
Posted on: 2014-12-08
Excel is one of the most searched topics for ready to use PHP classes for different purposes.
Read this article to learn about top PHP Excel reader, writer, export, import, CSV import, MySQL import and other PHP classes related with Microsoft Excel.
More ... Post a comment See comments (0) Trackbacks (0)
Read this article to learn about top PHP Excel reader, writer, export, import, CSV import, MySQL import and other PHP classes related with Microsoft Excel.
More ... Post a comment See comments (0) Trackbacks (0)