Core PHP Programming
close menu
Bookswagon
search
My Account
Home > Computer programming / software engineering > Web programming > Core PHP Programming
Core PHP Programming

Core PHP Programming


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Fully revised for PHP 5*The authoritative guide to real-world development with the new PHP 5*Brand-new coverage of PHP design patterns, object techniques, and XML*Updated coverage of syntax, functions, algorithms, and PHP software engineering*Includes 650+ downloadable code examples*Co-authored by Zeev Suraski, PHP 5 contributor and Zend Engine 2 co-creatorPraise for the third edition:"In the Third Edition of Core PHP Programming, Leon has invited my partner Zeev Suraski to cover the PHP 5 language changes. Leon's experience in writing PHP books and Zeev's superior knowledge of PHP 5 and its internals have led to a must-buy book for PHP developers. I hope you enjoy this book and that it accompanies you during the adoption phase of PHP 5." - Andi Gutmans, PHP 5 contributor and Zend Engine 2 co-creatorThe authoritative guide to PHP 5!Master PHP 5, the easy, high-performance solution for enterprise-class Web development!Core PHP Programming, Third Edition is the authoritative guide to the brand-new PHP 5. Top PHP developer Leon Atkinson and PHP 5 contributor/Zend Engine 2 co-creator Zeev Suraski cover every facet of real-world PHP development, from basic syntax to state-of-the-art design patterns.It's all here: networking, data structures, regular expressions, math, configuration, graphics, MySQL/PostgreSQL support, XML, algorithms, debugging, and much more. Discover how to build enterprise-class applications that use PHP 5's breakthrough object-oriented features...and leverage the extraordinary Zend Engine 2 performance improvements this book's co-author helped to implement.Every Core Series book:*DEMONSTRATES how to write commercial-quality code*FEATURES nontrivial programs and examples - no toy code!*FOCUSES on the features and functions most important to real developers*PROVIDES objective, unbiased coverage of cutting-edge technologies - no hype!Core PHP Programming, Third Edition delivers:*Accurate, thorough coverage of PHP 5 syntax, functions, and algorithms*Step-by-step guidance for PHP 5 database integration and XML development*Best practices for software design, debugging, and integration

Table of Contents:


Foreword.


Preface.


Acknowledgments.

I. PROGRAMMING WITH PHP.

1. An Introduction to PHP.

The Origins of PHP. PHP Is Better Than Its Alternatives. Interfaces to External Systems. How PHP Works with the Web Server. Hardware and Software Requirements. What a PHP Script Looks Like. Saving Data for Later. Receiving User Input. Choosing Between Alternatives. Repeating Code.

2. Variables, Operators, and Expressions.

A Top-Down View. Data Types. Variables. Constants. Operators. Building Expressions.

3. Control Statements.

The if Statement. The ? Operator. The switch Statement. Loops. exit, die, and return. Exceptions. Declare.

4. Functions.

Declaring a Function. The return Statement. Scope. Static Variables. Arguments. Recursion. Dynamic Function Calls.

5. Arrays.

Single-Dimensional Arrays. Indexing Arrays. Initializing Arrays. Multidimensional Arrays. Casting Arrays. The + Operator. Referencing Arrays Inside Strings.

6. Classes and Objects.

Object-Oriented Programming. The PHP 5 Object Model. Defining a Class. Constructors and Destructors. Cloning. Accessing Properties and Methods. Static Class Members. Access Types. Binding. Abstract Methods and Abstract Classes. User-Level Overloading. Class Autoloading. Object Serialization. Namespaces. The Evolution of the Zend Engine.

7. I/O and Disk Access.

HTTP Connections. Writing to the Browser. Output Buffering. Environment Variables. Getting Input from Forms. Passing Arrays in Forms. Cookies. File Uploads. Reading and Writing to Files. Sessions. The include and require Functions. Don't Trust User Input.

II. FUNCTIONAL REFERENCE.

8. Browser I/O.

Pregenerated Variables. Pregenerated Constants. Sending Text to the Browser. Output Buffering. Session Handling. HTTP Headers.

9. Operating System.

Files. Compressed File Functions. Direct I/O. Debugging. POSIX. Shell Commands. Process Control.

10. Network I/O.

General Network I/O. Sockets. FTP. Curl. SNMP.

11. Data.

Data Types, Constants, and Variables. Arrays. Objects and Classes. User Defined Functions.

12. Encoding and Decoding.

Strings. String Comparison. Encoding and Decoding. Compression. Encryption. Hashing. Spell Checking. Regular Expressions. Character Set Encoding.

13. Math.

Common Math. Random Numbers. Arbitrary-Precision Numbers.

14. Time and Date.

Time and Date. Alternative Calendars.

15. Configuration.

Configuration Directives. Configuration.

16. Images and Graphics.

Analyzing Images. Creating Images.

17. Database.

DBM-Style Database Abstraction. DBX. LDAP. MySQL. ODBC. Oracle. Postgres. Sybase and Microsoft SQL Server.

18. Object Layers.

COM. CORBA. Java.

19. Miscellaneous.

Apache. IMAP. MnoGoSearch. OpenSSL. System V Messages. System V Semaphores. System V Shared Memory.

20. XML.

DOM XML. Expat XML. WDDX.

III. ALGORITHMS.

21. Sorting, Searching, and Random Numbers.

Sorting. Built-In Sorting Functions. Sorting with a Comparison Function. Searching. Indexing. Random Numbers. Random Identifiers. Choosing Banner Ads.

22. Parsing and String Evaluation.

Tokenizing. Regular Expressions. Defining Regular Expressions. Using Regular Expressions in PHP Scripts.

23. Database Integration.

Building HTML Tables from SQL Queries. Tracking Visitors with Session Identifiers. Storing Content in a Database. Database Abstraction Layers.

24. Networks.

HTTP Authentication. Controlling the Browser's Cache. Setting Document Type. Email with Attachments. HTML Email. Verifying an Email Address.

25. Generating Graphics.

Dynamic Buttons. Generating Graphs on the Fly. Bar Graphs. Pie Charts. Stretching Single-Pixel Images.

IV. SOFTWARE ENGINEERING.

26. Integration with HTML.

Sprinkling PHP within an HTML Document. Using PHP to Output All HTML. Separating HTML from PHP. Generating HTML with PHP.

27. Design.

Writing Requirements Specifications. Writing Design Documents. Change Management. Modularization Using include. FreeEnergy. Templates. Application Frameworks. PEAR. URLs Friendly to Search Engines.

28. Efficiency and Debugging.

Optimization. Measuring Performance. Optimize the Slowest Parts. When to Store Content in a Database. Debugging Strategies. Simulating HTTP Connections. Output Buffering. Output Compression. Avoiding eval. Don't Load Extensions Dynamically. Improving Performance of MySQL Queries. Optimizing Disk-Based Sessions. Don't Pass by Reference (or, Don't Trust Your Instincts). Avoid Concatenation of Large Strings. Avoid Serving Large Files with PHP-Enabled Apache. Understanding Persistent Database Connections. Avoid Using exec, Backticks, and system If Possible. Use php.ini-recommended. Don't Use Regular Expressions Unless You Must. Optimizing Loops. IIS Configuration.

29. Design Patterns.

Patterns Defined. Singleton. Factory. Observer. Strategy.

A. Escape Sequences.
B. ASCII Codes.
C. Operators.
D. PHP Tags.
E. PHP Compile-Time Configuration.
F. Internet Resources.
G. PHP Style Guide.
INDEX.


About the Author :

LEON ATKINSON is a freelance Web developer and architect who has been working with PHP since 1997. He formerly served as chief technologist for Clear Ink in Walnut Creek, CA, where he specialized in designing and implementing complex, PHP-based Web applications that automate business processes. He is author of Core MySQL.

ZEEV SURASKI is co-creator of PHP 5’s Zend Engine 2. He also wrote many of PHP’s core features, including its abstracted Web server API, thread safety, MySQL support, and output buffering. He co-founded Zend Technologies and currently serves as its chief technology officer.


Best Sellers


Product Details
  • ISBN-13: 9780130463463
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 234 mm
  • No of Pages: 1104
  • Weight: 1524 gr
  • ISBN-10: 0130463469
  • Publisher Date: 14 Aug 2003
  • Binding: Paperback
  • Language: English
  • Spine Width: 38 mm
  • Width: 179 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Core PHP Programming
Pearson Education (US) -
Core PHP Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Core PHP Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Your IP: 216.73.217.71 IN