Summary
In this chapter, we saw how to build the Logon window, which is based on a number of key elements appropriate for an enterprise framework. It has a configurable and extendable architecture that makes full use of the Curl language's support for multiple inheritance, and includes a number of framework classes that will be used elsewhere in other modules.
Within WindowBase, we created a base class for all application windows that provided common functionality and services. Additionally, we developed a Response class that will be the base for all framework modal windows. We introduced the concept of storing application parameters in a central place called AppParameters, and showed how the GUIFactory class can control the creation and definition of all visual controls. Curl's event handling model was discussed, and we described how server-side communication could be consolidated within HTTPCommunicate, and the response contained in ServerResponse. Finally, we examined how the logon module could be made widely available through the use of packaging and the import statement.
In the next chapter, we will review how a specific application can make use of this powerful logon framework module.