Font Size: a A A

The EduToHome System Based On Flex

Posted on:2011-11-08Degree:MasterType:Thesis
Country:ChinaCandidate:Z J ChenFull Text:PDF
GTID:2178360305454558Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of mobile telecommunications, how to make full use of the information technology to communicate with each other easily and conveniently is more necessary and important. The EduToHome System brings about on this condition. EduToHome provides an advancing education network interaction platform, which could be used to contact with each other between school, family and teacher in a speedy and real-time way. It is a modern informatization management system, which could put computer technology,internet technology,wireless communication technology and attendance informatization technology together. Making use of this platform, it is convenient and timely to transfer information between family and school. Also it provides an effective way to solve contradictions and problems of communication between the two sides, which makes them feeling lovely with the growing of the students. EduToHome supplies a convenient, speedy, high-efficiency communicational channel. During the process we can communicate and speak out with each other freely, which realize a harmony educational environment between social, school and family.The EduToHome system based on Flex adopts a popular technology of Flex and J2EE.It uses Flex technology to make up of the front stage interface and makes use of the JAVA technology to compose the backstage which takes charge of the data processing. It adopts Cairngorm, Spring, and Ibatis framework. During these frameworks, ibatis is the core technology for data processing. Compared to other database interview technique, it has more advantages and makes the process conveniently during the users access the data.In this title, firstly we introduce the relevant technology of Flex, the development trend in the future, the explanation of MVC mode and the Cairngorm framework based on Flex. The MVC model contains three parts:(1) model. Model is the model data. Different kinds of the data object are in the ModelLocator. It's bindable with the controls of the FLEX, which achieve to update the data in time. At the same time, it can save the data which is returned from the back stage. (2) View. View is the only Interface which user and system interact with each other.In the Interface users can operate in need of their demands. (3) Control. Controls take charge of the processing of the whole transaction in the FLEX. The Front Controller in it is to receive the Event and map the Event to the relevant Command. The Command objects handle the business logic, call Delegate and update the model object in the ModelLocator in time. The Delegate is created by the Command. It is used for remote calls the method in the back stage. When the calling is over, it sends back the results to the Command. The Service in the Delegate defines the remote calls which connect to the database. Except from the MVC model, it also introduces how to use the control in Flex and puts the technology of Flex and J2EE together. Meanwhile it explains the calling of cross platform in detail. In the section of J2EE, it introduces the convention syntax of JAVA, the concept of J2EE, and the four layer model of J2EE. It presents the Spring framework and the database interview technique of ibatis in detail. Ibatis framework contains two parts. One is SQL Maps, the other is Data Access Objects. SQL Maps is the core value of Ibatis Database Layer. Through using the SQL Maps, you can reduce the numbers of the code remarkably. SQL Maps make use of a simple file of XML to realize the mapping from JAVABEAN to SQL Statements. DAO capsulate the details of manipulation through the API interface. It allows manipulating the data through a simple interface. So it can conceal the detail of realization. Ibatis data mapping's work procedures contain three steps. The first is to provide an object as the parameter. The second is to carry out the statement of the mapping, set up an object from Result Set. At last, how to make use of ibatis to access the database and the advantages compared to the other database interview technique is shown in this section.At the end of the title, it introduces the EduToHome system in detail. Firstly, we should make the requirement analysis of the system sufficiently and understand the functions in need of the system. Then we divide the system into several functional modules, which make us clearly about the structure of the system. Then we explain and illustrate the function of each module explicitly. Second, we design the database and make sure of the data structure of table and the complicated relationship between these tables. We design the Class Diagram to illustrate this relationship in the title. Following, the design and realization of the system begin with the three layer model which are Persistence Layer,Business Layer,Presentation Layer. In the Persistence Layer we make use of the DAO Interface to define the manipulation of data. We use ibatis database interview technique to process the data which is from the front stage. As the middle of the three layer model, Business Layer takes advantage of its Service Interface to call the method of DAO Interface in the purpose of manipulating the data indirectly. Presentation Layer is the only window as the interaction between the users and system. It uses the MVC model of Cairngorm framework to remote calls across the platform. Presentation Layer submits the user's data to the Business Layer. After the data is processed, it will be sent back to the Presentation Layer from the Business Layer and shown in the Interface.The design and realization of the EduToHome system use the FLEX technique to be the front stage Interface and make use of the J2EE to process the data in the back stage. Because FLEX and J2EE are the two totally different platforms, so crossing the platform is inevitable. FLEX transfers the data in the front stage to the back, the back stage receives the data and takes advantage of the ibatis database interview technique to process the data from the front stage. After the data is processed, the processed data will be sent back to the model in the front stage. Because the data source from the front stage's control is bindable with the model, so the data which is feedback will be update in the front stage Interface.The EduToHome System is the first system that I take part in. As a member of the team, we finish the system successfully with cooperating positively with each other. During the development, we met a lot of troubles, for instance, the lacking of requirement analysis. It leads the constant improvement of the system after the system is finished, which waste a lot of manual labors and material resources. It warns us the importance of the requirement analysis. What's more, we develop the system blindly in the worse condition, that is, we don't know explicitly about the MVC model of Cairngorm framework. All these things tell me to pay more attention to the basic knowledge of the developing system and notice every detail about the system. Only in this condition, we can begin to develop the system.During the development of this project, I take charge of the design of the MVC model in the Cairngorm framework and the implementation of main functions of teacher modules. The MVC model is the most important part in the front stage. Any operation operating on front stage is based on MVC model. During the construction of framework, I look over a lot of books about Cairngorm framework. Through taking example by the steps and flow path in the books, I expand and realize these three models. The MVC model which is setting up successfully provides the foundation for implementation of the other modules. In other words, the modules of the system all take the standard of MVC model which is designed by me, and then they carry it out in need of their demands. It has four functions in the teacher modules. I implement the three functions which are the management of the information of the teacher,the management of the information of the students and families,the management of the groups.In order to bring about much better experience to the users, I revise a lot of details.of the system.As the interaction platform between the family and school, the EduToHome System is a bridge for communicating with each other. It has changed the condition that the school and family little communicated. It makes use of the phone as a tool and uses telecommunications technique, FLEX, J2EE to realize the communication immediately. It helps the parents to know more about the details of their kids in the school. It makes the parents to concern more about their kids and lets them living in a happy and healthy environment. At present the EduToHome System is carried out in several primary and middle schools, but the popularity is not hot enough because of the limitation of the condition. What's more, the functions of the system should be improved. In a word, the improvement of the system's functions needs the suggestions from the school and parents. Meanwhile, it also needs us to try our best to work harder.
Keywords/Search Tags:FLEX, J2EE, IBATIS
PDF Full Text Request
Related items