zend technologies and system i– zend has been the leading supplier of php products and solutions...
TRANSCRIPT
IBM System i
© 2006 IBM Corporation
Zend Technologies and System i
Delivering PHP for i5/OS
Leonardo LlamesConsulting I/T Specialist – Application IntegrationIBM Advanced Technical SupportRochester, MN
IBM System i
© 2006 IBM Corporation
Agenda
Introduction to PHP on i5/OS
Installation
Tooling & Applications
Support
IBM System i
© 2006 IBM Corporation
System i and Zend Announcements
April 3: IBM and Zend announced a multi-year agreement to deliver selected Zend PHP products and solutions for i5/OS®
2200+ people download the Early Access/Beta release of ZendCore for i5/OS
July 11: IBM announcement of order taking for Zend Core and Studio for i5/OS with GA on July 28.
http://www.ibm.com/systems/i/software/php
IBM System i
© 2006 IBM Corporation
What is PHP? PHP is an easy to use, open source, platform independent scripting language– PHP Hypertext Processor– Both a programming language & Web Server
processing environment• Server side, creates dynamic web pages• Platform agnostic
– Designed for web application development– 4.5+ Million PHP Developers
PHP is the leading scripting language deployed on the Internet– 22+ Million Internet domains – Out Pacing Microsoft’s ASP*
Thousands of PHP applications are available – Web applications tied to databases– Content management– Wikis and Blogs
* http://www.php.net/usage.php on 3-16-06
www.hotscripts.com,
www.phpjunkyard.com/
www.phpfreaks.com/
www.phpfreebies.com/
* Source: 2005 Netcraft Survey http://www.php.net/usage.php
A Brief History of PHP
Rasmus Lerdorf develops PHP/FI
Zeev Suraski, Andi Gutmans developPHP 3
PHP 4 Released
1M Internet domains
Zend EngineZend Founded
Yahoo! Standardizes on PHP
PHP 5.0•XML, SOAP, OOP
Zend Studio
IBM, Oracle Endorse PHP
PHPInternet Domains
23M
15M
10M
5M
1995 1997 1999 2000 2002 2004 Today
IBM System i
© 2006 IBM Corporation
Why Do Developers Use PHP?
Zend's June 2003 market snapshot of the PHP community. The survey had over 10,000 respondents. http://www.zend.com/zend/php_survey_results.php
IBM System i
© 2006 IBM Corporation
What Types of Applications are Developed in PHP?
Zend's June 2003 market snapshot of the PHP community. The survey had over 10,000 respondents. http://www.zend.com/zend/php_survey_results.php
IBM System i
© 2006 IBM Corporation
Zend TechnologiesThe founders of Zend have been key contributors to the PHP languagesince 1997
Zend delivers commercial products that enable developers and IT personnel to deliver and operate business-critical PHP applications
– Zend has been the leading supplier of PHP products and solutions for the last six years. Its products and solutions are being used by more than 15,000 companies worldwide. The Zend Engine (the PHP kernel) is being utilized on more than 22 million websites today
– Zend takes the open source PHP code through rigorous testing for additional quality assurance and adds over 35 popular PHP extensions to deliver their PHP runtime environment
Zend provides enterprise level support for the PHP environment
IBM System i
© 2006 IBM Corporation
The PHP Stack
L A M Pinux
pache
ySQL
HP
indows
IS
ySQL
HP
W I M P5/OS
pache
B2
HP
i A D P
IBM System i
© 2006 IBM Corporation
PHP and JavaJava™ is a general purpose programming language used for a wide rangeof application types. PHP is a specialized programming language focused on Web and Webservices development. Even though there can be overlap, in general Java is applied more for transaction based systems and for embedded applications, while PHP is used more for web applications. For web applications, PHP can be a simpler language to learn andcombined with the availability of open components, it can allow for quick prototyping and deployment. The two languages can be easily mixed in environments where Java back-end applications have PHP web-based front-ends.
IBM System i
© 2006 IBM Corporation
PHP and Other i5/OS Web TechnologiesIBM WebFacing Deployment Tool with HATS Technology (WDHT)– Create/uses Java to run in WebSphere Application Server– For applications with 5250 UI– PHP does not handle 5250Net.Data & CGI-BIN– Continue to be supported– PHP is possible replacement technologycgidev2– PHP is possible replacement technology
IBM System i
© 2006 IBM Corporation
Zend Products for Linux®, Unix®, Windows®
Zend Core – A fully tested and enhanced version of the open source PHP
runtime environement.
Zend Platform– A robust PHP production environment providing performance,
scalability, and monitoring for PHP applications
Zend Studio – Provides an integrated IDE for building and debugging PHP
applications
Zend Guard– Provides code protection and license enforcement tools for
solution providers
$199 per year with Standard Support
$299 per year with Standard Support
$995 per year
Prices not Public
– Prices from zend.,com on 6-29-06
IBM System i
© 2006 IBM Corporation
Zend Products for i5/OS
Zend Core for i5/OS – Available July 28 through IBM or Zend’s web site
Zend Platform for i5/OS
Zend Studio Professional for i5/OS – Available July 28 through IBM or Zend’s web site
Zend Guard– Available today via Zend’s web site
July 11 Announcement
2nd Half 2006
IBM System i
© 2006 IBM Corporation
Zend Products for i5/OS – July 11 Announcement
Zend Core for i5/OS – PHP runtime environment in i5/OS providing connections to
DB2 UDB for i5/OS and RPG and COBOL applications• With 3 years Standard support
– Gold and Platinum support levels available for a fee
Zend Studio Professional for i5/OS – Integrated Development Environment on Windows or Linux
• With 3 years Standard support– Gold and Platinum support levels available for a fee
No Charge
No Charge
Customers can order Zend Core for i5/OS and Zend Studio Professional for i5/OS from IBM– Orders will be passed to Zend for fulfillment starting on July 28
IBM System i
© 2006 IBM Corporation
Price Comparison
Linux / Windows i5/OS
Zend Core with 3 years Standard Support
$199 x 3 = $597 $0
Zend Studio Professional with 3 years Standard Support for 5 people
$299 x 3 x 5 = $4485 $0
Total $5082 $0
– Prices from zend.,com on 6-29-06
IBM System i
© 2006 IBM Corporation
Zend Core Installation in i5/OS
IBM System i
© 2006 IBM Corporation
System i Requirements for Zend Core for i5/OSi5/OS V5R4– Portable App Solutions Environment 33 5722ss1– IBM Portable Utilities For i5/OS *Base 5733sc1– OpenSSH ,OpenSST,Zlib 1 5733sc1– CCA Cryptographic Service Provider 35 5722ss1– Qshell 30 5722ss1
– System Openness Includes 13 5722ss1
– Digital Certificate Manager 34 5722ss1
System i products that run i5/OS V5R4 – System i5TM models
• 520, 550, 570, and 595– iSeriesTM models
• 270, 800, 810, 820, 825, 830, 840, 870, 890, SB2
V5R3 support coming soon!
IBM System i
© 2006 IBM Corporation
Download from http://www.zend.com
1. Unzip2. FTP zcoreprod.savf to i5/OS save file QGPL/ZCOREPROD
ftp> binftp> cd /QSYS.LIB/QGPL.LIBftp> put zcoreprod.savf
3. In i5/OS command line,RSTLICPGM LICPGM(1ZCORE5) DEV(*SAVF) SAVF(QGPL/ZCOREPROD)
IBM System i
© 2006 IBM Corporation
Install Zend Core – RSTLICPGM from Save File
IBM System i
© 2006 IBM Corporation
Install Zend Core
IBM System i
© 2006 IBM Corporation
Install Zend Core
IBM System i
© 2006 IBM Corporation
Install Zend Core
IBM System i
© 2006 IBM Corporation
Install Zend Core
IBM System i
© 2006 IBM Corporation
Install Zend Core
IBM System i
© 2006 IBM Corporation
Install Zend Core
IBM System i
© 2006 IBM Corporation
Install Zend Core
TESTSYSTEM
IBM System i
© 2006 IBM Corporation
Starting Zend Core in i5/OS
IBM System i
© 2006 IBM Corporation
Start Zend Core
TESTSYSTEM
IBM System i
© 2006 IBM Corporation
Start Zend Core
TESTSYSTEM
IBM System i
© 2006 IBM Corporation
Accessing Zend Core
IBM System i
© 2006 IBM Corporation
IBM System i
© 2006 IBM Corporation
IBM System i
© 2006 IBM Corporation
Zend Core: Management & Control
IBM System i
© 2006 IBM Corporation
Zend Core: PHP Configuration
IBM System i
© 2006 IBM Corporation
Zend Core: Remote Debug & Benchmark
IBM System i
© 2006 IBM Corporation
PHP Applications
IBM System i
© 2006 IBM Corporation
PHP Integration with i5/OS
Zend Core for i5/OS will include Extensions and Toolkit so PHP applications can access: – DB2 UDB
– Program call
– Procedure call
– Data Area
– Data Queue
– Message Queue
– Commands
– System values
IBM System i
© 2006 IBM Corporation
DB2 ExampleRetrieve the list of names from table named NAMES in library RMSMITH
<?php try {
$conn = db2_connect("" , '', ''); if (! $conn) {
echo db2_conn_errormsg(); } else {
echo "Names from Table RMSMITH/NAMES</br>"; $result = db2_exec($conn, "select * from rmsmith.names ");
if ($result) { while ($row = db2_fetch_both($result)) {
echo "Hello, ".$row['NAME']."</br>"; }
} db2_close($conn);
} } catch (Exception $ex) {
echo $ex; } ?>
IBM System i
© 2006 IBM Corporation
MySQL
The World’s most popular opensource database– 15 million downloads a year
MySQL Adoption: – ~1/3 Windows, 1/3 UNIX, 1/3 Linux
52% of companies using Linux use MySQL– #2 most used on Linux after Apache
Many PHP applications use MySQL Posted how to get MySQLrunning on i5/OS V5R4 entry
on Zend Forum
IBM System i
© 2006 IBM Corporation
Zend Forum for i5/OS ….. www.zend.com/forums
IBM System i
© 2006 IBM Corporation
PHP Applications
Check out the thousands of PHP scripts available that can be used as-is or as the starting point for Web projects. – http://www.hotscripts.com
– http://www.phpjunkyard.com/
– http://www.phpfreaks.com/
– http://phpfreebies.com/
IBM System i
© 2006 IBM Corporation
Development Tooling
Zend Studio Professional for i5/OS
IBM System i
© 2006 IBM Corporation
Special, freely-available version for i5/OS servers
The most productive development environment for PHP– Highly advanced PHP editor
– Client/Server debugging & profiling
– Database integration
– Fully supports PHP 5 and the latest technologies
– Runs on Windows, Linux, MAC
– Tightly integrated with the Zend product line
Zend Studio Professional for i5/OS
IBM System i
© 2006 IBM Corporation
Zend Studio Professional for i5/OS
IBM System i
© 2006 IBM Corporation
Zend Platform for i5/OS
Additional license required
IBM System i
© 2006 IBM Corporation
PHP Application Performance:– Code Acceleration and Dynamic Content Caching
PHP Intelligence– Events, triggers, and actions
Application Insight– Run-time profiling and performance monitoring
Java Bridge– Java interoperability, requires one JVM for all PHP scripts
Audit trail– Error re-creation and online debugging
Zend Platform for i5/OSTargeted for 2H 2006
Availability
IBM System i
© 2006 IBM Corporation
Zend Platform Welcome
IBM System i
© 2006 IBM Corporation
Zend Platform: Zend Central
IBM System i
© 2006 IBM Corporation
Zend Platform: PHP Intelligence
IBM System i
© 2006 IBM Corporation
Zend Platform: PHP Events
IBM System i
© 2006 IBM Corporation
Zend Platform: Performance
IBM System i
© 2006 IBM Corporation
Zend Platform: Java Bridge
IBM System i
© 2006 IBM Corporation
Zend Support
IBM System i
© 2006 IBM Corporation
Support for Zend Products
Zend provides support for i5/OS based products through the ZendNetwork
Zend Core for i5/OS and Zend Studio Professional for i5/OS are provided with 3 years of Standard Support– Product downloads including current and previous versions– Software updates and information– Knowledge Base access– Web-based support including unlimited support tickets
Gold and Platinum Support options are available– Gold: phone support, Monday through Friday, eight hours a day – Platinum: phone support, seven days a week, twenty-four hours a day
http://www.zend.com/core/network/
IBM System i
© 2006 IBM Corporation
Zend Support Offerings for i5/OSStandard Gold Platinum
Zend Support Subscription Period 3 years 1 year 1 year
Web-based Support
Web Response Time/SLA 3 days 1 businessday
1 businessday
North American Phone SupportM-F 6am-6pm PST
Global Phone SupportM-F 6am-6pm GMT
Phone Response Time/SLA (English)
4 business hours
4 business hours
7x24 P1 Issues Phone Support (English)
7x24 P1 Issues Response Time/SLA 2 hours
Zend Network
Price No Charge $ $
IBM System i
© 2006 IBM Corporation
PHP on System i
For System i customers who need to innovate their business and are looking for an easy, cost-effective and rapid way to deploy web applications
For i5/OS solution providers who need to enhance their application offerings and are looking for an easy, cost-effective and rapid way to develop web applications
For PHP solution providers who need to expand their market for new PHP-based applications with the help of an established partner
IBM System i
© 2006 IBM Corporationi want an i.
Next StepsGet Educated Engage
Sales Representative
Technical Specialist
• Learn more with the PHP Sales Kit
• Take the “Selling PHP on i5/OS” WLS education
• Use the FAQ• Participate in Zend Forum• Attend 3Q Announcement
Tech Talk on July 12
V5R4 Customer• Order Zend Core and
Studio for i5/OS • Start a PHP project
V5R3 and Prior Customer• V5R3 support soon!• Establish a plan for
upgrading to V5R4• Plan a PHP project
i5/OS ISV
PHP ISV
• Developing System i PHP Applications Roadmap
Evaluate PHP for use in Web enablement plans
• Porting PHP Applications to System i Roadmap
Add i5/OS and DB2 as supported platforms
Audience
IBM System i
© 2006 IBM Corporation
8 IBM Corporation 1994-2006. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.
The following terms are trademarks of International Business Machines Corporation in the United States, other countries, or both:Instruction: Refer to the following URL: http://www.ibm.com/legal/copytrade.shtml. Edit the list below, IBM subsidiary statement, and special attribution companies which follow so they coincide with your presentation.
AS/400 eServer i5/OS System i5AS/400e
IBMIBM (logo)
Blue GeneiSeriesOS/400System ie-business on demand
Rational is a trademark of International Business Machines Corporation and Rational Software Corporation in the United States, other countries, or both.Intel, Intel Logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered
trademarks of Intel Corporation or its subsidiaries in the United States and other countries.Linux is a trademark of Linus Torvalds in the United States, other countries, or both.Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.UNIX is a registered trademark of The Open Group in the United States and other countries.Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.Other company, product or service names may be trademarks or service marks of others.
Information is provided "AS IS" without warranty of any kind.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.
Information concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.
All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contact your local IBM office or IBM authorized reseller for the full text of the specific Statement of Direction.
Some information addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.
Photographs shown are of engineering prototypes. Changes may be incorporated in production models.
Trademarks and Disclaimers