Structure

As the complexity of the application increases, so too does the needs of the application's model, messages, and logic. To prevent the application from becoming untenable, it will be necessary to periodically organize the structure of the application. There are two primary methods of reducing the complexity of your application model and logic: modules and states.