Innovate faster and cut risk with PHP experts from Zend Services.
Learn PHP from PHP experts with free, on-demand, and instructor led courses.
Submit support requests and browse self-service resources.
Get hands-on experience with PHP, Open Source, and Zend Server.
Have you wondered how hard it is to implement a PHP solution? Have you wanted to leverage your existing data to support new web-based services?
Have you heard about the expansion of open source technologies on IBM i and wanted to see what it's all about? Have you wanted to kick the tires of a technology without using your own hardware or software resources?
You've come to the right place!
Working from home has been a disruption for many of us. However, for some, it has created opportunities to work with new technologies and build up new skills. With that in mind, Perforce is offering free hands-on training involving PHP and a variety of open source technologies. The exercises are designed to be self-paced and leverage a public-facing, cloud-based instance of IBM i.
After registering, you will receive an email confirmation that includes:
See below for our full list of training exercises currently available. Check back often as additional exercises will be added over the coming weeks.
Open source applications such as WordPress, Joomla, and Drupal run many of the eCommerce, Content Management Systems (CMS), and Enterprise Resource Planning (ERP) sites around the world. These applications are often based on the LAMP stack which represents the operating system, web server (Apache), database management system (MySQL/MariaDB) and scripting language (PHP). IBM i can implement these applications with their variant of the LAMP stack referred to as iAMP. This exercise provides the opportunity to implement several LAMP based applications on the IBM i platform.
PHP supports both procedural code and object-oriented code. Procedural can go a long way to implementing custom solutions; however, when you start to look at items such as iToolkit and frameworks it is important to have an understanding of Object-Oriented programming concepts. This hands-on exercise provides the opportunity to become familiar with the concepts and terms around OO and also walks through a few coding examples using OO.
As the Application Server that delivers PHP, Zend Server provides a wealth of functionality including monitoring, code tracing, application profiling, and caching. This exercise will walk you through various functions of Zend Server.
This exercise walks through the basics of PHP programming. The exercise starts with a simple 'hello world' program and moves from there to explore key PHP concepts, including array processing and the language's loose variable typing. The exercise includes building an application to perform basic data operations on a Db2 data source including connecting to the data source and selecting/displaying records from the data source.
XMLService, part of the base IBM i operating system, provides the ability to call ILE programs (RPG, Cobol, CL) as well as artifacts (data areas, data queues, etc.) by describing what is being called (library, program, parameters, return values, etc.) via an XML payload and providing a corresponding XML payload with the program return, data item requested. iToolkit, provided with Zend Server's PHP stack, is a wrapper around XMLService to make it easier both to build the XML payload request and to process the XML return. This exercise will walk through some simple examples of using iToolkit to call an RPG program as well as exercise a CL command. A companion exercise, 'Deeper introduction to XMLService and iToolkit' will go into more depth on both XMLService and iToolkit.
One of the benefits of PHP is that it facilitates bring dynamic, often database-resident, data to a web interface. This exercise walks through exposing Db2 data to the web via a 3rd party application called phpGrid. The exercise will start by showing the code for displaying a simple data-grid and from there extends the functionality to include each facet of data management (Create, Read, Update, Delete) adds search and export functionality and also shows how to move beyond single-table to master/detail data displays.
This hands-on exercise is a follow-up to the 'Introduction to XMLService and iToolkit' exercise and provides more in-depth examples for leveraging existing business logic and ILE artifacts from PHP.
The PASE environment is where open source solutions, such as PHP, run. Standing for Portable Application Solution Environment, PASE was initially intended to enable execution of AIX binaries on an IBM i system but has since been used for a number of *NIX programs, including PHP and many other open source solutions. In order to get the most out of these open source solutions, as well as to effectively manage the solutions, it is important to get comfortable with working in and navigating around the PASE environment. This hands-on exercise will give you the opportunity to explore PASE.
If you are going to work with open source solutions on IBM i you will want to know how to setup the open source ecosystem on the platform. Since the setup is only done once, this has already been completed on the exercise system; however, this "exercise" will walk you through the process that was followed so you will have the information available if/when you decide to setup open source on your own platform.
A key aspect of the adoption of open source on IBM i has been the proliferation of additional open source languages on the platform, including PHP, Python, and node.js. The Open Source environment has support for file-system containers and this exercise will give you the opportunity both to setup your own development environment/container as well as to manage open source solutions within a container. File-system containers are a great way to isolate developer environments and this exercise will explore the methods for doing that.
This exercise provides the opportunity to install the open source package that provides the node.js language, as well as node.js' Db2 driver and XMLService toolkit. After node.js has been installed, the exercise provides the opportunity to write some simple node.js programs including a 'hello world' web service and a Db2 access program. The exercise will also take a look at the ability to make node.js programs persistent and also take a look at how to configure a Nginx web server instance to serve up node.js web services.
This exercise provides the opportunity to install the open source package that provides the Python language, as well as Python’s Db2 driver and XMLService toolkit wrapper. After Python has been installed, the exercise provides the opportunity to write some simple python programs including a ‘hello world’ program and a Db2 access program. The exercise also takes a look at using the toolkit to invoke XMLService to call a 5250 command.
GIT is a free open source version control system that can be used for both small and large code projects. GIT has become popular, if not the de facto standard, for source code control for open source projects and it is available for the IBM i platform. This exercise provides the opportunity to use Gitbucket to establish a local GIT project and explore the various commands and functions supported by GIT.
This hands-on exercise provides the opportunity get familiar with commands and scripting in the PASE environment.
This exercise provides the opportunity to work with Apache Kafka to build data pipelines for Db2 triggered events. Data pipelines are becoming a fundamental building block in the integration of heterogeneous applications and systems. This exercise shows how easy it is to establish data pipelines on IBM i to leverage the ground-truth that the Db2 data represents, and how to extend to additional consumers and usages.
Some general notes to keep in mind regarding the IBM i training exercises: