Building Scalable Web Sites
Building, scaling, and optimizing the next generation of web applications
By
Cal Henderson
May 2006
Pages: 348
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
Chapter 1 Introduction
-
What Is a Web Application?
-
How Do You Build Web Applications?
-
What Is Architecture?
-
How Do I Get Started?
-
Chapter 2 Web Application Architecture
-
Layered Software Architecture
-
Layered Technologies
-
Software Interface Design
-
Getting from A to B
-
The Software/Hardware Divide
-
Hardware Platforms
-
Hardware Platform Growth
-
Hardware Redundancy
-
Networking
-
Languages, Technologies, and Databases
-
Chapter 3 Development Environments
-
The Three Rules
-
Use Source Control
-
One-Step Build
-
Issue Tracking
-
Scaling the Development Model
-
Coding Standards
-
Testing
-
Chapter 4 i18n, L10n, and Unicode
-
Internationalization and Localization
-
Unicode in a Nutshell
-
Unicode Encodings
-
The UTF-8 Encoding
-
UTF-8 Web Applications
-
Using UTF-8 with PHP
-
Using UTF-8 with Other Languages
-
Using UTF-8 with MySQL
-
Using UTF-8 with Email
-
Using UTF-8 with JavaScript
-
Using UTF-8 with APIs
-
Chapter 5 Data Integrity and Security
-
Data Integrity Policies
-
Good, Valid, and Invalid
-
Filtering UTF-8
-
Filtering Control Characters
-
Filtering HTML
-
Cross-Site Scripting (XSS)
-
SQL Injection Attacks
-
Chapter 6 Email
-
Receiving Email
-
Injecting Email into Your Application
-
The MIME Format
-
Parsing Simple MIME Emails
-
Parsing UU Encoded Attachments
-
TNEF Attachments
-
Wireless Carriers Hate You
-
Character Sets and Encodings
-
Recognizing Your Users
-
Unit Testing
-
Chapter 7 Remote Services
-
Remote Services Club
-
Sockets
-
Using HTTP
-
Remote Services Redundancy
-
Asynchronous Systems
-
Exchanging XML
-
Lightweight Protocols
-
Chapter 8 Bottlenecks
-
Identifying Bottlenecks
-
External Services and Black Boxes
-
Chapter 9 Scaling Web Applications
-
The Scaling Myth
-
Scaling the Network
-
Load Balancing
-
Scaling MySQL
-
MyISAM
-
MySQL Replication
-
Database Partitioning
-
Scaling Large Database
-
Scaling Storage
-
Chapter 10 Statistics, Monitoring, and Alerting
-
Tracking Web Statistics
-
Application Monitoring
-
Alerting
-
Chapter 11 APIs
-
Data Feeds
-
Mobile Content
-
Web Services
-
API Transports
-
API Abuse
-
Authentication
-
The Future
-
Colophon
Return to Building Scalable Web Sites