Write your GUI into XML files
I have an idea from a project participating in our laboratory (eventually without this project). We can store all the information of a GUI in some XML files, including the layout appearance and the logic behind it. Then we can restore this GUI from these XML files and make it the same appearance and behavior.
Like my previous
In an article, in the VC environment, because of the wide use of custom controls, there is still a lack of implementation of metadata protocols (in Java is a transmit mechanism), we can't do it. But we can get all properties of almost every control through Java emission mechanism. So we may copy a given control written with Java.
However, technology is just technology, if it is not practical, it is not used. Now I don't know where this technology can be used. I know that there is a new graphics architecture in Microsoft's next-generation operating system Longhorn.
Avalon, it allows you to write the GUI, just like writing an HTML file, and what I want to mention is the middle representation of Avalon as the GUI. This is very similar to my idea. But Microsoft creates an environment, a parser or engine for the use of these XML files. However, although I think my thoughts are a good idea, and I feel useful in my potion, but in a general, I can't think of this technology what can be used in the system. .
So I have to think about this idea. In addition, if you have a good idea, you know how to use this technology, please leave a message behind the article, I will be very grateful.