!--a11y-->
Separation of Data Retrieval, Evaluation, and Output 
To give the BSP application a clear and transparent structure, it makes sense to store logical and functional elements in
Event Handlers (these contain only program code). In the HTML-based layout part, dynamic scripting code should only be used to display data on the page in question.In this tutorial, the book search facility demonstrates the advantages of clearly separating data retrieval, evaluation, and output:
This ensures that functionality and logic (error handling) are kept out of the layout part.