1. A computer-implemented method for declaratively defining a control action, the method comprising: associating an action with a control, wherein the action and the control are independently customizable components; associating an event with the control; detecting that the event is to be raised; and executing the action at a time associated with when the event is raised, wherein executing the action comprises performing a logic operation on the value.