Font Size: a A A

The Research And Application Of Component Mechanism Based On Castle Framework

Posted on:2009-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y YangFull Text:PDF
GTID:2178360245955407Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Along with development of the software technology, in multilayer software development project, more and more developers favor the software component which is easy to reuse and expand and which has been good tested. This means that the developers would be able to spend abundant time on analyzing and constructing business logic of an application rather than on complex programming code. Therefore the developers could abstract same type questions and extract an application framework. They can construct a distributional application program which perfectly realizes the merit of high cohesion, low coupling, strong flexibility and easy maintainability by using these frameworks. The framework has provided a new way for big granularity software reuse, which has raised software development efficiency. Thus, how to build a sturdy and stable framework is the aim of many software developers all the while.Nowadays, Microsoft Corporation's .NET platform and Sun Corporation's J2EE platform are two mainstream development platforms. .NET development platform has advantage of high efficiency and it is easy to use,however J2EE is especially prominent in the aspect of development framework. Regarding to this, Microsoft Corporation also brings out a series of open source frameworks one after another. Castle is an excellent open source framework under the .NET platform. Not only this framework maintains .NET platform's superiority of fast development, but also makes the overall system construction trend to be reasonable.Castle is an open source project under .NET platform which is a complex application system framework mainly formed by integrating with other open source projects. Castle framework can help you get more done with less code and in less time, as well as simplify Web applications.This thesis mainly illustrates two core mechanisms of Castle framework - - IOC mechanism and AOP mechanism.Firstly, the historical development course of the two mechanisms and their exact manifestation in Castle framework has been discussed. Next, the advantage and superiority of two kinds of mechanisms in a concrete application has been analyzed separately. Then , a visual configuration tool for IOC and AOP is designed in order to simplify programmer's workload when they design an application system based on IOC and AOP mechanisms of Castle, which provides a good platform for the generation of config files based on IOC and AOP. Besides, in order to test the visual config tool and show advantage of the two mechanisms, a base station management module of a wireless network resource management system which is based on the two mechanisms is developed utilizing the visual tool. Except for some basic operations (insert,delete,modify and search),this module has also realized some functions, such as log,transaction and authority services which make the MIS system more integrated. Of course, the latter functions are based on the IOC and AOP mechanisms.
Keywords/Search Tags:Castle, IOC, AOP, Log, Transaction
PDF Full Text Request
Related items