Statecharts and State Chart XML as a Modeling Technique in Web Engineering
Anne Brüggemann-Klein, Marouane Sayih, Zlatina Keskivov · Balisage series on markup technologies · 2015
Domain-driven design is a methodology that attempts to improve software development by focusing on domain terminology and functionality. It encourages collaboration between technical and domain experts by making an explicit technology-independent model that is iteratively refined. Many modeling languages exist. This paper examines the use of statecharts and their XML encoding, State Charts XML (SCXML), as a language for modeling the behavioral aspects of a reactive system. The use case presented in this paper is GameX, an interactive browser-based game where players operate on a map of towns and fields. We demonstrate that SCXML-encoded statecharts can be used to describe complex models during the software development process. Not only can these models be used to drive new development, but modeling already deployed systems in this way can provide a deeper understanding of their behavior.