What are the real-world benefits of declarative-UI languages such as XAML and QML?
Posted
by Stu Mackellar
on Stack Overflow
See other posts from Stack Overflow
or by Stu Mackellar
Published on 2010-04-24T20:37:25Z
Indexed on
2010/04/24
20:43 UTC
Read the original article
Hit count: 422
I'm currently evaluating QtQuick (Qt User Interface Creation Kit) which will be released as part of Qt 4.7. QML is the JavaScript-based declarative language behind QtQuick.
It seems to be a very powerful concept, but I'm wondering if anybody that's made extensive use of other, more mature declarative-UI languages like XAML in WPF or Silverlight can give any insight into the real-world benefits that can be gained from this style of programming. Various advantages are often cited:
- Speed of development
- Forces separation between presentation and logic
- Better integration between coders and designers
- UI changes don't require re-compilation
Also, are there any downsides? A few potential areas of concern spring to mind:
- Execution speed
- Memory usage
- Added complexity
Are there any other considerations that should be taken into account?
© Stack Overflow or respective owner