XQuery Design Patterns
Design patterns are widely used inside the object-oriented community. They are proven mature and reusable solutions that facilitate the development of modules with minimal coupling. Moreover, design patterns are also high-level constructs that contribute to improve the communication between developers.
Nowadays, XQuery and its family of specifications are used beyond just querying XML collections and documents. XQuery is more and more used as a multi-paradigm, fully-fledged programming language. The aim of this paper is (1) to motivate the need for XQuery design patterns using a real-world example application and (2) to explore the existence of general design solutions to solve recurring problems in large-scale XQuery applications.