PHP 5 Advanced: Visual QuickPro Guide, 2/e

Larry Ullman

  • 出版商: Peachpit Press
  • 出版日期: 2007-03-15
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 608
  • 裝訂: Paperback
  • ISBN: 0321376013
  • ISBN-13: 9780321376015
  • 相關分類: PHP
  • 已過版

買這商品的人也買了...

商品描述

Description

PHP is currently one of the most popular server-side, HTML-embedded scripting language on the Web. It's specifically designed for Web site creation and is frequently being used to replace the functionality created by Perl to write CGI scripts. PHP's popularity and easier-to-learn appeal has spawned a new breed of programmer, those who are only familiar with and only use PHP.
 
Sharpen your PHP skills with the fully revised and updated, PHP 5 Advanced for the World Wide Web: Visual QuickPro Guide! Filled with fifteen chapters of step-by-step content and written by best-selling author and PHP programmer, Larry Ullman, this guide teaches specific topics in direct, focused segments, shows how PHP is used in real-world applications, features popular and most-asked-about scripts, and details those technologies that will be more important in the future. You'll learn about object-oriented programming, PHP interactions with a server, XML, RSS, Networking with PHP, image and PDF generation, and more.

 

 

Table of Contents

Introduction

Chapter 1: Advanced PHP Programming

    Code Structure and Documentation
    Function Recursion and Static Variables
    References and Functions
    PERL-Compatible Regular Expressions

Chapter 2: Basic Object-Oriented Programming
    Defining a Class
    Creating an Object
    Creating Constructors
    Object Inheritance
    Using Class Functions Without Instances
    Serializing Objects
    Destroying Objects
    
Chapter 3: Developing Web Applications
    Catching Exceptions
    Using PEAR's HTML_QuickFOrm
    Modularizing a Web Site
    Error Logging and Reporting
    Browser Detection

Chapter 4: Database Concepts
    Database Design and Normalization
    Storing Sessions in a Database
    Storing BLOBs in a Database
    Using Prepared Statements
    Database Encryption
    Working with Bound Variables

Chapter 5: Security
    Validating Forms
    Validating Forms with JavaScript
    Encryption with Mcrypt
    HTTP Authentication
    Web Server Security
    Shared Server Security
    Encorporating Captcha with PEAR
    Using PEAR Auth

Chapter 6: Advanced OOP
    Inheritance
    Access Control
    Polymorphism
    Encapsulation
    Overloading

Chapter 7: E-Commerce
    Creating the Database
    Administration
    Showing the Products Online
    Writing a Shopping Cart
    Handling Commerical Transactions

Chapter 8: Image Generation
    Creating a Simple Image
    Using TrueType Fonts
    Creating a Database-Driven Graph
    Saving and Building on Existing Images

Chapter 9: Creating PDFs
    Creating a Simple PDF
    Adding Text to PDFs
    Drawing Shapes
    Using Images
    Creating Multiple-Page PDFs

Chapter 10: XML and PHP
    What is XML?
    XML Syntax
    Document Type Definitions
    Parsing XML With PHP
    XML Error Handling

Chapter 11: Networking with PHP
    Accessing Other Web Sites with PHP
    Using fsockopen()
    Creating RSS Feeds
    AJAX
    Using Curl
    Understanding Streams

Chapter 12: PHP and the Server
    Establishing a Cron
    Task Manager on Windows
    Compressing Files with PHP
    Using COM with PHP
    PHP on Windows
    Running Two Versions of PHP with Apache
   
Chapter 13: Using PHP's Command Line Interface
    Basic Syntax
    Working with Command Line Arguments
    Redirecting Output
   
Chapter 14: Improving PHP Performance
    Installation Options
    Configuration Options
    Using an Op Cache
    Coding Suggestions
    Database Suggestions
    Using Benchmarks
    Using Profiling
    Performing Unit Tests
   
Appendix A: Installation
    Installing PHP with Apache on Linux
    Installing PHP on Windows with Xitami
    Installing PHP on Mac OS X with Apache
    Running Two Versions of PHP with Apache

Appendix B: Databases
    Database Applications
    SQL
    MySQL Resources
    Other Resources

Appendix C: General Resources
    PHP-Specific Sites
    Additional Libraries
    Security
    Other Resources