PHP supports a wide range of web services types, including REStful Web Services, WDDX Web Services and SOAP Web Services. The following video clip shows how simple it is to consume a SOAP web service in PHP.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.