PHP Classes
elePHPant
Icontem

PHP Tutorials

Recommend this page to a friend!

Articles to teach about PHP matters and related topics

  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article  
  159 - 150   ...   119 - 110   109 - 100   99 - 90   89 - 80   79 - 70   69 - 60   59 - 50   49 - 40   39 - 30   29 - 20   19 - 10   9 - 1  

282. Extending PHP Classes and the Object Model

Updated on: 2015-05-20

Posted on:

Nowadays many PHP developers use Object Oriented Programming (OOP). However not every PHP developer really understands why that is a good thing.

Some use OOP just because they see others using it, without knowing very well its benefits nor how to create a consistent object model that addresses the needs of their applications.

Read this article to learn how objects can represent the real world through classes and how you can create an object model for your PHP application.


Blog More ...   Post a comment Post a comment   See comments See comments (10)   Trackbacks (0)

279. 3 Ways to Access Application Common Data in PHP

Updated on: 2015-05-12

Posted on:

Every PHP application needs to use throughout its code, the same kinds of common data or functions, like for instance configuration values.

Read this article to learn about the Gateway pattern, an additional way to access common application data besides better known ways that use global and static variables.


Blog More ...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)

277. Fix the AJAX Requests that Make PHP Take Too Long to Respond

Updated on: 2015-05-04

Posted on:

Nowadays we develop applications that depend a lot on AJAX requests, in some cases close to 100% of the pages. Sometimes we notice that when a Web page sends two or more AJAX requests, PHP takes too much time to respond and then the responses are returned almost at the same time.

Chances are that the problem may be caused by the way you handle PHP sessions. Read this article to understand this problem and what you can do to avoid it.


Blog More ...   Post a comment Post a comment   See comments See comments (26)   Trackbacks (0)

276. PHP IPC with Daemon Service using Message Queues, Shared Memory and Semaphores

Updated on: 2015-04-23

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments 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:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (5)   Trackbacks (0)

272. Team Communication Starts with HipChat

Updated on: 2015-03-31

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

271. How PHP 7 Can Help You Write Better Tests

Updated on: 2015-03-30

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (9)   Trackbacks (0)

270. Creating a PHP Daemon Service

Updated on: 2015-03-27

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (12)   Trackbacks (0)

269. PHP 7 Scalar Type Hinting Finally Approved

Updated on: 2015-03-24

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments 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:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

  159 - 150   ...   119 - 110   109 - 100   99 - 90   89 - 80   79 - 70   69 - 60   59 - 50   49 - 40   39 - 30   29 - 20   19 - 10   9 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog PHP Tutorials   Post article Post article