Using PHP Configuration Patterns Properly

There are several ways to make a PHP application configurable. There are also ideal configuration points which are industry standard. These points will determine whether a PHP application is too configurable or too closed. If a PHP application is for a client installation then it should be configurable enough to fit custom requirements. There are different techniques available for storing configuration settings and the options are discussed

Posted by on 3 April 2014 | 3:03 pm

Processing JSON in PHP

how to parse and serialize a JSON object, how to extract data from a database as a JSON string, how to store a JSON object into a database and in the last section of this article you have seen how to encrypt and decrypt a JSON object using OpenSSL.

Posted by on 20 March 2014 | 11:35 am

Advanced Debugging in PHP

Debugging is one of the most important and significant part of software development. Finding bugs and errors in any application is a tedious task for the developers. So, proper debugging mechanism should be adopted to make the process easier. Without following proper debugging process, software bugs and errors can not be detected easily and efficiently. As per PHP programming model, we should be aware of all the tools available for debugging and eliminating malfunctioning components from our software system. In this article we will concentrate on the core PHP debugging process. The core mechanism consists of the process of using the program to trace errors and discrepancies. The out-put is gathered through the script execution and displayed at the end of the script.

Posted by on 27 February 2014 | 3:03 am

Using an Azure Database from PHP on Linux

The cloud is the newest buzzword in all things development, and there are many different options for utilizing the nebulous cloud. Amazon Web Services, Microsoft Azure, and Digital Ocean (just to name a few) are some providers that give you various levels of cloud computing. While all three give you Virtual Private Hosting, Microsoft has stepped up their offering.

Posted by on 24 February 2014 | 1:54 pm

Extending Codeigniter Core Libraries to Add Your Own Functionality

Codeigniter is an PHP framework built on the MVC design pattern. There is no doubt that it is popular, it's the most forked PHP project on Github ever, the second most watched PHP project on Github, and has a large group of followers and contributors. Why is it so well loved? The answer is that you can add your own functionality to the Codeigniter core without even breaking a sweat. You can extend the core controllers, models, and just about everything else with relative simplicity. Let's have a look at how we can do that.

Posted by on 28 January 2014 | 9:04 pm

Implementing Secure Passwords in PHP 5.5

PHP has always had a few simple ways to implement password hashing to an extent. MD5 and SHA1 are examples of this, but the security of these methods is not what it should be. Many developers use MD5 and SHA1 without even adding a SALT, which is a string that helps to add complexity to the application. Some developers use something as awful as base 64 encoding and decoding simply because they can be easily manipulated. But these things are not secure folks, and the clever people who want to hack your site or steal your money can see right through them. Yes, they can.

Posted by on 22 January 2014 | 4:16 am

What is PHP-FIG and What are They Doing?

PHP-FIG is the short name for the PHP Framework Interop Group (am I the only one who finds the naming of PHP groups and libraries after fruits amusing?) and their mission is simple: to find a way to get the PHP frameworks to work together.

Posted by on 31 December 2013 | 11:01 am

What's New in PHP 5.4

PHP advancements, PHP 5.4

Posted by on 20 December 2013 | 11:15 am

Clustering in PHP: Session Management

explored using the file system in various configurations to help cluster PHP. This final installation will explore another method that doesn't utilize PHP's session management in any way.

Posted by on 26 November 2013 | 7:38 am

Implementing Automatic Database Backup and Optimization in PHP

Every computer system has a backup. Nevertheless, the number of problems caused by a lack of a recent backup is huge. One of the reasons for that may be the fact that the backup process is not entirely automated. So, let's see how to automate the database backup process in PHP.

Posted by on 20 November 2013 | 4:01 pm

Clustered File Systems and PHP

clustering in PHP with this latest installment. Learn how to use GlusterFS to add an additional load balancer as a hot spare

Posted by on 30 October 2013 | 1:16 pm

Introduction to Clustering in PHP

It is almost an implicit standard for a modern web app/service to be fault tolerant and load balanced. Depending on the technologies involved, achieving a proper level of each can be difficult. This series will explore a few ways to handle each in PHP.

Posted by on 16 October 2013 | 2:24 pm

PHP Session Management and REST Based Applications

PHP, session management,

Posted by on 26 August 2013 | 7:55 pm

Setting Up PayPal IPN in PHP

Learn how PayPal IPN can solve the problem of new orders that do not display in your e-commerce admin panel.

Posted by on 22 April 2013 | 2:01 am

Heroku Postgres Databases Patched

Heroku deploys a point release upgrade across the entire Heroku Postgres service to address critical PostgreSQL security vulnerability.

Posted by on 4 April 2013 | 11:26 am

Use Dice for Simplified PHP Dependency Injection

Learn how to use Dice, a PHP dependency injection container that allows you to quickly and simply apply dependency injection techniques in your PHP code.

Posted by on 17 March 2013 | 4:05 pm

PHP Code Snippet: Search / Replace Text Inside PDF Files

Use this sample PHP code to search and replace text inside PDF files.

Posted by on 11 March 2013 | 12:09 am

Building a PHP RSS Aggregator

Learn how to build an RSS aggregator in PHP to distribute your latest and frequently updated content in a standardized way.

Posted by on 6 February 2013 | 2:01 am

Oauth Authentication for Social Apps in PHP

Learn how to implement Oauth to authenticate Facebook, Twitter and Foursquare on your PHP application.

Posted by on 23 January 2013 | 2:01 am