Web Database Applications with PHP and MySQL 2e
Home > Computing and Information Technology > Digital Lifestyle and online world: consumer and user guides > Internet guides and online services > Web Database Applications with PHP and MySQL 2e
Web Database Applications with PHP and MySQL 2e

Web Database Applications with PHP and MySQL 2e

|
     0     
5
4
3
2
1




International Edition


About the Book

There are many reasons for serving up dynamic content from a web site:to offer an online shopping site, create customized information pages for users, or just manage a large volume of content through a database. Anyone with a modest knowledge of HTML and web site management can learn to create dynamic content through the PHP programming language and the MySQL database. This book gives you the background and tools to do the job safely and reliably.Web Database Applications with PHP and MySQL, Second Edition thoroughly reflects the needs of real-world applications. It goes into detail on such practical issues as validating input (do you know what a proper credit card number looks like?), logging in users, and using templates to give your dynamic web pages a standard look. But this book goes even further. It shows how JavaScript and PHP can be used in tandem to make a user's experience faster and more pleasant. It shows the correct way to handle errors in user input so that a site looks professional. It introduces the vast collection of powerful tools available in the PEAR repository and shows how to use some of the most popular tools. Even while it serves as an introduction to new programmers, the book does not omit critical tasks that web sites require. For instance, every site that allows updates must handle the possibility of multiple users accessing data at the same time. This book explains how to solve the problem in detail with locking. Through a sophisticated sample application--Hugh and Dave's Wine Store--all the important techniques of dynamic content are introduced. Good design is emphasized, such as dividing logic from presentation. The book introduces PHP 5 and MySQL 4.1 features, while providing techniques that can be used on older versions of the software that are still in widespread use. This new edition has been redesigned around the rich offerings of PEAR. Several of these, including the Template package and the database-independent query API, are fully integrated into examples and thorougly described in the text. Topics include: Installation and configuration of Apache, MySQL, and PHP on Unix(R), Windows(R), and Mac OS(R) X systems, Introductions to PHP, SQL, and MySQL administration, Session management, including the use of a custom database for improved efficiency, User input validation, security, and authentication, The PEAR repository, plus details on the use of PEAR DB and Template classes, Production of PDF reports.

Table of Contents:
Preface 1. Database Applications and the Web The Web Three-Tier Architectures 2. The PHP Scripting Language Introducing PHP Conditions and Branches Loops Functions Working with Types User-Defined Functions A Working Example 3. Arrays, Strings, and Advanced Data Manipulation in PHP Arrays Strings Regular Expressions Dates and Times Integers and Floats 4. Introduction to Object-Oriented Programming with PHP 5 Classes and Objects Inheritance Throwing and Catching Exceptions 5. SQL and MySQL Database Basics MySQL Command Interpreter Managing Databases and Tables Inserting, Updating, and Deleting Data Querying with SQL SELECT Join Queries Case Study: Adding a New Wine 6. Querying Web Databases Querying a MySQL Database Using PHP Processing User Input MySQL Function Reference 7. PEAR Overview Core Components Packages 8. Writing to Web Databases Database Inserts, Updates, and Deletes Issues in Writing Data to Databases 9. Validation with PHP and JavaScript Validation and Error Reporting Principles Server-Side Validation with PHP JavaScript and Client-Side Validation 10. Sessions Introducing Session Management PHP Session Management Case Study: Using Sessions in Validation When to Use Sessions PHP Session API and Configuration 11. Authentication and Security HTTP Authentication HTTP Authentication with PHP Form-Based Authentication Protecting Data on the Web 12. Errors, Debugging, and Deployment Errors Common Programming Errors Custom Error Handlers 13. Reporting Creating a Report Producing PDF PDF-PHP Reference 14. Advanced Features of Object-Oriented Programming in PHP 5 Working with Class Hierarchies Class Type Hints Abstract Classes and Interfaces Freight Calculator Example 15. Advanced SQL Exploring with SHOW Advanced Querying Manipulating Data and Databases Functions Automating Querying Table Types Backup and Recovery Managing Users and Privileges Tuning MySQL 16. Hugh and Dave's Online Wines: A Case Study Functional and System Requirements Application Overview Common Components 17. Managing Customers Code Overview Customer Validation The Customer Form 18. The Shopping Cart Code Overview The Winestore Home Page The Shopping Cart Implementation 19. Ordering and Shipping at the Online Winestore Code Overview Credit Card and Shipping Instructions Finalizing Orders HTML and Email Receipts 20. Searching and Authentication in the Online Winestore Code Overview Searching and Browsing Authentication A. Linux Installation Guide B. Microsoft Windows Installation Guide C. Mac OS X Installation Guide D. Web Protocols E. Modeling and Designing Relational Databases F. Managing Sessions in the Database Tier G. Resources H. The Improved MySQL Library Index


Best Sellers


Product Details
  • ISBN-13: 9780596005436
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 234 mm
  • No of Pages: 795
  • Returnable: 00
  • Spine Width: 43 mm
  • ISBN-10: 0596005431
  • Publisher Date: 22 Jun 2004
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Returnable: Y
  • Width: 175 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Web Database Applications with PHP and MySQL 2e
O'Reilly Media -
Web Database Applications with PHP and MySQL 2e
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.

Web Database Applications with PHP and MySQL 2e

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

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!