• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • PHP Will Soon Be Native on the System i5

    April 3, 2006 Timothy Prickett Morgan

    Decades of computing has not in any way diminished the number of different programming languages in the world, which is a bit astonishing when you stop to think about it. There is always a new type of job that comes along, and more times than not, a new programming language evolves to do that job. So it is with the PHP language, which is arguably one of the most popular languages in use out there on the Web. And very soon, as we told you last year, you will be able to get it for your System i5.

    And, for free. Yeah, free. But, you are going to have to wait a little bit longer than you might like to get native PHP on the System i5 platform.

    This week at LinuxWorld, IBM, the owner of the System i5 hardware platform and the i5/OS software platform, and Zend Technologies, will preview a native implementation of the Zend Core platform for running PHP and the Zend Studio development environment for creating PHP applications, one that understands the iSeries and knows how to talk to DB2/400 and the Integrated File System. The techies in the IBM Rochester labs have been pondering how they might support PHP natively on the iSeries (now the System i) platform for more than a year. IBM and Zend announced a partnership in February 2005, which sought to integrate the commercialized PHP engine, which is called Zend Core, with IBM’s Cloudscape open source database as a development environment that spanned IBM’s server lines. But Cloudscape is not a deployment database except for perhaps some embedded applications, and for commercial applications, you really need an industrial-strength database like IBM’s DB2 8 or DB2/400 or Oracle‘s 9i or 10g. The Zend Core for IBM product, which IBM and Zend committed to bring to market last year, also has hooks into DB2, and that is why many of us suspected that IBM would eventually get around to bringing PHP to the iSeries.

    PHP support on the System i5 platform was not inevitable because it was technically possible, but also given the popularity of the PHP language for scripting HTML pages and making them more dynamic. Quite frankly, Java is not for everyone, and because of the limitations of RPG–mainly that it does not speak HTML without an intermediary interpreter-which is the preferred language on the OS/400 and i5/OS platform. According to Doron Gerstel, who is a co-founder of Zend and who serves as its president and chief executive officer, there are now approximately 2.5 million PHP programmers in the world (probably three to four times as many programmers as there are on the OS/400 platform using RPG or COBOL) and about 22 million Internet domains that use PHP in one form or another. Heaven only knows how many internal applications running on intranets or partner networks are based on PHP. And just for reference, Sun was bragging that Java had 2.5 million programmers in 2001 and was saying that it hoped to boost that number to 4 million by 2003 and would eventually reach 10 million programmers by the end of this decade. But Java only hit 4.5 million programmers last summer, and there is very little doubt in my mind that Microsoft‘s C# Java-alike language for its Common Language Runtime (CLR) environment and PHP have both dampened the growth spike for Java. Why? Because Microsoft has its own Java alternative in C# and because people who don’t want either Java or C# because they are too complicated or Perl or JavaScript because they are too primitive are looking for something like PHP.

    (For a history of PHP and how it is different from and similar to other languages, see PHP is Almost Certainly Coming to the iSeries from the April 4, 2005, issue of this newsletter.)

    “PHP has rapidly become the most heavily used scripting environment,” says Gerstel. And he ain’t kidding. In 1997, PHP 3 was created, and this was arguably the first usable implementation of PHP. In 1999, there were about 1 million domains using PHP, and by 2000, that number exploded to 5 million domains. By 2002, search engine and online store operator Yahoo standardized on PHP for parts of its site applications, and that was a watershed event that helped push PHP onto 10 million domains. When PHP 5 was launched in 2004, that number grew by 50 percent again to hit 15 million domains, and with the delivery of commercial-grade PHP 5 in the Zend Core platform, PHP has been able to maintain its growth to hit 22 million domains, or about half of the public Internet, but its growth has hit a plateau, as you can see from this chart on the open source PHP project’s Web site. There are about 78 million registered Internet domains in the world, and about 37 million active domains that actually have a Web server pushing out pages. PHP’s presence on the Internet, even if it only holds steady, is nothing short of remarkable.

    Ever since IBM embedded the PASE AIX runtime environment inside OS/400 and offered support for Linux and then AIX on the iSeries server inside logical partitions, customers have been able to add a PHP engine to their iSeries boxes. But being able to run open source PHP is not the same thing as having commercial-grade support for something that your business is betting on, and it is certainly not the kind of integration that OS/400 shops have come to expect. Zend has built a business providing commercial-grade tools for PHP.

    IBM and Zend are working to bring four different products to market that related to PHP. The first is Zend Core for i5/OS, which is the hardened version of the open source PHP runtime environment that has been tweaked to install to specific platforms like Linux, Unix, or i5/OS. Zend Core also includes the hooks into various database features, and for Zend Core for i5/OS, this will include native access to DB2/400 as well as to data queues and data areas inside i5/OS. According to Andi Gutmans, the vice president of technology and a co-founder of Zend (he is the “nd” in Zend), IBM is working on bridges that link PHP to RPG and COBOL applications; the functionality for linking to DB2/400 databases and talking to the Apache variant of the Web server deployed on the System i5 server is already done. This work for link to RPG and COBOL applications is what is pushing the delivery of Zend Core for i5/OS to June 2006.

    The second piece of the Zend stack that is coming to the System i5 is called Zend Studio. Zend Studio 5, which uses the latest PHP 5 language, is the integrated development environment that started shipping in December 2005. According to Gerstel, Zend now has 25,000 developers using the Zend Studio tool, and the company very much wants to add programmers at OS/400 shops to these ranks. Zend Studio for i5/OS will be available in June as well.

    The interesting thing about this is that IBM and Zend will be distributing it for free to all customers who buy System i5 machines. “Everyone will get a free entitlement to the runtime and Zend Studio,” says Mike Smith, chief software architect for the System i product line. “We want everyone to know that the System i is the best platform to run PHP.”

    Not all Zend software will be free on the System i line, of course, because Zend has to make money somehow. There are two other pieces of software that Zend is porting to the System i. The first is Zend Platform, the production PHP runtime environment that includes clustering and performance tweaks to make PHP applications more peppy and more resilient. Zend Platform is expected on i5/OS by the end of the year, according to Gutmans. And so is Zend SafeGuard, which is a program that obfuscates the open source PHP code in a commercial environment so no one can see the PHP as it is being rendered in a working application.

    You’ll get a kick out of this: Zend SafeGuard has an encoder that compiles PHP down into an intermediate binary file and then an optimizer that allows the PHP engine to run these files. The idea is to prevent reverse engineering of PHP code for applications that companies do not want to make open source. (While PHP is an open source project, there is nothing in the PHP license that says applications you create using PHP have to be open source.) The optimizer also allows software vendors and in-house shops to tie PHP applications to specific servers, to a certain number of concurrent users, to a certain length of runtime, or a particular subset of a network. All of these features are useful not only for software licensing, but for software as a service (SaaS) products. The kick I said you would get out of SafeGuard is this: On the OS/400 platform, RPG and COBOL are also rendered in an intermediate code form as well as completely binary form, and that intermediate form is the abstracted code that has allowed RPG and COBOL to be moved from different underlying IBM midrange hardware over the past three decades. When you move your RPG applications from one machine to another, if the hardware is radically different, this intermediate RPG code is compiled by the system the first time it runs so it matches the specific hardware you have. If you move to another hardware platform in three years, i5/OS keeps this intermediate code around, where you can’t even mess with it, and moves it over and does the same thing again. This is genius. To the outside world, it just looks like the old RPG application is running on the new platform. PHP is an interpreted language–at least for now–but if it becomes a compiled language in the future, which it might if single-threaded server performance hits a wall, then this intermediate code might be the thing that keeps PHP portable even though it is compiled.

    Zend has not set pricing for Zend Platform for i5/OS or Zend SafeGuard for i5/OS. On Linux boxes, Zend Platform costs $1,400 per processor per year for a subscription model and $2,880 for a perpetual license. Zend Core for IBM, which has tweaks for IBM’s servers running Linux, costs $295 per year for up to ten servers. Zend SafeGuard comes only as a subscription that costs $960 per year; programmers can encode and run as many applications as they want, and after the subscription expires, PHP applications will still run but the system will not allow any new encoding of new applications.

    One last thing. This is a multi-year agreement between IBM and Zend, and it is the first technology in a long time that IBM has brought to market that is hot and new as well as native to OS/400 or i5/OS. While having Linux or AIX support on the iSeries was great, what IBM needs is to make i5/OS more relevant to new and existing customers and less dependent on the green-screen software tax. This is a step in the right direction to do that. However, putting PHP support up there alongside Java as an equal (of sorts) to RPG and COBOL on the OS/400 platforms has its problems. For one thing, the network of tool providers who make a living in the OS/400 ecosystem might not be welcoming Zend with such open arms.

    We will be talking to them about that very topic in a future story.

    RELATED STORIES

    PHP is Almost Certainly Coming to the iSeries

    Check Out i5php.net for iSeries-Specific PHP Tools

    Java Turns Ten, Still At Odds with .NET, Aloof About PHP

    Zend Delivers New PHP Engine for IBM Servers

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mtfh_rc, Volume 15, Number 14 -- April 3, 2006

    Sponsored by
    PERFSCAN

    Revolutionary Performance Management Software

    At Greymine, we recognize there is a void in the IT world for a dedicated performance management company and also for a performance management tool that’s modern, easy to use, and doesn’t cost an arm and a leg. That’s why we created PERFSCAN.

    PERFSCAN is designed to make your job easier. With revolutionary technology, an easy-to-read report and graphics engine, and real time monitoring, tasks that used to take days can now take minutes. This means you will know your system better and will be able to provide better service to your customers.

    OUR FEATURES

    PERFSCAN is full of robust features that don’t require you to take a three-day class in order to use the product effectively.

    Customizable Performance Reporting

    Whether you are troubleshooting a major system problem or simply creating a monthly report, PERFSCAN lets you select any combination of desired performance metrics (CPU, Disk, and Memory).

    User Defined Performance Guidelines

    No matter if you are a managed service provider managing complex systems in the cloud or a customer analyzing your on-premises solution, PERFSCAN gives you the flexibility to define all mission critical guidelines how they need to be.

    Understanding The Impact Of Change

    Tired of all the finger pointing when performance is suffering? PERFSCAN’s innovative What’s Changed and Period vs. Period analysis creates a culture of proof by correlating known environmental changes with system performance metrics.

    Comprehensive Executive Summary

    Creating performance graphs is easy. Understanding what they mean is another thing. With one mouse click, PERFSCAN includes an easy-to-understand executive summary for each core metric analyzed.

    Combined Real-Time Monitor And Performance Analysis Tool

    With PERFSCAN’s combined built in enterprise real-time monitor and historical performance analysis capability, you will always know how your mission-critical systems are performing.

    Cloud Performance Reporting Is Easy

    Managing performance for production systems in the cloud can be a black hole to many system administrators. The good news is PERFSCAN analyzes all core metrics regardless of the location. That’s why MSPs and customers love PERFSCAN.

    Detailed Job Analysis

    PERFSCAN shows detailed top job analysis for any desired period. All metrics are displayed in two ways: Traditional Report and Percentage Breakdown Pie Chart. This toggle capability instantly shows the jobs using the most system resources.

    Save Report Capability

    Your boss lost the report you gave to him on Friday. Now what do you do? With PERFSCAN’s save report capability, any report can be retrieved in a matter of seconds.

    Professional PDF Reporting With Branding

    Creating professional looking reports for your customers has never been easier with PERFSCAN. Branding for our partners and service provider customers is easy with PERFSCAN.

    Check it out at perfscan.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    IBM Hints at Triple Redundancy in Power6 Avoiding the Green Screen of Death in RPG Programs

    Leave a Reply Cancel reply

TFH Volume: 15 Issue: 14

This Issue Sponsored By

    Table of Contents

    • Tachy i Syndrome: Aye Yi Yi Don’t Care What You Call It, Just Capitalize the Letter “I”
    • COMMON System i Town Hall and Sound Off Recap
    • PHP Will Soon Be Native on the System i5
    • System i General Manager Shearer: Integration Man
    • 3Com, IBM Are Porting VoIP Suite to the System i5
    • Spring COMMON Turned Out to Be Pretty Lively
    • IBM Sort Of Clarifies Plans for S/36 and S/38 Environments
    • Why American Employees Are So Unhappy
    • Doug Fulmer to Leave IBM for Clear Technologies
    • Tachy i Syndrome: Aye Yi Yi Don’t Care What You Call It, Just Capitalize the Letter “I”

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • Power10 Boosts NVM-Express Flash Performance
    • Fortra Completes Postmortem Of GoAnywhere Vulnerability
    • Guru: Binding Directory Entries
    • How Does Your Infrastructure Spending Stack Up To The World?
    • IBM i PTF Guide, Volume 25, Number 22
    • Fortra Issues 20th State of IBM i Security Report
    • FNTS Launches Managed Services for Power Servers in IBM Cloud
    • Total LTO Shipped Capacity Up Slightly in 2022
    • Four Hundred Monitor, May 24
    • Update On Critical Security Vulnerability In PowerVM

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2023 IT Jungle