Adobe has released their internal C++ libraries as open source here.
Interesting stuff in there. It’s always good to see different ideas in computer science.
The key parts are called Adam and Eve. Essentially they are a constraints system for data dependency modeling and behaviour and a declarative constraints based system for describing UI. Neat stuff. I’ll have to read more about it later.