WHAT'S IN THIS CHAPTER?
Introduction to the WebDAV component
Development of the WebDAV component
Integrating different test methods into an existing unit testing setup
The goal of the eZ Components project is to provide a solid, well-documented, and unit-tested library for PHP application development. One part of these professionally developed components is a package to provide a generic WebDAV server to be integrated into custom applications.
In this chapter, I give you insight into the problems we faced during the development of the WebDAV component. Besides the violation of standards that almost every client performs, we had to deal with code that was very hard to test with the default way of unit testing. Integration and acceptance testing are two techniques discussed in this chapter.
The eZ WebDAV component provides a modular and generic implementation of a WebDAV server for integration into custom Web applications. This section introduces you to WebDAV and the architecture of the component, to make it easier for you to follow the rest of this chapter.
Web-based Distributed Authoring and Versioning (WebDAV) is an extension to the HTTP protocol that enables users to edit Web content through their favorite Web or file browsers.
Initially, the Web was meant as a read/write medium, which can still be seen in the request methods PUT and DELETE that are part of the HTTP protocol definition. Nowadays, the ...