Search and Find
Service
More of the content
Multi-Tier Application Programming with PHP - Practical Guide for Architects and Programmers
Front Cover
1
Multi-Tier Application Programming with PHP: Practical Guide for Architects and Programmers
4
Copyright Page
5
Contents
8
Preface
14
Chapter 1. Introduction
26
1.1 Defining Multi-Tier Software Design
26
1.2 Advantages of a Multi-Tier System
27
1.3 Disadvantages of a Multi-Tier System
31
1.4 Questions and Exercises
32
Chapter 2. Principles of Object Orientation in PHP
34
2.1 Creating Classes
35
2.2 Using a Class
37
2.3 More Advanced Aspects of PHP Object Orientation
38
2.4 Questions and Exercises
44
Chapter 3. HTTP in PHP
46
3.1 Understanding HTTP
47
3.2 Working with HTTP in PHP
51
3.3 Cookies
62
3.4 Sessions
65
3.5 Questions and Exercises
68
Chapter 4. Simple Object Access Protocol Under PHP
70
4.1 Understanding SOAP
71
4.2 Implementing SOAP in PHP
75
4.3 Questions and Exercises
78
Chapter 5. Designing and Implementing a Multi-Tier Application in PHP
80
5.1 Examining the Problem
80
5.2 The Database Layer
83
5.3 The Accessor Layer
86
5.4 The Business Logic Layer
91
5.5 The Presentation Layer
93
5.6 Questions and Exercises
97
Chapter 6. The Persistence Layer
98
6.1 Choosing a Persistent Storage Mechanism
98
6.2 Designing the Database
101
6.3 Understanding Table Relationships and Normalization
102
6.4 Deciding on a Table Schema
105
6.5 Translating the Schema into SQL
108
6.6 Populating the Tables
117
6.7 Questions and Exercises
118
Chapter 7. The Accessor Layer
120
7.1 Extracting Data From the Database
120
7.2 Adding Data to the Database
158
7.3 Modifying Data in the Database
170
7.4 Deleting Data from the Database
180
7.5 Questions and Exercises
188
Chapter 8. Business Logic
190
8.1 Inserting, Updating, and Deleting
190
8.2 Reporting
196
8.3 Questions and Exercises
217
Chapter 9. The Presentation Layer
218
9.1 Frameworks and Resources
218
9.2 Viewing and Adding—Everything but Transactions
227
9.3 Editing—Everything but Transactions
240
9.4 Transactions
253
9.5 Questions and Exercises
278
Chapter 10. The Elsewhere Layer
280
10.1 Means of Grabbing Online Information
280
10.2 Choosing a Web Service
282
10.3 Making Use of the Web Service
283
10.4 Questions and Exercises
289
Afterword
292
Index
294
All prices incl. VAT