Data Formats and Types

Zend PHP 7 Certification – Data Formats and Types – Date and Time

This post covers the Date and Time section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
Date and time functions retrieve date and time data from the PHP server.
The date() function formats a local time/date. There are several options of the format you can output. Some of …

Zend PHP 7 Certification – Data Formats and Types – JSON and AJAX

This post covers the JSON and AJAX section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
JSON is an acronym for JavaScript Object Notation and it is a lightweight data-interchange format. PHP provides a JSON extension that is enabled by default, and contains some useful functions to use.

Zend PHP 7 Certification – Data Formats and Types – REST

This post covers the REST section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
REST is an acronym for Representational State Transfer. It is a design standard (not an extension) and consists of a set of architectural principles for designing web pages and services.
REST applications are supposed …

Zend PHP 7 Certification – Data Formats and Types – SOAP

This post covers the SOAP section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
The SOAP (Simple Object Access Protocol) extension can be used to write SOAP Servers and Clients. SOAP requires the libxml extension enabled (it usually is by default).
You can instantiate a new SoapClient class …

Zend PHP 7 Certification – Data Formats and Types – DOM

This post covers the DOM section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
The Document Object Model (DOM) extension allows you to operate on XML documents through its DOM API.
Similar to XML Parser, it requires the libxml extension to be enabled (which it usually is by …

Zend PHP 7 Certification – Data Formats and Types – SimpleXML

This post covers the SimpleXML section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object.
Basic SimpleXML usage includes being XML strings by passing the string in to the SimpleXML class or …

Zend PHP 7 Certification – Data Formats and Types – XML Extension

This post covers the XML Extension section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
The XML Parser extension in PHP is enabled by default, however it may be disabled by using the –disable-xml option at compile time.
This extension also requires the libxml PHP extension, which …

Zend PHP 7 Certification – Data Formats and Types – XML Basics

This post covers the XML Basics section of the Data Formats and Types chapter when studying for the Zend PHP 7 Certification.
XML stands for Extensible Markup Language, and it is used to store or transport data.
An example of how an XML document might look can be seen below.
<?xml version=”1.0″?>
<productListing title=”Product Listing”>