Udostępnij za pośrednictwem


Adaptive Object Modeling with DSL Tools

Erdem Sahin posted this question to the DSLTools web forum: Does DSL help to build Adaptive Object Models ?

Yep, I reckon so.

AOM is a very flexible architectural style in which business rules and other requirements are represented in metadata, and can be changed at runtime.  https://www.disi.unige.it/person/CazzolaW/RAM-SE04%20Proceedings/Dantas,%20Yoder,%20Borba%20and%20Johnson.pdf has a good description.

The key thing you need to do at runtime is to update the metadata - which might typically be in a database or an XML file.  Depending on the type of information in the metadata, you'll need a syntax for representing it -- and preferably one that is more friendly than a plain old XML tree! A purpose-designed language can make it a lot easier to understand the content of the metadata. That's where the DSL Tools can be useful.