PHP Certification Study Guide (Paperback)

Zend Technologies

  • 出版商: SAMS
  • 出版日期: 2004-08-07
  • 售價: $1,390
  • 貴賓價: 9.5$1,321
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Paperback
  • ISBN: 0672327090
  • ISBN-13: 9780672327094
  • 相關分類: PHP
  • 海外代購書籍(需單獨結帳)




The first and only officially authorized book on the PHP Certification exam developed by Zend Technologies, the commercial developer of PHP. Zend's PHP Certification exam is a high-quality, carefully developed exam designed to enhance and certify the skills of the PHP professional. The PHP Certification Study Guide is a concise, densely packed book that will get you up to speed quickly on the nature of the exam's questions and what to expect on exam day. It's authoritative content comes directly from those writing the exam.


Table of Contents:


    What Does This Guide Cover?

      How Is the Guide Organized?

    Other Resources You Might Want to Consult.

1. The Basics of PHP.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    Language and Platform.

    Getting Started.

      The Special <?= ?> Tags.

    Scripts and Files.

      Manipulating Data.

      Numeric Values.

      String Values.

      Boolean Values.



      The NULL Data Type.


    Identifiers, Constants, and Variables.


      Variable Substitution in Strings.




      The Assignment Operator.

      Arithmetic Operators.

      Bitwise Operators.

      Error-control Operators.

      String Operators.

      Comparison Operators.

      Logical Operators.


      Combined Assignment Operators.

      Combining Operations: Operator Precedence and Associativity.

    Conditional Structures.

      Alternative if-then-else Syntax.

       Short-form if-then-else .

      The case Statement.

    Iteration and Loops.

      The while Structure.

      The do-while Structure.

      The for Loop.

      Continuing a Loop.

    Functions and Constructs.

      Functions and Variable Scope.

      Functions with Variable Parameters.

      Variable Variables and Variable Functions.

    Exam Prep Questions.

2. Object-Oriented PHP.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    Getting Started.

    Instantiating a Class: Objects.

    Classes as Namespaces.

    Objects and References.

    Implementing Inheritance.

    Magic Functions: Serializing Objects.

    Exam Prep Questions.

3. PHP and the Web.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

     Server-side Versus Client-side.

    HTML Forms.



    Exam Prep Questions.

4. Arrays.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    Creating Arrays.

      Using the Array Operator.

      Counting the Number of Elements in an Array.

      Assigning Values from an Array to Multiple Variables.

    Multidimensional Arrays.

    Navigating Arrays.

      Using foreach .

      Using the Internal Pointer.

      Using a Callback.

    Manipulating Keys.

      Checking if an Element Exists.

      Changing the Array of Keys.

      Sorting an Array by Its Keys.

    Manipulating Arrays.

      Sorting Multidimensional Arrays.

      Randomizing Arrays.

      Merging Arrays.

      Intersection and Difference.

    Serializing Arrays.

    Exam Prep Questions.

5. Strings and Regular Expressions.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    Comparing Strings.

      Comparison with == and === .

      Using strcmp and Friends.

      Matching Portions of Strings.

    Formatting Strings.

      printf Formats.

      printf() Family Functions.

    Extracting Data from Strings.

      Extracting Substrings by Offset.

      Extracting Formatted Data.

    Modifying Strings.

      Modifying Substrings by Offset.

      Replacing Substrings.

    Regular Expressions.

      Basic PCRE Syntax.

      Extracting Data with Regular Expressions.

      Pattern Replacement with Regular Expressions.

      Splitting Strings into Components.

    Exam Prep Questions.

6. File Manipulation.

    Techniques You’ll Need to Master.

    Terms You’ll Need to Understand.

    Opening Files.

    Closing Files.

    Reading from a File.

    Writing to a File.

    Determining Information About Files.

    Manipulating Files on the Filesystem.

      Copying, Deleting, and Moving Files.

      Changing Ownership and Permissions.

    Locking Files.

    Miscellaneous Shortcuts.

      file() .

      readfile() .

      file_get_contents() .

    Exam Prep Questions.

7. Managing Dates and Times.

     Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    How PHP Handles Dates.

    Getting the Current Time Stamp.

    Getting a Date Array.

    Formatting a Date String.

    Getting a UNIX Time Stamp from a Date Array.

    Getting A UNIX Time Stamp from a String.

    Exam Prep Questions.

8. Managing Email.


      Terms You’ll Need to Understand.

      Techniques You’ll Need to Master.

    How Email Is Delivered.

      MTA–Mail Transport Agent.

      SMTP–Simple Mail Transport Protocol.

      MX Records.

      MUA–Mail User Agent.

      SASL–Simple Authentication and Security Layer.

      Other Emerging Technologies.

    Preparing PHP.

      If You Are Using PHP on UNIX.

      If You Are Using PHP on Windows or Netware.

    Sending Email.

      Sending an Email to More Than One Recipient.

    Managing Email Headers.

      The Cc: and Bcc: Headers.

      The From: Header.

    Setting the Subject.

    Formatting an Email Message.

      Plain-Text Emails.

      Basic HTML Emails.

    Attaching a File to a Message.

      Attached Images for HTML Emails.

    Using Extra Command-Line Parameters.

    A Word About Email Delivery.

    Further Reading.

    Exam Prep Questions.

9. PHP and Databases.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.



      Writing Good Indices.

      Primary Keys.

      Foreign Keys and Relations.

    Creating Tables or Adding and Removing Rows.

      Inserting a Row.

      Deleting Rows.

    Retrieving Information from a Database.

    Extracting Data from More Than One Table.

    Aggregate Functions.



    PHP and Databases.

      There’s Date and Date.

    Exam Prep Questions.

10. Stream and Network Programming.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

     php.ini Settings to Understand.

    What Are File Wrappers?

      How Do You Choose Which File Wrapper Is Used?

      What Built-In Wrappers Does PHP Provide?

      Not All Wrappers Are Created Equal.

      Using a File Wrapper.

      Correctly Detecting Line Endings.

      Closing a File Wrapper.

      Other Functions That Work with File Wrappers.

    Introducing Streams.

      What Is Stream Metadata?


      What Is the Stream Transport?

      What Is the Stream Context?

      How Do Streams Affect Me?

    Connecting to Remote Hosts Using Sockets.

      When Should I Use a Socket Instead of a File Wrapper?

      What Network Transports Does PHP Support?

      How Do I Open a Socket?

      Persistent Sockets.

      Timeouts When Opening a Socket.

      How Do I Use a Socket?

      Blocking Mode.

      Read/Write Timeouts.

      Closing a Socket.

    Further Reading.

    Exam Prep Questions.

11. Security.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    Data Filtering.

    Register Globals.

    SQL Injection.

    Command Injection.

    Cross-Site Scripting.

    Shared Hosting.

    Exam Prep Questions.

12. Debugging and Performance.

    Terms You’ll Need to Understand.

    Techniques You’ll Need to Master.

    Coding Standards.

      Flattening if Statements.

      Splitting Single Commands Across Multiple Lines.

      Concatenation Versus Substitution.

      Choose Your Opening Tags Carefully.

    One Equal, Two Equals, Three Equals.

      There’s Equal and Equal.

    Testing for Resource Allocation.

    Ternary Operators and if Statements.

    Logging and Debugging.

      Using Debuggers.

    Optimizing Performance.

      Hardware Issues.

       Web Server Issues.

      Avoid Overkill.

      Zip It Up.

    Database Optimizations.

      Keep Your Code Simple.

    Caching Techniques.

      Bytecode Caches.

    Exam Prep Questions.

13. Getting Ready for the Certification Exam.

    What the Exam Tests.

    How to Register.

      Registration via Pearson VUE Call Center.

      Registration via the Person VUE Website.

      Registration at the Test Center.

    What to Expect at the Test Center.

    How the Exam Works.

      Exam Instructions.


      Viewing Backward and Forward.

      Reviewing Your Answers.

      Your Comments.

    What Kinds of Questions Are Asked?

      Single Choice Questions.

      Multiple Choice Questions.

      Fill in the Blanks Questions.

       Open Questions.

Practice Exam Questions.




這是一本由Zend Technologies開發的PHP認證考試的官方授權書籍,也是唯一一本。Zend的PHP認證考試是一個高品質、精心開發的考試,旨在提升和認證PHP專業人員的技能。《PHP認證學習指南》是一本簡潔而密集的書籍,可以快速讓您了解考試問題的性質以及考試當天的預期。它的權威內容直接來自於撰寫考試的人員。

1. PHP的基礎知識。
特殊的= ?>標籤。