Home » PHP

PHP

Incremental Software Development with PHP Microservices

Building complex software projects is almost always an iterative process. We rarely get to spend months designing and writing a complete project before releasing something to our users. This process of incremental software development can be accomplished in many ways, but one of my favorite strategies has been through microservices. I won’t cover microservices in depth as they’ve been covered ...

Read More »

PHP Xmlencoder & Xmldecoder Example

In this example we are going to learn how to encode and decode XML (Extensible Markup Language) with PHP. For this example we will use: A computer with PHP >= 5.5 installed notepad++ 1. What Is XML XML (Extensible Markup Language) is a markup language like html. It is a syntax for creating data representation languages. XML was designed to ...

Read More »

PHP Uppercase And Lowercase Example

In this example we will show you how to manipulate strings from uppercase to lowercase and from lowercase to uppercase with PHP. This is neccesary when you need to format text. For this example we will use: A computer with PHP >= 5.5 installed notepad++ 1. Getting Started Changing text from uppercase to lowercase or from lowercase to uppercase can become necessary ...

Read More »

PHP Qr Code Generator Example

QR codes is an abbreviation for quick response code. It was first designed for the automotive industry in Japan. A QR code consists of black squares arranged in a square grid on a white background. QR codes is used to store information or data. Data stored with QR codes can be read with a smart mobile device. In this example ...

Read More »

PHP Number Format Example

Sometimes it can be neccessary to display a nicely formatted number on a webpage, instead of an ugly and hard to understand number. For example 234,654.49 is way more beautiful and easier to comprehend than 234654.49876. This is where number formating comes in. In this example we shall discuss number formatting in PHP. For this example we will use: A ...

Read More »

Setting Up and Deploying a Modern PHP Application

Despite widespread adoption, PHP has long received criticism for being inconsistent and encouraging questionable development practices. That said, millions of developers use PHP regularly, and many of them are making real software that solves real business needs, so it’s important that we understand how to use the language and deploy it in a modern environment. Why PHP? First, let’s discuss ...

Read More »

PHP Json Encode And Decode Example

Json is an abbreviation for JavaScript Object Notation. It is a lightweight format that is used for data interchanging. It is based on a subset of JavaScript language (the way objects are built in JavaScript). In this example we will create a simple or trivial web app that shows us how to manipulate Json with PHP( Encode and decode Json ...

Read More »

PHP Google Geocode Example

In this example we will explain Google Map Geocoding, what it means and how we can manipulate the Google Map Geocoding API. For this example we will need: A computer with PHP >= 5.5 installed notepad++ 1. Getting Started Lets start by defining Google Map. According to wikipedia, Google Maps is a web mapping service developed by Google . It ...

Read More »

PHP Google Maps Example

According to wikipedia Google Maps is a web based mapping service developed by Google. It offers satellite imagery, street maps, 360° panoramic views of streets (Street View), real-time traffic conditions (Google Traffic), and route planning for traveling by foot, car, bicycle (in beta), or public transportation. Google Maps provides detailed information about geographical regions and sites around the world. In ...

Read More »

PHP Export to Excel Example

It can become neccessary to export data to a browser in excel format or just create an excel document from data received from a database or any other source. In this example we will create a (PHP) web app that exports data to excel. For this example we will use: A computer with PHP >= 5.5 installed notepad++ Microsoft Excel ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook