Polyglot markup Polyglot markup In computing, a polyglot markup is a document or script written in a valid form of multiple markup languages, which performs the same output, independent of the markup's parser, layout engine, or interpreter. In general, the "polyglot markup" is a common subset of two or more languages, that can be used as a robust or simplified profile. Polyglot HTML is HTML that has been written to conform to both the HTML and XHTML specifications. A polyglot document can therefore be parsed as either HTML (which is SGML-compatible) or XML, and will produce the same DOM structure either way.
Polyglot persistence same concept can be applied to databases, that an application can communicate with different databases, using each for what it is best at to achieve an end goal, hence the term "polyglot persistence". There are numerous databases available to solve different problems. Using a single database to satisfy all of a program's requirements can result in a non-performant, "jack of all trades, master of none" solution. Relational databases, for example, are good at enforcing relationships that exist between various data tables. To discover a relationship or to find data from different tables that belong to the same object, an SQL