Expression Engine from a Laravel Developers Perspective

Recently, Justin delved into CMS development, specifically Expression Engine (EE) development, after being predominantly a Laravel developer for the past few years. He liked some things about EE and disliked others, but can see where a tool such as EE can be leveraged to build very customizable Web sites, and even Web applications that non-developers are able to configure and maintain.

Posted by on 15 July 2016 | 4:22 am

Programmatically Create Sample Testing Data in PHP

Since quality assurance takes a significant amount of project time and resources, we are always looking for ways to improve its efficiency. One testing process improvement is to programmatically create sample testing data. To achieve this, we will use a popular PHP library called Faker.

Posted by on 30 June 2016 | 3:23 pm

Using AngularJS 2 in PHP via PrimeNG UI Components

Learn how to use AngularJS 2 in PHP via the PrimeNG UI components. First we need to create an AngularJS 2 application from the beginning and then we will create a project. Finally, we will run the project.

Posted by on 17 June 2016 | 3:29 pm

Using Doctrine ORM with Symfony PHP Framework, Part 2

The standard edition of Symfony PHP framework comes integrated with Doctrine, an object-relational mapper (ORM) and a database abstraction layer (DBAL) which makes working with databases very easy. This tutorial will focus on using Doctrine in Symfony--querying object relationships.

Posted by on 31 May 2016 | 4:03 pm

Using Doctrine ORM with Symfony PHP Framework

The standard edition of Symfony PHP framework comes integrated with Doctrine, an object-relational mapper (ORM) and a database abstraction layer (DBAL) which makes working with databases very easy. This tutorial will focus on using Doctrine in Symfony--how to create models of database tables and its relations, how to query the data, and more.

Posted by on 18 May 2016 | 12:02 pm

Combining WebComponents with PHP via PrimeElements

PrimeElements can drastically reduce the amount of work required to create nice looking and functional UIs by providing a rapid application development kit based on standard Web Components technologies. Learn more about some of the most practical PrimeElements in PHP.

Posted by on 30 April 2016 | 12:19 am

E-mail Verification in PHP

One of the most common security features during the user registration process is e-mail verification. It is important to create it according to industry best practices in order to avoid potential security risks. Let's discuss these best practices and see how to create e-mail verification in PHP.

Posted by on 18 April 2016 | 4:36 am

Working with Docker and PHP

Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux. Learn how to install Docker on Windows, how to create a machine, how to pull/push an image from/to Docker Hub--and mostly importantly--how to run a PHP script by creating our Dockerfile file.

Posted by on 31 March 2016 | 3:15 pm

Read CSV Data into a PHP Array

CSV files are often employed to import data from an application such as MS Excel into a database. Rob Gravelle demonstrates how to write a PHP script that reads in a CSV file and converts its contents into a multi-dimensional array for insertion into a WordPress database.

Posted by on 17 March 2016 | 3:11 am

Creating and Editing Excel Spreadsheets in PHP

To create or edit Excel spreadsheets using pure PHP, we will use the PHPExcel library, which can read and write many spreadsheet formats, including xls, xlsx, ods and csv. Before we continue, double-check that you have PHP 5.2 or higher on your server and that the following PHP extensions are installed: php_zip, php_xml and php_gd2.

Posted by on 23 February 2016 | 11:10 am

Most Secure Password Encryption Methods in PHP

The security of sensitive information such as login credentials of an employee is a topic which has always been addressed in every programming language. Learn more password encryption with the most common methods of passwords protection in PHP.

Posted by on 12 February 2016 | 12:54 pm

Top 4 Web Server Administration Tips

Server administration is a very complicated job. It involves a Linux operating system, web server, database server, FTP and e-mail servers along with other software that can sometimes cause very unusual bugs and problems. Explore the fixes to a few PHP-related server problems.

Posted by on 31 January 2016 | 8:14 pm

Using the WideImage Library in PHP

WideImage is an object-oriented library for image manipulation that provides a simple way of loading, manipulating and saving images in the most common image formats.

Posted by on 22 January 2016 | 3:57 pm

Resize and Crop GIF Animations in PHP

When resizing and cropping images, many popular PHP packages break the GIF animation and save it as a static image. However, it is possible to resize and crop image while keeping the animation intact. In PHP, this can be achieved by using the ImageMagick extension.

Posted by on 28 December 2015 | 4:58 am

Tips for Using Session Cookies with PHP

A session cookie, also known as an in-memory cookie or transient cookie, exists only in temporary memory while the user navigates the website. Web browsers normally delete session cookies when the user closes the browser. Unlike other cookies, session cookies do not have an expiration date assigned to them, which is how the browser knows to treat them as session cookies.

Posted by on 11 December 2015 | 12:23 pm

Object Oriented Programming in PHP - Then and Now

The original development began around 1994, but PHP as most people know it (PHP3) was originally released in 1998. Twenty one years ago. TWENTY ONE YEARS. That kind of lifespan for anything on the web is pretty impressive.

Posted by on 27 November 2015 | 3:14 pm

PHP Design Patterns

Explore some of the most widely used design patterns: singleton, facade, decorator and factory.

Posted by on 30 October 2015 | 4:55 pm

Create a Remember Me Feature in PHP

The "remember me" feature on user login forms (long-term persistent authentication) is one of the most common and convenient web authentication features. It allows the user to be constantly authenticated in the application without having to enter username and password in each session. The feature is based on cookies and handling cookie data in PHP. Since we are talking about authentication, security is important and any possible security issues and solutions will be covered in this tutorial.

Posted by on 16 October 2015 | 3:35 pm

Top Five Databases to Use with PHP

Although MySQL is the most commonly used database software in web applications, there are many other database systems that are also popular and provide good solutions in certain use-cases. In this article, we will discuss these systems and their advantages and disadvantages.

Posted by on 30 September 2015 | 11:58 am