Font Size: a A A

Lightweight Web System

Posted on:2010-11-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y J XuFull Text:PDF
GTID:2208360302965054Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
MVC is an abbreviation of a kind of system application architecture which is combined with model, viewer and controller. MVC separates the application system into several portions that have their own function and responsibility. Then the architecture becomes more plain and easier for us to comprehend. Moreover, it can adapt the system structure to the change of the request. Model is the code which is used to carry out some task. There isn't any logic to decide the way in which it shows in the client. Model is just the function interface, through which we can get all function of the models.Inversion of control is also called Dependency Injection, whose designing idea isn't to create objects, but to describe how to create them. Its target is to increase the probability of component reusing and put up a flexible and extensible platform for the system, not to bring more function for the software system.With the traditional interactive mode, the client sends a request to the server, and then the server responds, sending a new page to the client. Even for some simple data, it must refresh the page with low efficiency. Meanwhile the time and bandwidth are wasted. Asynchronous Interaction mode implements data switching in the background. The data in DB can be got without refreshing pages, which makes the business operation more direct and raise the speed of the Web application.The traditional MVC owns a lot of advantages, and it brings developers much convenience. However, we must see there're also many shortcoming and disadvantage. For example, a lot of data switching exists within the Presentation Tier and the Logic Tier, which brings down the efficiency of the system. This article combines MVC with Inversion of Control and Asynchronous Interaction, and presents a new design pattern, which I call MB~IV~AC. At last I apply it upon a project whose name is KDDI_ESS. With Inversion of Control, the problem of component reusing and system extensibility can be overcome, and it's easier to develop and maintain the system. With Asynchronous Interaction, there's no need for users to waste their time and bandwidth to reload the whole page only for some simple data.
Keywords/Search Tags:Inversion of Control, Asynchronous Interaction, J2EE, MVC, MB~IV~AC
PDF Full Text Request
Related items