|
META TOPICPARENT |
name="DuckySebastianSukesh539Project" |
Using Aspects to build GUIs
Sukesh Chopra, Kaitlin Duck Sherwood, and Sebastian Streg
Using traditional Object-Oriented programming techniques, code for building a GUI becomes tangled: layout code becomes tangled with behavior code. For example, consider a simple GUI with one button and one label, where the the label displays the number of times that the button has been pushed. When creating the label, the developer has to specify not only the visual aspects of the label, but also keep a pointer to the label that the button can use. When creating the button, the developer has to specify not only the visual aspects, but also define the behavior that the button should take when it is pushed. |