Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Allen:
Adding a user to your Bluemix space
Aug 25, 2017 @ 10:09:01

Rob Allen continues his series looking at the "serverless PHP" environment that is a part of the IBM Bluemix offering. In his previous post he introduced some of the basic concepts of using the service and helped you create a sample "Hello World" function. In this new tutorial he shows how to update that environment and create a user and allow them access to the PHP functions already created.

I'm at the stage where I need to give another developer access to my IBM Cloud Functions actions. I'm not really an infrastructure person and I found the user management pages on the Bluemix console incomprehensible, so used the command line. This is how I did it so that I don't have to work it all out again.

There's only two steps to the process: adding the user to your organization and adding the user to the space. He goes through both steps, explaining how it works and the command line calls to make it happen. This also provides the added user with access to related resources (like databases).

tagged: bluemix serverless user add commandline tutorial ibm

Link: https://akrabat.com/adding-a-user-to-your-bluemix-space/

Rob Allen:
Getting started with Serverless PHP
Aug 24, 2017 @ 09:19:19

In a new post to his site Rob Allen talks about getting up and running with "serverless PHP" using the Apache OpenWhisk cloud platform that executes as events are fired rather than sitting as an entire application.

I've been interested in Apache OpenWhisk for a little while now and recently submitted a new feature to add PHP support to the project. As OpenWhisk is a serverless environment, most users do not run their own copy and instead use a commercial provider with IBMs Bluemix available now along with Adobes I/O Runtime and RedHat coming soon. As a result, my contribution, isn't practically useful until it's in production with a provider.

Fortunately, and remarkably quickly, IBM have added support for PHP to the Bluemix "IBM Cloud Functions" platform, so now we can use PHP to develop serverless applications and deploy them into the wild! This is a rebranding, so you'll see this referred to as "Bluemix OpenWhisk" around the web too.

He walks you through the setup of an account on the bluemix.net service and how to install OpenWhisk locally rather than the IBM "Bluemix CLI" tool. He then shares the code to create a simple "Hello World" function in PHP (7.1) and push it up to your account. He then executes the action from the command line, returning his JSON formatted greeting. Next he shows how to set this function up as a web action and give it a URL for the outside world to access. He finishes the post with some examples of calling the URL and how it would receive parameters via a POST or a GET.

tagged: serverless development ibm bluemix function web cli tutorial

Link: https://akrabat.com/getting-started-with-serverless-php/

Daniel Krook's Blog:
Migrating PHP applications to DB2
Mar 09, 2012 @ 08:20:28

As Daniel Krook mentions in his latest blog post, the IBM developerWorks site has just posted the last part of a series he's been writing about migrating a PHP application's backend over to DB2.

IBM developerWorks has just published the final part in our series on migrating a PHP application from MySQL to DB2. [...] In addition to sharing our own experience, the series highlights the number of resources available to you to carry out your own migration.

The series is broken up into four parts:

tagged: db2 migrate tutorial series ibm developerworks mysql

Link:

IBM developerWorks:
Create a PHP development environment on the cloud
Mar 15, 2011 @ 10:08:44

On the IBM developerWorks site today there's a new tutorial from Daniel Krook showing you how to use the IBM Cloud product to set up a development environment based on a Red Hat Enterprise server distribution with Zend Server as the PHP environment.

This article explains what makes cloud computing appealing to PHP developers and provides step-by-step instructions how to use the IBM Cloud to set up a PHP and DB2 development environment quickly. Learn how to provision Linux data and web application servers, connect to the virtual machines via SSH, use X Forwarding to install a pre-configured PHP distribution, and test your connection to DB2.

He starts with some benefits that the IBM Cloud can bring to developers and lists a few common goals that they look for in their development platforms. The rest of the post walks you through the setup and install of a sample instance - adding and configuring it, connecting via an SSH connection and installing Zend Server to give you a simple, hassle-free installation of a PHP environment.

tagged: ibm cloud zendserver development environment tutorial

Link:

Zend Developer Zone:
Podcast: Interview with Mike Pavlak
Feb 18, 2011 @ 11:48:53

On the Zend Developer Zone there's a recent post of an interview with Mike Pavlak, a Solutions Consultant and IBM Series i expert, as interviewed in a podcast by Kevin Schroeder of Zend.

In this podcast Mike talks a little bit about where he's come from, the history of PHP on the i and, what I think is most interesting, what it is that PHP developers can learn from the "old-school" RPG developers and vice versa.

Mike also talks about one of his favorite parts of his job - being able to go out and give talks and just being out in the communities (user groups, conferences, etc). You can listen to this interview via the in-page player for the post.

tagged: podcast interview mikepavlak ibm seriesi rpg programmer

Link:

IBM developerWorks:
Understanding the Zend Framework, Part 1: The basics
Jan 24, 2011 @ 14:18:53

The IBM developerWorks site has posted a very high-level overview of one of the most popular PHP frameworks currently in use the Zend Framework. This is part one of their introductory series looking at the framework and what it has to offer.

Technical alliances with companies such as Abobe, Microsoft, and IBM, have strengthened the support and stability of the framework, which is now used by startups and Fortune 500 companies around the world. This article gives you a high-level view of the Zend Framework, explaining its general concepts and preparing you for the rest of this "Understanding the Zend Framework" series, which goes into the details by chronicling the creation of a new online RSS/Atom feed reader. You won't do much coding here, but for the rest of the series, you should be familiar with PHP.

They introduce the framework and talk about some if its origins and how the Zend Framework found its niche to stand on and dramatically improve over the past few years. They list some of the more widely used components including the Zend_Form, Zend_Db, Zend_Filter, Zend_Search, Zend_View and Zend_Log.

This series was originally published about four years ago but they've gone through and given it a refresh. The result is this first part and eight others with the holes filled in for the latest version and features of the framework. This first part has links to the others in the series near the bottom.

tagged: zendframework introduction ibm tutorial series

Link:

Enrico Zimuel's Blog:
Convert a spool file to PDF using PHP on i5/OS
Feb 01, 2010 @ 10:20:55

Enrico Zimuel has a new post to his blog today looking at the translation of a spool file on an (IBM) i5/OS machine into a PDF file using the Zend Core for i5 from Zend.

Zend Core for i5/OS provides the i5 Toolkit for PHP, an API system to call i5 functionalities from PHP. One of the function of this API is the i5_spool that is able to manage spool files for specific i5 users. In this post I present a class to convert a spool file in PDF using the Zend_Pdf class of the Zend Framework.

He includes the quick twelve line code you'll need to get the job done. It reads in the spool file with some built-in functions and calls the "toPdf" method to export the result. There's also a few parameters you can include as a second parameter that let you define things like font size and margins.

tagged: zendcore pdf spool is5 ibm tutorial

Link:

IBuildings techPortal:
An Introduction to IBM WebSphere sMash for PHP Programmers
Dec 09, 2009 @ 08:43:54

The IBuildings techportal has release the latest episode of their podcast series from this year's Dutch PHP Conference. This time it's a talk Jonathan Lawrence gave on IBM WebSphere sMash.

In today's dynamic Web environment, developers want to build Web applications quickly, re-use and combine them simply, and adopt an agile approach to development. IBM's WebSphere sMash (aka Project Zero) is a complete platform for developing, assembling and executing agile Web 2.0 applications. In this talk I’ll demonstrate how PHP developers can use WebSphere sMash, with its focus on speed, simplicity and agility, to develop and deploy leading edge Web 2.0 applications.

You can listen in two ways - either via the in-page player or by downloading the mp3 directly.

tagged: ibm websphere smash podcast dpc09

Link:

Zend Developer Zone:
A PHP 'Hello World' Script Using Zend Core for i5
Sep 24, 2009 @ 08:16:32

New on the Zend Developer Zone is a tutorial showing a "Hello World" setup, configuration and testing of the Zend Core for the IBM i5 series from start to finish.

You've successfully installed the Zend Core for i5. Now what? The process of developing PHP scripts may not be obvious to System i developers familiar with RPG and COBOL. Let's take a look at the basic steps needed to start writing PHP scripts on System i.

They look at where the parts of the application are located, the steps to take to ensure it's running correctly, setting up Zend Studio and a personal development space and creating two simple scripts - one "Hello World" and the other that makes a DB2 connection to the local instance.

tagged: helloworld zendcore i5 ibm tutorial

Link:

Zend Developer Zone:
PHP - Faster And Cheaper. Scale Vertically with IBM Power Systems
Sep 03, 2009 @ 08:02:36

On the Zend Developer Zone today Sam Hennessy has posted some information about how the IBM Power Systems can help you and your PHP application both perform better and do it for less.

If you're from the LAMP world, the concept of vertically scaling with a system like the i5 (IBM Power Systems) will be a complete revelation. If you follow the vertical scaling methodology, when it comes time to design how your application will scale, there is nothing for you to do.

With the i5 series all of the software runs locally and can be optimized for the best performance ("reduced complexity"). Virtual machines on the same physical machine make it quick and easy to create separate environments (like QA or staging). The system does a lot of the common maintenance tasks itself and could require less attention from the IT admins. You can find out more information about these machines from the IBM website.

tagged: ibm powersystems scale machine i5

Link: