Develop a designer of texts.
The user works in a WYSIWYG analogue of the ward, then saves the document. The HTML string is sent to the database and stored there. In our constructor is a function, something like "variables". The user can create such variables, and scatter them throughout the text. If in one place to modify the variable, it changes throughout the text. As better things to store?
My version is:
<h1>Some text.</h1>
<p>my name is {{3932}}.</p>
In this case 3932 = Andrew, for example. How about this store? Or is there a more beautiful option?