• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
What's new with Zend server
 

What's new with Zend server

on

  • 2,292 views

COMMON Europe Congress 2012 - Vienna

COMMON Europe Congress 2012 - Vienna

Statistics

Views

Total Views
2,292
Views on SlideShare
2,292
Embed Views
0

Actions

Likes
0
Downloads
21
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    What's new with Zend server What's new with Zend server Presentation Transcript

    • PHP on IBM i: What’s New with Zend Server 5 for IBM i Function JunctionMike PavlakSolutions Consultantmike.p@zend.commike p@zend com © All rights reserved. Zend Technologies, Inc.
    • PHP Sessions Sun 11:30 AM • What’s New with Zend Server Sun 1:30 PM • Business Value of PHP Sun 4:00 PM • Practical PHP by Example (Leth-Kjaer) Mon 10:00 AM • PHP on IBM i: Getting Started Mon 10:00 AM • DB Standards in Zend PHP usage (Sielhorst) Tue 10:00 AM • MySQL on IBM i, Open Source & DB2 Store Tue 11 30 A 11:30 AM • PHP Arrays for the RPG Programmer| 2 Copyright © 2009 Zend Technologies, Inc, All rights reserved © All rights reserved. Zend Technologies, Inc. 02/03 /10
    • Audience • Used PHP somewhere else • New to Zend PHP • Looking to understand the strategic direction g g • Anyone who does not believe third party vendors ARE investing in this space…3 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Agenda • Review the IBM relationship • Technical Overview • Product Installation • Community Edition Features Toolkit, optimizer, java bridge, debug •F t Features of commercial edition f i l diti  Monitoring, Code Tracing, Job Queue4 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • What’s New with Zend Serverwww.zend.com IBM Relationship © All rights reserved. Zend Technologies, Inc.
    • IBM Relationship History • Zend is an IBM strategic business partner • IBM selected Zend to bring PHP to IBM i in 2005 • Beta, then Core, then Platform now Server • Tens of thousands of downloads from Zend • Zend Server part of IBM i6.1 & i7.1 • Products are always available at Zend.com6 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • IBM Relationship FAQ’s FAQ s • What do we get? Zend Server CE Zend Studio 1 year Sil Silver L Level S l Support ( t (email/web 72 h il/ b hour response) ) Since Feb 1, 2009 • What happens after 1 year? Product will still run No updates to product or PHP* Forum support only pp y7 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Support Options • Silver for the first year from your first download Web ticket/email support 72 hour response window • G ld - B i Gold Business h hour support t 6 hour response on P1 (site down) • Pl ti Platinum – 24/7 2 hour response on P1 (site down) Customer requested PHP Bug Hot Fixes • SLA detailed on Zend Website http://www zend com/en/services/support/production-sla http://www.zend.com/en/services/support/production-sla9 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Server 5 for IBM iwww.zend.com Technical overview © All rights reserved. Zend Technologies, Inc.
    • What Is Zend Server? • Production quality PHP stack PHP ZF DB connectivity debugging extension PHP, ZF, connectivity, extension, and more • Two Editions - Free “Community Edition” provided by IBM & Full commercial edition Both are production ready • Application monitoring and diagnostics (integrated with Zend Studio) • Multi-level performance enhancement capabilities • S ft Software updates and security h t fi d t d it hot fixes • Easy and quick installation • Zend Framework Integration g12 What is Zend Server © All rights reserved. Zend Technologies, Inc.
    • Why a new generation? • Based on feedback of key areas for Improvement y p • Improved basic PHP Performance 30% to 600% depending on the application p g pp • New capabilities Code Tracing – Faster problem resolution Job Queue – Asynchronous PHP script processing (in batch!) Page Caching – Performance and scalability Support for PHP 5.3 • Easier installation, administration & maintenance14 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Server Under the Covers IBM i ILE Apache:10088 i/OS • Default PHP file configuration PASE FastCGI HTTP:10088 URL Request PHP CGI *PGM Server (FastCGI) CMD HTML Zend Server DB2 UDB © All rights reserved. Zend Technologies, Inc.15
    • Zend Server for IBM iwww.zend.com Installation © All rights reserved. Zend Technologies, Inc.
    • Zend Server Installation • Can install PHP 5.2 or 5.3 (Select PHP 5.3, see www.php.net ) • Save File or Windows installer available at Zend.com • Updated Fast CGI built by IBM requires PTFs Current group for 57nnDG1 – IBM HTTP Server for i5/OS  http://www-912.ibm.com/s_dir/sline003.nsf/GroupPTFs?OpenView&view=GroupPTFs V5R4 – Updated! • PASE – SI36004 – Updated! • HTTP – SI36026 i6.1 – Updated! • PASE – SI36005 • HTTP – SI3602717 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Core Users • Can install Zend Server side by side • Uses new directories • Uses different port 10088 • Consider running one side at a time Potential conflict with user based applications. Other applications • Once successfully on Zend Server, remove Core DLTLICPGM18 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • File locations • Document Root /www/zendsvr/htdocs • Zend Installation Directories /usr/local/zendsvr • Zend Framework /usr/local/zendsvr/share/ZendFramework • PHP binaries (CLI and more) /usr/local/zendsvr/bin21 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Other new defaults • Web User QTMHHTTP • Initial port 10088 • Admin Interface http://yourIBMiNameHere:10088/ZendServer • Nice comparison table of Core vs. Server (Alan Seiden) http://www.alanseiden.com/2010/04/21/differences-between- zend-core-and-zend-server-on-ibm-i/22 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Update process • User controlled PTF • PTF available f il bl from Z d Zend • Check for updates in Administration panel23 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Sample scripts • Free for the install http://yourIBMiName:10088/Samples/ • B i concepts, if you want an application consider O Basic t t li ti id Open Source community • Scripts examples: HelloWorld SQL Data Access to DB2 Q SQL Data Access using ZF SQL Access to MySQL Program call LDAP24 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Server for IBM iwww.zend.com Community Edition Features © All rights reserved. Zend Technologies, Inc.
    • Zend Server CE vs Commercial vs. Feature CE Commercial Certified PHP ● ● Zend Framework ● ● Apache integration ● ● MySQL ● ● Built-in database connectivity ● ● Java connector ● ● Web-based admin ● ● Debugger ● ● Bytecode acceleration ● ● Caching API ● ● PHP 5.3 ● ● PHP IBM i toolkit ● ● Page Cache ● Application Monitoring ● Code tracing ● Job queue ● Software updates and hot fixes ● Technical support ●26 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Database resources supported • DB2 db2_connect • MySQL mysql_connect • Microsoft SQL Server mssql_connect • Oracle oci oci_27 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Leverage investments in existing technology • Call High level language programs g g g p g RPG COBOL CL programs via toolkit C based API’s • Call Java Program via Java Connector Now part of the both Zend Server and Zend Server Community Edition28 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Optimizer+ Eliminates what’s not needed Opcode cache • Caches the PHP bytecode in RAM • Significantly reduces disk access Opcode optimizer • O ti i Optimizes certain code f t i d fragments t i t to improve execution speed ti d Now part of the free Community Edition package29 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Data Caching Provides a set of API functions for caching data items g DB query results, web service calls, complex or hard-to-get data Output elements Allows skipping slow PHP code chunks Shared memory and Disk storage backends Data can be grouped using namespaces APC user cache compatibility layer Zend Framework Zend_Cache_Backend adapters30 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Server Updatewww.zend.com Open Source Toolkit © All rights reserved. Zend Technologies, Inc.
    • Toolkit Plumbing from 10 000 feet 10,000 DB2 DB2 Extension Functions or ODBC DRDA DB2 XML Stored PHP Procedures OO & Classes Program g Data Toolkit T lkit Calls API XML HLL’s OO R Request RPG, COBOL i5 RPG Compatibility XMLSERVICE functions Wrapper System Parm Data Artifacts32 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • XML Service • IBM has open sourced XMLService. p • First Open Source project on IBM i. (that I know of…) • Made up of RPG, CL and DB2 stored procedures (SQL) p , p ( Q ) • Tony Cairns, IBM Rochester33 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • XML Service • Cross platform p • Language agnostic • Basic plumbing for all open source languages p g p g g34 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Compatibility Wrapper • Intercepts existing i5 function requests p g q • Written in pure PHP • Passes them on to OO PHP which then… • Passes on to XML Service • Alan Seiden, SBS & alanseiden.com Seiden35 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Source Code on YiPs for now YiPs…for now… • http://youngiprofessionals.com/36 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Now the program call • Set parameters based on function p Call program V I C a L n I o Output results e r i m n t / g m n e O t h n a v a t m l e37 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Server for IBM iwww.zend.com Commercial Edition Features © All rights reserved. Zend Technologies, Inc.
    • Application Monitoring Zend Server Monitor will watch your application for: y pp PHP Errors (including warnings, notices, uncaught exceptions...) Failing functions (user-defined or internal) Failing DB queries Slow functions (user-defined or internal) or DB queries Slow request executions High memory consumption Errors reported by Zend Server components When an issue is detected, Zend Server reports an event and detected takes the “Dump” every time!39 Code Tracing © All rights reserved. Zend Technologies, Inc.
    • Page Caching Dont execute a single line of PHP if you dont have to g y Caches entire HTTP response Configured from UI, no code changes required Live / cached decision is based on request or session parameters Variants can be created based on request or session parameters40 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Page Caching41 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Zend Server 5 for IBM iwww.zend.com Code Tracing d © All rights reserved. Zend Technologies, Inc.
    • Code Tracing Supported Workflows• Monitoring workflow: g When a monitoring event is created, the associated trace data of the specific request is captured Trace data is attached and associated to the monitoring event• Manual tests/functional workflow: Manually through the GUI or from a browser by adding a parameter to the request• Production workflow Can be activated automatically in case of a Zend Monitoring event, for example a PHP error, a slow execution or high memory usage © All rights reserved. Zend Technologies, Inc.
    • Code Tracing Enhancements since last demo• We are working this stuff pretty hard  g p y• Toggle Critical path display• Toggle Memory display gg y p y• Arguments display © All rights reserved. Zend Technologies, Inc.
    • Zend Server 5: Technical Overviewwww.zend.com Job Queue b © All rights reserved. Zend Technologies, Inc.
    • Job Queue allows you to to... • Put certain tasks into a separate execution queue p q Off-load to new process (or defer to a later time) Off-load to a different server • Execute certain tasks at a specified time Distribute processing load to off-hours • Execute certain tasks periodically • While.. Maximizing reuse of existing infrastructure & code Making sure nothing falls between the cracks Doing it all from a PHP API46 © All rights reserved. Zend Technologies, Inc.
    • Creating Jobs • Jobs are created using the createHttpJob() method g p () $queue = new ZendJobQueue(); $queue->createHttpJob( http://backend.local/jobs/somejob.php); • Pass parameters Simple ones, via query string $_GET C Complex ones, as an associative array of k => value pairs l i ti f key l i • Set job options N Name, priority, schedule, etc. i it h d l t Create deferred or recurring jobs • Or… create from the UI47 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Resources • Recorded Webinars http://www.zend.com/en/resources/webinars/i5-os •Z d S Zend Server f IBM i main page, li k t d for i link to downloads l d http://www.zend.com/en/products/server/zend-server-ibm-i • Zend Server manual: PDF: htt // http://www.zend.com/topics/Zend-Server-5-for-IBMi-Reference-Manual.pdf d /t i /Z d S 5 f IBMi R f M l df Online: http://files.zend.com/help/Zend-Server-5/zend- server.htm#installation_guide.htm48 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.
    • Thank you & Q&A• If you have a question you can Type in the Q&A panel Tweet #zendwebinar• Follow us! http://bit ly/cjueZg (Zend Technologies or search for Zend) http://bit.ly/cjueZg http://twitter com/zend http://twitter.com/zend © All rights reserved. Zend Technologies, Inc.
    • Q&A www.zend.com mike.p@zend.com p Please fill out your Session Evaluation!50 Insert->Header & Footer © All rights reserved. Zend Technologies, Inc.