The document discusses design patterns for large-scale XQuery applications. It describes how an existing XQuery application exhibited strong coupling between modules, low extensibility, and heterogeneous vocabulary. It then presents three use cases involving an AtomPub client/server and the patterns used to address them, including a Strategy pattern to store Atom entries flexibly and a Template Method pattern to transform Atom entries to HTML.