Zend Framework, a Beginner's Guide

Total Page:16

File Type:pdf, Size:1020Kb

Zend Framework, a Beginner's Guide Zend Framework: A Beginner’s Guide Vikram Vaswani New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Copyright © 2010 by The McGraw-Hill Companies. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. ISBN: 978-0-07-163940-8 MHID: 0-07-163940-3 The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-163939-2, MHID: 0-07-163939-X. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefi t of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative please e-mail us at [email protected]. Information has been obtained by McGraw-Hill from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, McGraw-Hill, or others, McGraw-Hill does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from the use of such information. TERMS OF USE This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGrawHill”) and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill’s prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms. THE WORK IS PROVIDED “AS IS.” McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise. For Tonka, who keeps asking "Why?", and Farah, who always knows the answer. About the Author Vikram Vaswani is the founder and CEO of Melonfire (http:// www.melonfire.com/), a consultancy firm with special expertise in open-source tools and technologies. He has 12 years of experience working with PHP and MySQL as a Web application developer and product manager, and has created and deployed a variety of PHP applications for corporate intranets, high-traffic Internet Web sites, and mission-critical thin-client applications. Vikram is also a passionate proponent of the open-source movement and is a regular contributor of articles and tutorials on PHP, MySQL, XML, and related tools to the community through his regular columns on the Zend Developer Zone and IBM DeveloperWorks. He is the author of Zend Technologies’ well-regarded PHP 101 series for PHP beginners, and his previous books include MySQL: The Complete Reference (http://www.mysql-tcr.com/), How to Do Everything with PHP & MySQL (http://www .everythingphpmysql.com/), PHP Programming Solutions (http://www.php-programming- solutions.com/), and PHP: A Beginner’s Guide (http://www.php-beginners-guide.com/). A Felix Scholar at the University of Oxford, England, Vikram combines his interest in Web application development with various other activities. When not dreaming up plans for world domination, he amuses himself by reading crime fiction, watching movies, playing squash, blogging, and keeping a wary eye out for Agent Smith. Read more about him and Zend Framework: A Beginner’s Guide at http://www.zf-beginners-guide.com. About the Technical Editor Ryan Mauger is the Lead Developer for Lupimedia (http://www.lupimedia.com/), a multimedia design agency in Somerset, England that specializes in bespoke content management systems for design-oriented Web sites. Ryan is a keen Zend Framework supporter and contributor, and can often be found answering questions and guiding people on IRC (#channel). When not evangelizing the Zend Framework, Ryan is a proud father, and enjoys escaping to the lakes for a spot of fly fishing. Read more about him and his work at http:// www.rmauger.co.uk/. Contents FOREWORD ......................................................................... xiii ACKNOWLEDGMENTS ........................................................... xiv INTRODUCTION .................................................................. xv 1 Introducing the Zend Framework ................................................................. 1 Overview ........................................................................................................................3 Features .......................................................................................................................... 4 Standards Compliance and Best Practices ............................................................ 4 Reusability ............................................................................................................ 4 Internationalization ............................................................................................... 5 Open Source .......................................................................................................... 5 Community Support .............................................................................................. 5 Unique Advantages ......................................................................................................... 5 Loose Coupling ..................................................................................................... 5 Rapid Release Cycle ............................................................................................. 6 Unit Testing Policy ............................................................................................... 6 Code-Generation Tools ......................................................................................... 6 Market Credibility ................................................................................................ 6 Third-Party Application Interoperability .............................................................. 6 Commercial Support Options ............................................................................... 7 Extensive Documentation ..................................................................................... 7 Application Environment ............................................................................................... 7 Installing the Zend Framework ...................................................................................... 8 Try This 1-1: Starting a New Project ............................................................................. 10 Understand Application Requirements ................................................................. 11 Create the Application Directory .......................................................................... 11 Create the Application Skeleton ........................................................................... 11 Add Zend Framework Libraries ........................................................................... 13 Define Virtual Host Settings ................................................................................. 13 Using the Command-Line Tool ...................................................................................... 14 Summary ........................................................................................................................ 17 2 Working with Models, Views, Controllers, and Routes ............................... 19 Understanding Basic Concepts ....................................................................................... 20 Models .................................................................................................................
Recommended publications
  • Zend Server for IBM I Editions
    COMPARISON CHART Zend Server for IBM i Editions PRODUCTION EDITION DETAILED FEATURE COMPARISON The Zend Server for IBM i Basic is available for free to all IBM i users who want to get started with PHP on IBM i. The Professional and Enterprise Editions have additional capabilities and support options for teams deploying commercial applications. Features Basic Professional Enterprise For getting started with For running business For running mission critical, PHP on IBM i critical applications enterprise applications Support and Security Fixes Support via... Web Tickets Phone Phone (24x7x365) P1 Response Time 2 Business Days 6 Business Hours 2 Hours Security Hot Fixes 8 4 4 PHP, ZF 1 & 2 & Apigility 8 4 4 Support Long-Term Support (LTS) 8 4 4 Customer Requested Fixes for 8 8 4 PHP, ZF 1 & 2 & Apigility www.zend.com Zend by Perforce © 2019 Perforce Software, Inc. All trademarks and registered trademarks are the property of their respective owners. Monitoring & Basic Professional Enterprise Root-Cause Analysis Runtime Trending Dashboards 4 4 4 Comprehensive Application 4 4 4 Monitoring URL Insight - Insight Into 8 4 4 Top URLs Custom Events - 8 4 4 Programmatic Events Z-Ray - Secured Access 8 4 4 in Production Z-Ray - End User Support 8 4 4 Event-Triggered Code Traces 8 4 4 Read Only Access for 8 4 4 Developers Event Alerting 8 4 4 Integration APIs 8 4 4 Metric & Data Retention 2 Weeks 3 Months Unlimited Performance & Basic Professional Enterprise Scalability OPcache - Bytecode Caching 4 4 4 Data Cache - Data Object 4 4 4 Caching Page Cache - URL Caching 8 4 4 Job Queue - Offline Process- 8 4 4 ing & Jobs Management www.zend.com Zend by Perforce © 2019 Perforce Software, Inc.
    [Show full text]
  • Zend Framework 3 Cookbook
    Table of Contents Introduction 1.1 About the authors 1.2 Configuration zend-config for all your configuration needs 2.1 Manage your application with zend-config-aggregator 2.2 Data Manipulation Convert objects to arrays and back with zend-hydrator 3.1 Scrape Screens with zend-dom 3.2 Paginating data collections with zend-paginator 3.3 Log and Feeds Logging PHP applications 4.1 Discover and Read RSS and Atom Feeds 4.2 Create RSS and Atom Feeds 4.3 Authentication and Authorization Manage permissions with zend-permissions-rbac 5.1 Manage permissions with zend-permissions-acl 5.2 Web Services Implement JSON-RPC with zend-json-server 6.1 Implement an XML-RPC server with zend-xmlrpc 6.2 Implement a SOAP server with zend-soap 6.3 2 Security Context-specific escaping with zend-escaper 7.1 Filter input using zend-filter 7.2 Validate input using zend-validator 7.3 Validate data using zend-inputfilter 7.4 End-to-end encryption with Zend Framework 3 7.5 Deployment and Virtualization Create ZPKs the Easy Way 8.1 Using Laravel Homestead with Zend Framework Projects 8.2 Copyright Copyright note 9.1 3 Introduction Zend Framework 3 Cookbook During the year 2017, Matthew Weier O'Phinney and Enrico Zimuel started a series of blog posts on the offical Zend Framework blog covering its components. Zend Framework is composed by 60+ components covering a wide range of functionality. While the framework has typically been marketed as a full-stack MVC framework, the individual components themselves typically work independently and can be used standalone or within other frameworks.
    [Show full text]
  • NBS Partners with Zend to Deliver Enterprise Grade E-Commerce Hosting
    NBS Partners with Zend to Deliver Enterprise Grade E-commerce Hosting NBS System: A Leader in Specialized Hosting and Management Zend partner NBS (No Blue Screen) is a managed cloud hosting and IT security provider based in France. The company, which operates throughout Europe, has 29 employees and estimated annual revenues of 3.6 million euros. NBS is an authority on Magento, which is an e-commerce platform used by major retailers including Harbor Freight Tools, Office Depot and The North Face. In France, NBS System is CUSTOMER: the go-to consultant for retailers seeking to launch new Magento projects. NBS System is also behind the French Magento sites Wikigento and Ecommerce-Squad.com, as well Founded in 1999, NBS System is a French company as the E-commerce Academy. NBS also founded Bargento, a major gathering of Magento with offices in France and the United Kingdom. experts that occurs every year in France, Brazil, & Spain. The company provides web hosting and managed services, as well as IT security. NBS System hosts Part of NBS’s services involve offering an optimized environment to all companies more than 900 websites and its security experts have involved in developing, hosting and managing websites, including webhosts, design performed more than 200 security tests. Focused on agencies and retail customers. As part of its offerings, NBS System sought to convert a innovation, know-how, reactivity and service, the casual PHP environment into a business-critical service for its clients, who demanded a company enjoys a growth rate of 20% per year. high-performing platform for their e-commerce sites.
    [Show full text]
  • Open Source on IBM I Webinar Series Day 3 ERWIN EARLEY ([email protected]), SR
    Open Source on IBM i Webinar Series Day 3 ERWIN EARLEY ([email protected]), SR. SOLUTIONS CONSULTANT, PERFORCE, NOVEMBER 2019 2 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Questions / Comments • Is there a way to clone a container? ▪ Currently the answer is no ▪ The dev directory has device identifiers that are unique to each container ▪ The dev directory would need to be regenerated after the container is copied ▪ Currently working with IBM to identify the commands to regenerate the dev directory − At that point it would be relatively simple matter to create a script that would perform the copy and then regenerate the dev directory − Long term working with IBM to add an option to the chroot_setup command to regenerate the dev directory and it's contents. ▪ IBM has opened an issue for this enhancement request: − https://github.com/IBM/ibmichroot/issues/64 ▪ Lab Environment Availability: − The lab environment will be available for two (2) weeks following the end of the webinar series − Please don't wait to the last minute to run through the exercises − The lab environment will be taken down on 7th of December. − If you need the environment past the 7th let myself and/or Ian know and we will attempt to accommodate that request. 2 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 3 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Day 1 Review • Introduction to Open Source on IBM i • Why is Open Source on IBM i Important • Understanding the PASE environment as the enabler of Open Source on IBM i • Getting Familiar with the PASE environment 3 | Zend by Perforce © 2019 Perforce Software, Inc.
    [Show full text]
  • Drupal, Zend Server and IBM I
    Intranet My i Mike Pavlak, Solution Consultant [email protected] Audience • Manager looking for Intranet/place to put stuff • Developers looking to leverage PHP • Excess CPW • Avoid buying more Intel servers • Executive looking for new home base for apps • Do you want to learn how to install an open source application on IBM i? 2 Agenda • Zend Server • MySQL on IBM i • Review of Drupal • Drupal Installation • Drupal in action • Implement cron (batch) scripts with Zend Server Job Queue • Wrap-up 3 Intranet My i MariaDB MySQL • MySQL discontinued distributions. • Zend and IBM have partnered to bring something back! • Get ready for… Zend DBi 5 Zend DBi • Zend Technologies will provide Zend DBi as a drop-in replacement for MySQL on the IBM i platform • Zend DBi will be shipped as a part of Zend Server for IBM i and freely downloadable as a standalone package • The build will remain open-source and be updated over time to implement relevant bug fixes and features • IBM will continue to maintain and deliver the DB2 Storage engine for MySQL for IBM i, via Zend Server and as a standalone package 6 Why Zend Dbi? • COMMON, COMMON Europe and WMCPA (Wisconsin Midrange Computer Professional Association) all use open source application Joomla • Manage their respective organizations with PHP handling the transactions and presentation layer. • These organizations depend on MySQL as the database storing content and important transaction processing. HLL(RPG,COBOL) DB2 SQL PHP Storage MySQL Engine 7 Why run Maria when I have DB2? • Access to thousands of Open
    [Show full text]
  • Alan Seiden Richard Schoen
    The Zen of PHP without Zend Server Alan Seiden Richard Schoen Alan Seiden Principal, Seiden Group Mentors CIOs & development teams Deliver modern technical solutions Open Source Advocate Co-developer of PHP Toolkit for IBM i Founder of Club Seiden community Host/Sponsor, CIO Summit Richard Schoen Owner, MobiGoGo Former owner, RJS Software Systems Innovator in IBM i solutions (30+ years) Member of Seiden Group Sr Solutions Consultant - Pegasystems Builder Developer of iForgit IBM i git client IBM i, Windows, Linux Developer Mobile App Developer www.mobigogo.net RPG, CL, C#, VB, Node, PHP, Python, Java, HTML, CSS, etc. [email protected] Open Source Experts Develop web and mobile applications Support Community PHP Troubleshoot the toughest issues Train developers in open source & IBM i PHP APIs Git Node.js Db2 Python seidengroup.com Why PHP? Web apps and APIs w PHP has been pivotal in bringing web applications to IBM i w Open source applications: CMSes, eCommerce w Mantis Bug Tracker was an oldie but goodie w Award-winning applications across all industries w Continue to access your Db2 data, RPG code, and more w PHP Toolkit helped compatibility and integration w Web services and APIs w First taste of calling external APIs from IBM i w Credit card payments… Salesforce… many more w Converting green screens to web w Community and conference sites w Blogs w Wordpress.. beyond blogs.. Star Wars site, more! Use PHP from RPG, CL, etc. w PHP can be called from CL and RPG too! w Often software development kits (SDKs) were written in PHP w Easy to get started w Still control flow from traditional RPG w Use new PHP power to access APIs and other functionality, create spreadsheets, graphics, etc.
    [Show full text]
  • Understanding and Managing the PHP Environment on IBM I V2
    Understanding and Managing the PHP Environment on IBM i ERWIN EARLEY ([email protected]), SR. SOLUTIONS CONSULTANT, PERFORCE 1 | Zend by Perforce © Perforce Software, Inc. Zend by Perforce © Perforce Software, Inc. zend.com Today’s Speaker #1 Erwin Earley offers more than 20 years of experience developing solutions on the IBM i platform. His expertise includes using PHP, MariaDB, Docker, and Chef for creating modern enterprise solutions that run on IBM i, as well as PowerVC for cloud deployments and virtualization management. Erwin Earley Mr. Earley is a frequent speaker at global technology conferences, and he has authored numerous articles on Linux, Senior Solutions Consultant, PHP, virtualization, and systems management. Zend by Perforce 2 | Zend by Perforce © Perforce Software, Inc. zend.com Agenda 1 Product Update 7 Practical PHP 2 Community PHP 8 PHP 7.4 Highlights 3 Zero to Zend – One and Done 9 PHP 8 4 Characteristics of the PHP Environment 10 Backup Materials – Application Server Makes Life Easier! 5 Managing the PHP Jobs/Environment 6 Managing the PHP Runtime Experience 3 | Zend by Perforce © Perforce Software, Inc. zend.com Product Updates 4 | Zend by Perforce © Perforce Software, Inc. zend.com Where We’ve Been – Adoption of PHP on IBM i • IBM & Zend meet… • SystemiNetwork, COMMON, etc., identify need for scripting on IBM i • Zend CEO and VP of Business Development come to COMMON • IBM & Zend Dance • IBM and Zend strike a BP-relationship in 2006 • IBM helps Zend port PHP to IBM i • Seeding the Marketplace • IBM provides 1 year of "silver" support to every IBM i customer via Zend Basic License • Zend Basic intended for POCs, not production implementations 5 | Zend by Perforce © Perforce Software, Inc.
    [Show full text]
  • BNP Paribas and Zend: the Bank for a Changing World Adopts Technology for a Changing World
    BNP Paribas and Zend: The Bank for a Changing World Adopts Technology for a Changing World PHP’s Origins at BNP Paribas BNP Paribas is among the world’s leading banking and financial services organizations, with operations in 80 countries. Its three core businesses include Retail Banking, Corporate and Investment Banking, and Investment Solutions. Across the global company’s core businesses, innovative use of technology solutions helps BNP Paribas meet today’s competitive business challenges and serve its customers well – including its the organization’s pioneering use of technologies such as PHP. The 600-employee BNP Paribas IT organization, known as the Infrastructure de Production & Solutions (IPS) group, manages the company’s IT production solutions. The IPS group first CUSTOMER: began using PHP because of its ease of use and flexibility. The fact that Zend, Red Hat, and other vendors were fully committed to the evolution and support of PHP-based open source BNP Paribas is an innovative banking and financial technologies was another important factor leading to their early adoption at BNP Paribas. services industry leader, with over €43 billion in net banking income and operations in over 80 countries Yannic Mahé, PHP audit manager at IPS group, noted that “We wanted to establish an agile, worldwide. iterative development environment. We chose Zend because of Zend’s intimate knowledge of core PHP technology as one of its creators, its ongoing contributions to PHP’s evolution as CHALLENGE: a platform for enterprise web development, and its strong consulting and support services.” Accelerate development and delivery of high- BNP Paribas deployed Zend’s integrated PHP stack, including the Zend Server web application performing web applications that help employees server for monitoring and performance optimization, Zend Studio IDE for editing/debugging connect, stay informed, and provide exceptional code, and Zend Framework as its base application framework.
    [Show full text]
  • Zend Server Editions
    COMPARISON CHART Zend Server Editions PRODUCTION EDITION DETAILED FEATURE COMPARISON The Zend Server Production Edition that is right for you depends on your team, the features you need and the level of support that fits your priorities. Features Bronze Silver Gold For running advanced For running multi-server, When compliance, security single server applications business critical and 24x7 support are not applications optional Support and Security Fixes Support Hours Business Hours Business Hours 24x7x365 Phone Support 8 4 4 Web Support 4 4 4 P1 Response Time 2 Business Days 6 Business Hours 2 Hours Security Hot Fixes 4 4 4 PHP Support 4 4 4 Zend Server Full Stack 8 4 4 Long-Term Support (LTS) 8 4 4 Zend Framework 2 & 3 and 8 4 4 Apigility Support Customer Requested Fixes for 8 8 4 PHP, ZF 2 & 3 and Apigility www.zend.com Zend by Perforce © Perforce Software, Inc. All trademarks and registered trademarks are the property of their respective owners. (0420RB21) Monitoring & Bronze Silver Gold Root-Cause Analysis Runtime Trending Dashboards 4 4 4 Comprehensive Application 4 4 4 Monitoring URL Insight - Insight Into 4 4 4 Top URLs Custom Events - 4 4 4 Programmatic Events Z-Ray - Secured Access 4 4 4 in Production Z-Ray - End User Support 4 4 4 Event-Triggered Code Traces 4 4 4 Read Only Access for 4 4 4 Developers Event Alerting 4 4 4 Integration APIs 8 4 4 Metric & Data Retention 2 Weeks 3 Months Unlimited Performance & Bronze Silver Gold Scalability OPcache - Bytecode Caching 4 4 4 Data Cache - Data Object 4 4 4 Caching Page Cache - URL Caching 8 4 4 Job Queue - Offline Process- 8 4 4 ing & Jobs Management Session Clustering 8 4 4 Fault Tolerance 8 4 4 Cloud Elasticity & Automation 8 4 4 www.zend.com Zend by Perforce © Perforce Software, Inc.
    [Show full text]
  • Web & Api Development Smartstart
    WEB & API DEVELOPMENT SMARTSTART Build a professional-grade PHP competency — faster than you thought possible Quick ramp-up SmartStart is designed to help your organization rapidly adopt PHP for your Accelerate development of PHP web application development projects by following a comprehensive education proficiency, custom tailored to and hands-on development program. Whether you are targeting PHP on your application projects and Linux, Microsoft Windows, or IBM i, SmartStart offers a customized program environment optimized for your specific environment and your team’s PHP experience level. Optimize your PHP SmartStart is designed and delivered by Rogue Wave Software professional infrastructure PHP and Zend development services consultants covering the essential methodologies that your team solutions installed and needs to start developing and deploying PHP-based applications. configured by the experts • Focused PHP training conducted by our instructors either at your site or Validate the concept in a secure online setting. Put your team’s newly acquired • Curriculum is tailored to your specific environment and needs. knowledge immediately to work on a business-specific • Installation and configuration of a Zend Studio and Zend Server application pilot project development environment. • Design of a pilot project or specific application functionality based on Follow best practices immediately your business priorities. “Hands-on” coaching ensures • Hands-on coaching by our consultants through the development and implementation of best practices deployment of the pilot project utilizing best practices. and higher productivity from the start Install a Learn PHP Develop an development development application environment best practices prototype Optimize time-to-PHP The SmartStart process With a hands-on approach, SmartStart allows your developers to immediately utilize their newly acquired or improved PHP development knowledge and best practices.
    [Show full text]
  • Make Your IBM I...And Career… SIZZLE with Wordpress and Drupal Workshop at OCEAN User Group, Saturday, Nov
    Make your IBM i...and career… SIZZLE with WordPress and Drupal Workshop at OCEAN user group, Saturday, Nov. 19, 2016 http://seidengroup.com The PHP on IBM i Experts Alan Seiden leading Nov. 19, 2016 workshop at OCEAN. Photo: Charles Guarino Start with discussion of goals of the group. OCEAN members wanted to: ● Create user group site ● Boost career with blog posts and articles ● Learn new technology ● See what IBM i could do ● Provide forum for executives to share company news ● Create portals with business information ● More... MariaDB is new version of MySQL-compatible database on IBM i. It will be created by Zend for IBM. It’s still in an early stage...in future will get MariaDB once it’s fully formed. MariaDB beta installation “Check the i” http://downloads.zend.com/zend-dbi/10.1.12/ZMARIADB-10.1.12_0.zip Zend Server Zend Server 8.55 (PHP 5.6) is official release. http://www.zend.com/en/products/server/downloads#IBM%20i Zend Server 9 (PHP 7) is beta release, OK for this class http://repos.zend.com/zend-server/early-access/zs901-php7-ibmi/ Install Zend Server 9 if you don’t have Zend Server installed already. BETA, just for this class. Includes MySQL. If you later install Zend Server 9 GA, you’ll need to uninstall the beta first. Subsystem/lib: ZENDPHP7 http://ipaddress:10091/ZendServer Drupal deployment on IBM i from Zend Server Click the drupal icon Now create another user. Could be “drupal@localhost” or “wordpress@localhost” Start MySQL command-line utility to add users and do other things Or could have used PHPMyAdmin graphical
    [Show full text]
  • PHP for Modernization on IBM I
    PHP for Modernization on IBM i John Valance division 1 systems <div1> [email protected] www.div1sys.com All materials copyright © 2014-2017 John Valance and Division 1 Systems LLC PHP for Modernizing IBMi About John Valance • Independent consultant since Feb. 2000 • Founder and CTO of Division 1 Systems Helping IBM shops develop web applications and related skills Extended team of 150+ technical people Web and mobile systems development, design, project management Training, mentoring, consultation and coding • 30+ years IBM midrange experience (S/38 thru IBM i) • 15+ years of web development experience • Frequent presenter on web development topics • Relationship with Zend Technologies Taught Intro to PHP for RPG programmers for 4 years Zend Certified Engineer Zend Reseller 2 PHP for Modernizing IBMi Why PHP on IBM i ? • Easy to learn • Built for Web Development • Excellent tooling Zend Server, Zend Studio, Zend Framework, Zend Toolkit for IBMi • Well established on IBMi Over 10 years, many shops using Zend/IBM = strategic partnership • Ubiquitous – runs on 80% of web servers Major sites – Facebook, Wikipedia, Flickr, Yahoo, Wordpress.com, Mailchimp 3 PHP for Modernizing IBMi Why PHP on IBM i ? - continued • Many Open Source applications WordPress, SugarCRM, Magento, Joomla • Easy to find experienced developers • Many Frameworks to choose from Zend, CodeIgniter, CakePHP, Laravel, Yii… 4 PHP for Modernizing IBMi Getting Started •Install Zend Server http://www.zend.com/en/products/zend_server http://www.zend.com/en/solutions/modernize-ibm-i
    [Show full text]