Wmframework V2.0 Manual (I) System Framework Introduction

Source: Internet
Author: User
Tags xsl xslt

 

  I. Related Technologies

1. Spring

Spring
Is an open-source framework for enterprise applications.ProgramCreated due to the complexity of development. One of the main advantages of the Framework is its layered architecture, which allows you to choose which component to use andJ2EEApplication Development provides an integrated framework.

 

 

• Core container: the Core container provides the basic functions of the Spring framework. The main component of the core container is beanfactory, which is the implementation of the factory mode. Beanfactory uses the control reversal (IOC) mode to configure and standardize the application and the actual applicationCodeSeparated.

• Spring context: the spring context is a configuration file that provides context information to the Spring framework. Spring context includes enterprise services, such as JNDI, EJB, email, internationalization, checksum and scheduling.

• Spring AOP: With the configuration management feature, the Spring AOP module directly integrates Aspect-oriented programming functions into the spring framework. Therefore, any objects managed by the Spring framework can easily support AOP. The Spring AOP module provides transaction management services for objects in spring-based applications. By using Spring AOP, You can integrate declarative transaction management into applications without relying on EJB components.

 

2. struts2

Struts2 is centered on the design concept of webwork.

The simple process is as follows:

1) the browser sends the request

2) The central processor searches for the corresponding action class for Request Processing Based on the Struts. xml file.

3) the interceptor chain of webwork automatically applies common functions to requests, such as workflow and validation.

4) if the method parameter is configured in the Struts. xml file, the method in the action class corresponding to the method parameter is called. Otherwise, the general execute method is called to process user requests.

5) return the result returned by the corresponding method in the action class to the browser.

3,Ibatis 

IbatisIsO/R MappingSolution,IbatisThe biggest feature is its small size and quick start. If you do not need too many complex functions,IbatisIs the simplest solution that can meet your requirements and be flexible enough.Ibatis
ToSQLThe development workload and database portability concessions provide more free space for system design.

IbatisBottom layer adopts pureJDBCOperation, requires the operator to directly writeSQLOperations. From this point of view,IbatisIt greatly improves the transparency of data-layer operations.

4,XML

XMLAllow developers to create their own tag structure for saving information.

XMLThe parsing syntax is very clear and is a widely used tool.,It can be used in a variety of environmentsXMLDocument enabling knowledge.InUnicodeBased onXMLMake it easier to create and enable international files.

Application dependencyXMLAnalyzer determines structure reliability and checks Data Types

XMLThe format is placed in text to make them read more,It is easier to use files to ensure their validity and to correct errors.

XMLFiles can use most of the resources built in the browser.

XMLMainly include3Components:Schema (Mode),XSL (Extensible Style Language)AndXll (Extensible link language).

 

 

5. Ajax

AjaxBy
Html,JavascriptTechnology,DHTML
AndDomThis outstanding method can be clumsyWeb
The interface is converted into interactiveAjaxApplication,AjaxThat is"Asynchronous JavaScript and
XML"(AsynchronousJavascriptAndXML)

 

 

 

Technologies included

 

The representation of the Web Standard (Standards-based presentation) XHTML + CSS based on the Ajax call cycle;

Use dom (Document Object Model) for Dynamic Display and interaction;

 

Use XML and XSLT for data exchange and related operations;

 

Use XMLHttpRequest for asynchronous data query and retrieval;

 

Use JavaScript to bind everything together.

 

Similar to DHTML or lamp, Ajax does not refer to a single technology, but organically utilizes a series of related technologies. In fact, some Ajax-based "derived/synthesized" (derivative/composite) technologies are emerging, such as "aflax ".

 

Ajax applications use Web browsers that support the above technologies as the operating platform. These browsers currently include Mozilla, Firefox, Internet Explorer, opera, Konqueror, and safari. But opera does not support

 

An object in XSL format does not support XSLT.

 

 

 

Ii. wmframework system process framework

 

1. Overall framework

 

2. Processing Time Series


3. frontend handling process

4. background processing process

5. Foreground object UML

6. Background object UML

7. Interaction Model


 

Iii. Runtime Environment

Tomcat6.0

Above

Myeclipse5.0Above

Eclipse3.2

Jdk6.0

Ibatis2.0

Struts2.0

Spring2.0


 

(Note: My articles are original articles. For more information, see the source! Dao guangjianying 20110117 is written in Shenzhen .)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.