25 Books to Read Before You Die
 
 

Recently Viewed clear list


The Powell's Playlist | August 8, 2014

Peter Mendelsund: IMG The Powell's Playlist: Water Music by Peter Mendelsund



We "see" when we read, and we "see" when we listen. There are many ways in which music can create the cross-sensory experience of this seeing...... Continue »
  1. $11.87 Sale Trade Paper add to wish list

spacer
Qualifying orders ship free.
$44.95
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
1 Remote Warehouse Software Engineering- Programming and Languages

More copies of this ISBN

PHP 5 Power Programming

by

PHP 5 Power Programming Cover

 

Synopses & Reviews

Publisher Comments:

"This book, written by my colleague, Andi Gutmans, and two very prominent PHP developers, Stig Bakken and Derick Rethans, holds the key to unlocking the riches of PHP 5. It thoroughly covers all of the features of this new version, and is a must have for all PHP developers interested in exploring PHP 5's advanced features"

—Zeev Suraski, Co-Designer of PHP 5 and Co-Creator of the Zend Engine

  • Expert PHP 5 programming techniques, direct from PHP 5 co-creator and key developers
  • Definitive coverage of the PHP object model, design patterns, XML/SOAP integration, and more
  • Solid introduction and expert insights into performance tuning, PEAR, extensions, and database access
  • The definitive introduction to PHP 5's advanced features!
  • The definitive introduction for today's most powerful PHP 5 techniques

In this book, PHP 5's co-creator and two leading PHP developers show you how to make the most of PHP 5's industrial-strength enhancements in any project—no matter how large or complex. Their unique insights and realistic examples illuminate PHP 5's new object model, powerful design patterns, improved XML Web services support, and much more. Whether you're creating web applications, extensions, packages, or shell scripts—or migrating PHP 4 code—here are high-powered solutions you won't find anywhere else.

Review PHP's syntax and master its object-oriented capabilities—from properties and methods to polymorphism, interfaces, and reflection

  • Master the four most important design patterns for PHP development
  • Write powerful web applications: handle input, cookies, session extension, and more
  • Integrate with MySQL, SQLite, and other database engines
  • Provide efficient error handling that's transparent to your users
  • Leverage PHP 5's improved XML support—including parsing, XSLT conversions, and more
  • Build XML-based web services with XML-RPC and SOAP
  • Make the most of PEAR: work with the repository, use key packages, and create your own
  • Upgrade PHP 4 code to PHP 5—compatibility issues, techniques, and practical workarounds
  • Improve script performance: tips and tools for PHP optimization
  • Use PHP extensions to handle files/streams, regular expressions, dates/times, and graphics
  • Create original extensions and shell scripts

If you're a software developer new to PHP, you'll leap quickly into PHP and its new object-oriented capabilities. If you're an experienced PHP programmer, you already recognize PHP's convenience and simplicity. Now, discover all of its extraordinary power!

ABOUT THE SOFTWARE

At this book's link to Zend.com, download a fully functional 90-day version of Zend Studio, today's breakthrough tool for developing, managing, and debugging PHP code.

Series Editor Bruce Perens' is an open source evangelist, developer, and consultant whose software is a major component of most commercial embedded Linux offerings. He founded or cofounded Linux Standard Base, Open Source Initiative, and Software in the Public Interest. As Debian GNU/Linux Project Leader, he was instrumental in getting the system on two U.S. space shuttle flights.

© Copyright Pearson Education. All rights reserved.

Book News Annotation:

Gutmans, co-creator of PHP 5, shows how to make the most of PHP 5's enhancements in any project, no matter how large or complex. Realistic examples illuminate PHP 5's new object model, design patterns, and improved XML Web services support. The book will be of use to experienced PHP programmers and Web developers with experience programing in other high-level programing languages.
Annotation 2006 Book News, Inc., Portland, OR (booknews.com)

Book News Annotation:

Gutmans, co-creator of PHP 5, shows how to make the most of PHP 5's enhancements in any project, no matter how large or complex. Realistic examples illuminate PHP 5's new object model, design patterns, and improved XML Web services support. The book will be of use to experienced PHP programmers and Web developers with experience programing in other high-level programing languages. Annotation ©2006 Book News, Inc., Portland, OR (booknews.com)

Synopsis:

Back CoverThe definitive introduction for today's most powerful PHP 5 techniques

In this book, PHP 5's co-creator and two leading PHPdevelopers show you how to make the most of PHP 5's industrial-strengthenhancements in any project — no matterhow large or complex. Their unique insights and realistic examples illuminatePHP 5's new object model, powerful design patterns, improved XML Web servicessupport, and much more. Whether you're creating Web applications, extensions,packages, or shell scripts — or migrating PHP 4 code — here are high-poweredsolutions you won't find anywhere else.

  • Review PHP's syntax and master its object-oriented capabilities-- from properties and methods to polymorphism, interfaces, and reflection

  • Master the four most important design patterns for PHPdevelopment

  • Write powerful Web applications: handle input, cookies, sessionextension, and more

  • Integrate with MySQL, SQLite, and other database engines

  • Provide efficient error handling that's transparent to your users

  • Leverage PHP 5's improved XML support — including parsing, XSLTconversions, and more

  • Build XML-based Web services with XML-RPC and SOAP

  • Make the most of PEAR: work with the repository, use keypackages, and create your own

  • Upgrade PHP 4 code to PHP 5 — compatibility issues, techniques,and practical workarounds

  • Improve script performance: tips and tools for PHP optimization

  • Use PHP extensions to handle files/streams, regular expressions,dates/times, and graphics

  • Create original extensions and shell scripts

If you're a software developer new to PHP, you'll leapquickly into PHP and its new object-oriented capabilities. If you're anexperienced PHP programmer, you already recognize PHP's convenience andsimplicity. Now, discover all of its extraordinary power!About the Software

At this book's exclusive, private link to Zend.com, downloada fully functional 90-day version of Zend Studio IDE, today's breakthrough toolfor developing, managing, and debugging PHP code.

Bruce Perens' Open Source Series is a definitive series ofLinux and Open Source books by the world's leading Linux software developers.Bruce Perens is the primary author of The Open Source Definition, the formativedocument of the open source movement and the former Debian GNU/Linux Project Leader.

Synopsis:

This book, written by my colleague, Andi Gutmans, and two very prominent PHP developers, Stig Bakken and Derick Rethans, holds the key to unlocking the riches of PHP 5. It thoroughly covers all of the features of this new version, and is a must have for all PHP developers interested in exploring PHP 5's advanced features.

About the Author

ANDI GUTMANS co-created PHP 3 and all versions since. A member of the PHP core team, he is one of the world¿s most highly regarded PHP developers.

STIG SÆTHER BAKKEN, also a member of the PHP core team, created PEAR: PHP Extension and Application Repository, the framework and global distribution system for reusable PHP components. Gutmans and Bakken are members of the PHP Hall of Fame.

DERICK RETHANS is a PHP code contributor and leader of the PHP QA team.

Table of Contents

Foreword.

Preface.

1. What Is New in PHP 5?

    Introduction.

    Language Features.

      New Object-Oriented Model.

      New Object-Oriented Features.

      Other New Language Features.

    General PHP Changes.

      XML and Web Services.

    Other New Features in PHP 5.

      New Memory Manager.

      Dropped Support for Windows 95.

    Summary.

2. PHP 5 Basic Language.

    Introduction.

    HTML Embedding.

    Comments.

    Variables.

      Indirect References to Variables.

      Managing Variables.

      Superglobals.

    Basic Data Types.

      Integers.

      Floating-Point Numbers.

      Strings.

      Booleans.

      Null.

      Arrays.

      Constants.

    Operators.

      Binary Operators.

      Assignment Operators.

      Comparison Operators.

      Logical Operators.

      Bitwise Operators.

      Unary Operators.

      Negation Operators.

      Increment/Decrement Operators.

      The Cast Operators.

      The Silence Operator.

      The One and Only Ternary Operator.

    Control Structures.

      Conditional Control Structures.

      Loop Control Structures.

      Code Inclusion Control Structures.

    Functions.

      User-Defined Functions.

      Function Scope.

      Returning Values By Value.

      Returning Values By Reference.

      Declaring Function Parameters.

      Static Variables.

    Summary.

3. PHP 5 OO Language.

    Introduction.

    Objects.

    Declaring a Class.

    The new Keyword and Constructors.

    Destructors.

    Accessing Methods and Properties Using the $this Variable.

      public, protected, and private Properties.

      public, protected, and private Methods.

      Static Properties.

      Static Methods.

    Class Constants.

     Cloning Objects.

    Polymorphism.

    parent:: and self::.

    instanceof Operator.

    Interfaces.

    Inheritance of Interfaces.

    final Methods.

    final Classes.

    __toString() Method.

    Exception Handling.

    __autoload().

    Class Type Hints in Function Parameters.

    Summary.

4. PHP 5 Advanced OOP and Design Patterns.

    Introduction.

    Overloading Capabilities.

      Property and Method Overloading.

      Overloading the Array Access Syntax.

    Iterators.

    Design Patterns.

      Strategy Pattern.

      Singleton Pattern.

      Factory Pattern.

      Observer Pattern.

    Reflection.

      Introduction.

      Reflection API.

      Reflection Examples.

      Implementing the Delegation Pattern Using Reflection.

    Summary.

5. How to Write a Web Application with PHP.

    Introduction.

    Embedding into HTML.

    User Input.

    Safe-Handling User Input.

      Common Mistakes.

    Techniques to Make Scripts "Safe".

      Input Validation.

      HMAC Verification.

      PEAR::Crypt_HMAC.

      Input Filter.

      Working with Passwords.

      Error Handling.

    Cookies.

    Sessions.

      Handling the Incoming Uploaded File.

    Architecture.

      One Script Serves All.

      One Script per Function.

      Separating Logic from Layout.

    Summary.

6. Databases with PHP 5.

    Introduction.

    MySQL.

      MySQL Strengths and Weaknesses.

      PHP Interface.

      Example Data.

      Connections.

      Buffered Versus Unbuffered Queries.

      Queries.

      Multi Statements.

      Fetching Modes.

      Prepared Statements.

      BLOB Handling.

    SQLite.

      SQLite Strengths and Weaknesses.

      Best Areas of Use.

      PHP Interface.

    PEAR DB.

      Obtaining PEAR DB.

      Pros and Cons of Database Abstraction.

      Which Features Are Abstracted?

      Database Connections.

      Executing Queries.

      Fetching Results.

      Sequences.

      Portability Features.

      Abstracted Errors.

      Convenience Methods.

    Summary.

7. Error Handling.

     Introduction.

    Types of Errors.

      Programming Errors.

      Undefined Symbols.

      Portability Errors.

      PHP Errors.

    PEAR Errors.

      The PEAR_Error Class.

      Handling PEAR Errors.

      PEAR Error Modes.

      Graceful Handling.

    Exceptions.

      What Are Exceptions?

      try, catch, and throw.

    Summary.

8. XML with PHP 5.

    Introduction.

    Vocabulary.

    Parsing XML.

      SAX.

      DOM.

    SimpleXML.

      Creating a SimpleXML Object.

      Browsing SimpleXML Objects.

      Storing SimpleXML Objects.

    PEAR.

      XML_Tree.

      XML_RSS.

    Converting XML.

      XSLT.

    Communicating with XML.

      XML-RPC.

      SOAP.

    Summary.

9. Mainstream Extensions.

    Introduction.

    Files and Streams.

      File Access.

      Program Input/Output.

      Input/Output Streams.

      Compression Streams.

      User Streams.

      URL Streams.

      Locking.

      Renaming and Removing Files.

      Temporary Files.

      Syntax.

       Functions.

    Date Handling.

      Retrieving Date and Time Information.

      Formatting Date and Time.

      Parsing Date Formats.

    Graphics Manipulation with GD.

      Case 1: Bot-Proof Submission Forms.

      Case 2: Bar Chart.

      Exif.

    Multi-Byte Strings and Character Sets.

      Character Set Conversions.

      Extra Functions Dealing with Multi-Byte Character Sets.

      Locales.

    Summary.

10. Using PEAR.

    Introduction.

    PEAR Concepts.

      Packages.

      Releases.

      Version Numbers.

    Obtaining PEAR.

      Installing with UNIX / Linux PHP Distribution.

      Installing with PHP Windows Installer.

      go-pear.org.

    Installing Packages.

      Using the pear Command.

    Configuration Parameters.

    PEAR Commands.

      pear install.

      pear list.

      pear info.

      pear list-all.

      pear list-upgrades.

      pear upgrade.

      pear upgrade-all.

      pear uninstall.

      pear search.

      pear remote-list.

      pear remote-info.

      pear download.

      pear config-get.

      pear config-show.

      Shortcuts.

    Installer Front-Ends.

      CLI (Command Line Interface) Installer.

      Gtk Installer.

    Summary.

11. Important PEAR Packages.

    Introduction.

    Database Queries.

    Template Systems.

      Template Terminology.

      HTML_Template_IT.

      HTML_Template_Flexy.

    Authentication.

      Overview.

      Example: Auth with Password File.

      Example: Auth with DB and User Data.

      Auth Security Considerations.

      Auth Scalability Considerations.

      Auth Summary.

    Form Handling.

      HTML_QuickForm.

      Example: Login Form.

      Receiving Data.

    Caching.

      Cache_Lite.

    Summary.

12. Building PEAR Components.

    Introduction.

    PEAR Standards.

      Symbol Naming.

      Indentation.

    Release Versioning.

    CLI Environment.

    Fundamentals.

      When and How to Include Files.

      Error Handling.

    Building Packages.

      PEAR Example: HelloWorld.

      Building the Tarball.

      Verification.

      Package Information.

      Release Information.

    Dependencies.

      Element: <deps>.

      Element: <dep>.

      Dependency Types.

      Reasons to Avoid Dependencies.

      Optional Dependencies.

      Some Examples.

    String Substitutions.

      Element: <replace>.

      Examples.

    Including C Code.

      Element: <configureoptions>.

      Element: <configureoption>.

    Releasing Packages.

    The PEAR Release Process.

    Packaging.

      Source Analysis.

      MD5 Checksum Generation.

      Package.xml Update.

      Tarball Creation.

    Uploading.

      Upload Release.

      Finished!

    Summary.

13. Making the Move.

    Introduction.

    The Object Model.

    Passing Objects to Functions.

    Compatibility Mode.

      Casting Objects.

      Comparing Objects.

    Other Changes.

      Assigning to $this.

      get_class.

    E_STRICT.

      Automagically Creating Objects.

      var and public.

      Constructors.

      Inherited Methods.

      Define Classes Before Usage.

      Command-Line Interface.

      Comment Tokens.

      MySQL.

    Changes in Functions.

      array_merge().

      strrpos() and strripos().

    Summary.

14. Performance.

    Introduction.

    Design for Performance.

      PHP Design Tip #1: Beware of State.

      PHP Design Tip #2: Cache!

      PHP Design Tip #3: Do Not Over Design!

    Benchmarking.

      Using ApacheBench.

      Using Siege.

      Testing Versus Real Traffic.

    Proling with Zend Studio's Proler.

    Proling with APD.

      Installing APD.

      Analyzing Trace Data.

    Proling with Xdebug.

      Installing Xdebug.

      Tracing Script Execution.

      Using Kcachegrind.

    Using APC (Advanced PHP Cache).

    Using ZPS (Zend Performance Suite).

      Automatic Optimization.

      Compiled Code Caching.

      Dynamic Content Caching.

      Content Compression.

    Optimizing Code.

      Micro-Benchmarks.

      Rewrite in.

      OO Versus Procedural Code.

    Summary.

15. An Introduction to Writing PHP Extensions.

    Introduction.

    Quickstart.

      Memory Management.

      Returning Values from PHP Functions.

      Adding Custom INI Directives.

      Thread-Safe Resource Manager Macros.

    Summary.

16. PHP Shell Scripting.

    Introduction.

    PHP CLI Shell Scripts.

      How CLI Differs From CGI.

      The Shell-Scripting Environment.

      Parsing Command-Line Options.

      Good Practices.

      Process Control.

      Examples.

    Summary.

A. PEAR and PECL Package Index.

    Authentication.

    Benchmarking.

    Caching.

    Configuration.

    Console.

    Database.

    Date and Time.

    Encryption.

    File Formats.

    File System.

    Gtk Components.

    HTML.

    HTTP.

    Images.

    Internationalization.

    Logging.

    Mail.

    Math.

    Networking.

    Numbers.

    Payment.

    PEAR.

    PHP.

    Processing.

    Science.

    Streams.

    Structures.

    Web Services.

    XML.

B. phpDocumentor Format Reference.

    Introduction.

    Documentation Comments.

    Tag Reference.

      abstract.

      access.

      author.

      category.

      copyright.

      deprecated.

      example.

      filesource.

      final.

      global.

      ignore.

      inheritdoc (inline).

      internal, internal (inline).

      licence.

      link.

      link (inline).

      name.

      package.

      param.

      return.

      see.

      since.

      static

      staticvar.

      subpackage.

      todo.

      uses.

      var.

      version.

    Tag Table.

    Using the phpDocumentor Tool.

C. Zend Studio Quick Start Guide.

    Version 3.5.x.

    About the Zend Studio Client Quick Start Guide.

    About Zend.

      Client Server Configuration.

      Installation and Registration.

    Editing a File.

      Editing a File.

    Working with Projects.

      Advantages of Working with Projects.

      How to Create a Project.

    Running the Debugger.

      Internal Debugger.

      Remote Debugger.

    Debug URL.

    Configure Studio Server for Remote Debugger and Proling.

    Running the Proler.

    Product Support.

      Getting Support.

    Main Features.

Product Details

ISBN:
9780131471498
Author:
Gutmans, Andi
Publisher:
Prentice Hall PTR
Author:
Rethans, Derick
Author:
Bakken, Stig
Author:
Bakken, Stig Saether
Subject:
Programming Languages - General
Subject:
Programming - General
Subject:
Internet - Web Site Design
Subject:
Web - Page Design
Subject:
Software Engineering - Programming and Languages
Copyright:
Edition Description:
Trade paper
Series:
Bruce Perens' Open Source Series
Publication Date:
October 2004
Binding:
TRADE PAPER
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Y
Pages:
720
Dimensions:
9.1 x 7 x 1.6 in 1111 gr

Related Subjects

Computers and Internet » Computer Languages » PHP
Computers and Internet » Internet » General
Computers and Internet » Internet » Information
Computers and Internet » Internet » Web » Site Design
Computers and Internet » Software Engineering » Programming and Languages

PHP 5 Power Programming New Trade Paper
0 stars - 0 reviews
$44.95 In Stock
Product details 720 pages Prentice Hall PTR - English 9780131471498 Reviews:
"Synopsis" by , Back CoverThe definitive introduction for today's most powerful PHP 5 techniques

In this book, PHP 5's co-creator and two leading PHPdevelopers show you how to make the most of PHP 5's industrial-strengthenhancements in any project — no matterhow large or complex. Their unique insights and realistic examples illuminatePHP 5's new object model, powerful design patterns, improved XML Web servicessupport, and much more. Whether you're creating Web applications, extensions,packages, or shell scripts — or migrating PHP 4 code — here are high-poweredsolutions you won't find anywhere else.

  • Review PHP's syntax and master its object-oriented capabilities-- from properties and methods to polymorphism, interfaces, and reflection

  • Master the four most important design patterns for PHPdevelopment

  • Write powerful Web applications: handle input, cookies, sessionextension, and more

  • Integrate with MySQL, SQLite, and other database engines

  • Provide efficient error handling that's transparent to your users

  • Leverage PHP 5's improved XML support — including parsing, XSLTconversions, and more

  • Build XML-based Web services with XML-RPC and SOAP

  • Make the most of PEAR: work with the repository, use keypackages, and create your own

  • Upgrade PHP 4 code to PHP 5 — compatibility issues, techniques,and practical workarounds

  • Improve script performance: tips and tools for PHP optimization

  • Use PHP extensions to handle files/streams, regular expressions,dates/times, and graphics

  • Create original extensions and shell scripts

If you're a software developer new to PHP, you'll leapquickly into PHP and its new object-oriented capabilities. If you're anexperienced PHP programmer, you already recognize PHP's convenience andsimplicity. Now, discover all of its extraordinary power!About the Software

At this book's exclusive, private link to Zend.com, downloada fully functional 90-day version of Zend Studio IDE, today's breakthrough toolfor developing, managing, and debugging PHP code.

Bruce Perens' Open Source Series is a definitive series ofLinux and Open Source books by the world's leading Linux software developers.Bruce Perens is the primary author of The Open Source Definition, the formativedocument of the open source movement and the former Debian GNU/Linux Project Leader.

"Synopsis" by , This book, written by my colleague, Andi Gutmans, and two very prominent PHP developers, Stig Bakken and Derick Rethans, holds the key to unlocking the riches of PHP 5. It thoroughly covers all of the features of this new version, and is a must have for all PHP developers interested in exploring PHP 5's advanced features.

spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.