PHP Development in the Cloud

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): I. Jansch, V. Chin
Publisher: Blue Parabola
Year: 2011

Language: English
Pages: 173

A Few Words From Vito......Page 12
A Few Words From Ivo......Page 13
Foreword......Page 16
The Book's Structure......Page 20
The Sample Code Application: PictureMe......Page 21
Staying Up-to-date......Page 22
What is Cloud Computing?......Page 24
Five Essential Characteristics......Page 25
Three Service Models......Page 26
Four Deployment Models......Page 27
Current State of Affairs......Page 28
The Peak of Inflated Expectations......Page 29
Plateau of Productivity......Page 30
Infrastructure as a Service......Page 31
Platform as a Service......Page 32
Software as a Service......Page 33
PHP......Page 38
Network Programming......Page 39
XML......Page 41
JSON......Page 42
Virtualization......Page 43
Clustering......Page 44
SOAP......Page 45
REST......Page 46
HTTP APIs......Page 47
System Administration......Page 48
Horizontal Scalability......Page 50
Load-balancing......Page 53
Sessions......Page 55
Distributed File-storage......Page 56
Automatic Deployment......Page 57
Creating a Package for the Package Manager......Page 59
Creating a Repository......Page 61
Installing an Application From a Package on a Cloud Instance......Page 62
Bottleneck Prevention......Page 63
Types of Bottlenecks......Page 64
Using Xdebug Profiler to Identify Bottlenecks......Page 65
Circumventing Bottlenecks with the Cloud......Page 67
Abstraction......Page 68
Multi-Tenancy......Page 70
One Application, One Database......Page 71
Advanced Approaches......Page 72
Amazon's Cloud......Page 74
Amazon's S3, CloudFront, EC2 and Elastic MapReduce......Page 75
Requirements......Page 76
Storing Pictures in S3......Page 77
Geographical Optimization with CloudFront......Page 79
Amazon's Elastic Compute Cloud......Page 80
Searching for Colors......Page 82
MapReduce......Page 84
The Color Indexing Architecture......Page 85
The Color Grid......Page 86
The Mapper......Page 89
The Reducer......Page 90
Sandboxing on a VM with Apache Hadoop......Page 91
Creating the JobFlow on Elastic MapReduce......Page 93
tokyo_tyrant Extension......Page 94
Handling Search Requests......Page 96
Mapping Matching Positions......Page 98
Automatic Elasticity with Rackspace Cloud......Page 99
The Rackspace Cloud......Page 100
Distributed Processing for PictureMe......Page 101
Tackling the Bottleneck: _putColorGrid of PictureManager......Page 103
WorkerManager......Page 104
Spawning Workers......Page 105
The Worker......Page 106
Monitoring Workers......Page 108
Monitoring Worker Servers......Page 110
Starting Up a New Worker Server......Page 111
Stopping a Worker Server......Page 112
The Worker Server Image......Page 113
Authentication......Page 114
Windows Azure......Page 115
AppFabric (Formerly Known as .NET Services)......Page 119
Google App Engine......Page 122
App Engine and PHP......Page 123
A Look at Quercus......Page 124
Getting PHP Apps Running in App Engine through Quercus......Page 126
Rackspace Cloud Sites......Page 131
Other Platforms......Page 133
Identification Using OpenID......Page 136
Login Request......Page 138
Identity Provider Authorization......Page 139
Verification......Page 140
Authorization Using OAuth......Page 141
Getting a Request Token......Page 142
Getting an Access Token......Page 144
Fetching Resources......Page 145
Google Search......Page 146
Twitter Search......Page 149
Google Checkout......Page 151
Google Checkout APIs......Page 152
Paypal......Page 154
CRM......Page 155
Connecting and Logging on to Salesforce.com......Page 157
Creating a User......Page 159
Listing Users......Page 160
Creating an Authentication Web Service......Page 161
Enabling Single Sign-On on Salesforce.com......Page 162
Access Salesforce.com Seamlessly from your Local Server......Page 163
Google Maps with PHP......Page 164
Storage......Page 166
Security......Page 168
Amazon Simple Storage Service (S3)......Page 169
Conclusion......Page 170