2.6 Interfacing patterns
The directory of interfacing patterns of X-Road supplements training materials for developers of X-Road: https://moodle.ria.ee/course/view.php?id=11.
The directory of interfacing patterns of X-Road includes the design and usage patterns of X-Road. Patterns are reusable solutions for problems encountered during the design and use of X-Road dataservices. In addition to textual descriptions of problems and solutions, the directory of interfacing patterns of X-Road also includes several examples of WSDL descriptions. The main target group of the directory includes system architects.
Patterns are recommended and proceeding from a specific task they can be changed and supplemented.
Division of patterns see more in the chapter ‘Division and types of patterns’ https://moodle.ria.ee/mod/page/view.php?id=241.
Description of patterns, see more in the chapter ‘Description of patterns’ https://moodle.ria.ee/mod/page/view.php?id=240.
The directory of patterns includes patterns for submitting requests with varying level of difficulty, CRUD data management, use of time-consuming processes, but also patterns for sequential and parallel use of services, their cyclic use, division of data (division of larger data set into several separate parts), etc.
When choosing and reading a suitable pattern, it is important to know one’s role in data exchange. Two main roles can be differentiated in patterns: user of dataservice and provider of dataservice.
User of dataservice initiates data exchange and develops business logic needed for processing the dataservice.
Provider of dataservice develops business logic needed for providing the dataservice and specifies, which information systems can consume this dataservice.
As correct designation of one’s role in the context of X-Road patterns and finding a suitable pattern from several can be difficult, a pattern selection guide has been drafted: https://moodle.ria.ee/mod/page/view.php?id=414.