Holiday book sale: Save up to 30% on print and eBooks. No promo code needed.
Save up to 30% on print and eBooks.
Multi-Tier Application Programming with PHP
Practical Guide for Architects and Programmers
1st Edition - June 2, 2004
Author: David Wall
9 7 8 - 0 - 0 8 - 0 5 3 7 1 5 - 3
While many architects use PHP for projects, they are often not aware of the power of PHP in creating enterprise-level applications. This book covers the latest version of PHP –… Read more
Save 50% on book bundles
Immediately download your ebook while waiting for your print delivery. No promo code is needed.
While many architects use PHP for projects, they are often not aware of the power of PHP in creating enterprise-level applications. This book covers the latest version of PHP – version 5 -- and focuses on its capabilities within a multi-tier application framework. It contains numerous coding samples and commentaries on them. A chapter discusses object orientation in PHP as it applies to the multi-tier architecture and other chapters discuss HTTP and SOAP, the two communication protocols most useful in tying together multiple layers. There is also coverage of database design and query construction as well as information about tricks you can use in generating user interfaces.
Covers PHP as it relates to developing software in a multi-tier environment—a crucial aspect of developing robust software with low cost and ease of use as design goals.
Makes extensive use of Simple Object Access Protocol (SOAP) and Web Services as implemented in PHP and NuSOAP.
Shows precisely how to make use of the InnoDB table type newly available in MySQL. InnoDB supports true referential integrity and row-level locking.
An application example (a multi-currency bookkeeping application) runs throughout the book, showing various PHP capabilities as well as the database interaction.
Programmers, developers, and software architects using PHP of interested in using it for projects.
The Morgan Kaufmann Practical Guides Series
Chapter 1: Introduction
1.1 Defining Multi-Tier Software Design
1.2 Advantages of a Multi-Tier System
1.3 Disadvantages of a Multi-Tier System
1.4 Questions and Exercises
Chapter 2: Principles of Object Orientation in PHP
2.1 Creating Classes
2.2 Using a Class
2.3 More Advanced Aspects of PHP Object Orientation
2.4 Questions and Exercises
Chapter 3: HTTP in PHP
3.1 Understanding HTTP
3.2 Working with HTTP in PHP
3.5 Questions and Exercises
Chapter 4: Simple Object Access Protocol Under PHP
4.1 Understanding SOAP
4.2 Implementing SOAP in PHP
4.3 Questions and Exercises
Chapter 5: Designing and Implementing a Multi-Tier Application in PHP: A Succinct Example
5.1 Examining the Problem
5.2 The Database Layer
5.3 The Accessor Layer
5.4 The Business Logic Layer
5.5 The Presentation Layer
5.6 Questions and Exercises
Chapter 6: The Persistence Layer
6.1 Choosing a Persistent Storage Mechanism
6.2 Designing the Database
6.3 Understanding Table Relationships and Normalization
6.4 Deciding on a Table Schema
6.5 Translating the Schema into SQL
6.6 Populating the Tables
6.7 Questions and Exercises
Chapter 7: The Accessor Layer
7.1 Extracting Data from the Database
7.2 Adding Data to the Database
7.3 Modifying Data in the Database
7.4 Deleting Data from the Database
7.5 Questions and Exercises
Chapter 8: Business Logic
8.1 Inserting, Updating, and Deleting
8.3 Questions and Exercises
Chapter 9: The Presentation Layer
9.1 Frameworks and Resources
9.2 Viewing and Adding—Everything but Transactions