MC Press Online
Welcome to the MC Press Online!
Need help with our eBooks?
Click here, to go to our main store

  MC Press Online eBookStore  

Advanced Guide to PHP on IBM i
preview of book Advanced Guide to PHP on IBM i
text of book Advanced Guide to PHP on IBM i

Advanced Guide to PHP on IBM i

Publisher: MC Press Online
Publication Date: 2014
Subject: Programming: PHP
Category: Programming
Number of Pages: 338

Free Preview    Email to Friend   Add to wish list
 Available as: (for format`s description click on its name)
Individual E-Version (PDF) Individual E-Version (PDF) ISBN: 978-1-58347-384-9  
 Reg.: $
79.95 per N pages
 You Save: 
$39.99 (50%)
 Online  Open CopyPrint    
all time
Printed Edition   see MC Press Online    
About this title
“With object-oriented PHP becoming the standard for business application development, Kevin Schroeder's Advanced Guide to PHP on IBM i gets down to business quickly in explaining the value of PHP as a business application language. This book clearly articulates the foundations of object-oriented PHP and contains countless useful examples that can be implemented immediately in most IBM i shops. Anyone wondering how to move to the next level with PHP on IBM i needs this book!”
--Mike Pavlak Solution Consultant, Zend Technologies, Inc.

“Jumping from procedural programming to OOP is always a difficult step, but Kevin's approach takes several complex concepts and addresses them in a way that novice OOP developers will find useful and easy to understand.”
--Maurice Kherlakian, North America Services Manager, Zend Technologies

Working through many of the concepts and skills needed by intermediate and advanced PHP developers, this book is designed to help good PHP developers become indispensable ones. In it, Kevin Schroeder—co-author of the popular IBM i Programmer's Guide to PHP--moves beyond the basics to help you master essential PHP topics such as debugging, test-driven development, web-based development, advanced object-oriented programming, and web security. He also provides an in-depth look at the new PHP Toolkit for IBM i provided by Zend Technologies.

While the book contains several touch points to the IBM i operating system, many of its concepts are ones that even general PHP developers should know.

If The IBM i Programmer's Guide to PHP left you anxious to learn more about this simple yet powerful business application language, then Advanced Guide to PHP on IBM i should be next on your reading list. Don't delay; get started today on building your understanding and skill level with this example-packed, accessible book.

Upon completion of Advanced Guide to PHP on IBM i, you will be able to:
  • Use the described principles as a basis for architecting complex applications
  • Build web services according to the best standards currently available
  • Significantly reduce the time spent discovering and fixing code errors
  • Design architectures that are testable and predictable
  • Build secure applications by protecting yourself against most known attacks
  • Avoid and prepare for common performance issues
  • Understand how you can best use the IBM i Toolkit
About author
Kevin Schroeder
Kevin Schroeder has a memory TTL of 10 years, and so he has been working with PHP for longer than he can remember. This is his third book on PHP, preceded by The IBM i Programmer's Guide to PHP (MC Press, 2009) and You Want to Do WHAT with PHP? (MC Press, 2010). Kevin is a member of the Zend Certification Advisory Board and is a Magento Certified Developer Plus. He has spoken at numerous conferences, including ZendCon, where he was twice the MC.

When his head isn't in code (if code is poetry, then it is Vogon poetry), Kevin is writing music, having been a guitarist since hair bands were cool (and having survived their welcomed demise). He has recorded two albums, Coronal Loop Safari and Loudness Wars.

Kevin's wisdom is dispensed to his loyal followers on Twitter as @kpschrade and on his blog at, where he speaks in the first person.


Chapter 1: A Re-Introduction to Basic Concepts
Classes and Objects
Abstract Classes
Interface Definition
Type Hinting

Chapter 2: Design Patterns
Lazy Initialization and Lazy Loading
Front Controller
Single Responsibility
Liskov Substitution
Interface Segregation
Dependency Inversion
Introduction to Dependency Injection

Chapter 3: Standard PHP Library
Advanced Usage
   Intercepting Inserts
   Typing Array Values
   Lazy Loading

Chapter 4: Debugging Basics
Initiating a Debug Session
Flow Control
Manual Control

Chapter 5: Security
SQL Injection
Cross-Site Scripting
Cross-Site Request Forgery
Session Fixation
Session Hijacking
Validating Input
Predictable Locations and Dangerous Files
Using Encryption
   Symmetric Key Encryption

Chapter 6: Working with the Browser
CSS Layouts
   JavaScript Libraries (Using jQuery)

Chapter 7: Test-Driven Development
Test Suites
Injecting Dependencies
Working with Data Sources

Chapter 8: Web Service Basics
   Resource Definitions
   Usage of HTTP Verbs
WSDL-Based Operations
Version Negotiation
   Session-Based Authentication
   Nonsession-Based Authentication

Chapter 9: Using the Toolkit
The Basics
Taking It to the Next Level
Using Dependency Injection with the Toolkit
Unit Testing with the Toolkit

Chapter 10: Performance Considerations
Cache Stuff
   In Normal Calculations
   In Caching
Asynchronous Processing

Related titles
IBM i Programmer's Guide to PHP, TheIBM i Programmer's Guide to PHP, The
You Want to Do What with PHP?You Want to Do What with PHP?
  Special Offer Code  
Enter your Special Offer Code here:
  Search for  

  Our Products  
Browse all »»
IBM System i APIs at Work
From Idea to Print, Chapter 08: Revising for Perfection
DB2 10 for z/OS Database Administration (Exam 612), Chapter 01: DB2 Product Fundamentals

If download option is selected, Adobe Acrobat 5.0 or later is required to read our e-books*

Windows PC, Mac OS9/OSX, and Linux