PHP 5 Power Programming by Derick Rethans at Bookstore UAE
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > PHP 5 Power Programming
PHP 5 Power Programming

PHP 5 Power Programming


     0     
5
4
3
2
1



Out of Stock


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

PHP and ASP/ASP.NET have emerged as the two primary applicationdevelopment frameworks for developing web applications. PHP is opensource, and it is the most popular Apache module in use, by far. This bookcovers the key topics that developers familiar with basic PHP syntax need tomaster to become fully productive and effective with PHP 5. These topicsinclude customizing PHP through writing PHP extensions, object-orientedPHP programming, using and building PEAR components, PHP shellscripting, and XML with PHP. Simply put: Readers will understand how toextend PHP to meet the needs of any development project, no matter howcomplex

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: .       Element: .       Dependency Types.       Reasons to Avoid Dependencies.       Optional Dependencies.       Some Examples.     String Substitutions.       Element: .       Examples.     Including C Code.       Element: .       Element: .     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.

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.


Best Sellers


Product Details
  • ISBN-13: 9780131471498
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 100 mm
  • No of Pages: 720
  • Weight: 100 gr
  • ISBN-10: 013147149X
  • Publisher Date: 04 Nov 2004
  • Binding: Paperback
  • Language: English
  • Spine Width: 100 mm
  • Width: 100 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
PHP 5 Power Programming
Pearson Education (US) -
PHP 5 Power 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.

PHP 5 Power 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


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!