Having a common software development framework, "magic", only five classes of ordinary controller, but the response of any complex business scenario. That advance the idea of the original ecology of implementation provides a highly flexible expansion space for the personality of the ideas of developers.
[Framework] Address: https://github.com/mof-paas/mof-project
[Platform] Address: http://www.mofsoft.cn
The framework uses to help
The first step: the frame into IDE development environment
Step 2: Install rely Jar file
-
In the Cube software service platform ( http://www.mofsoft.cn ) Download 3 jar files: mof-data-1.0.1.jar, mof -common-1.0.1.jar, mof-sdk-1.0.8. jar (temporarily there is no central repository)
-
Jar package is installed in the local repository via maven command. Such as:
mvn install:install-file -DgroupId=mof-paas -DartifactId=mof-sdk -Dversion=v1.0.8 -Dpackaging=jar -Dfile=D:\mof-sdk-1.0.8.jar
- Add rely on pom.xml file
<dependency> <groupId>mof-paas</groupId> <artifactId>mof-sdk</artifactId> <version>1.0.8</version> </dependency>
Step Two: Configure the data source file
- Modify jdbc_sample.properties file named jdbc.properties, and modify files in the database configuration parameters.
The third step: modify file Web.xml
- Modify web_sample.xml file named web.xml, and modify configuration parameters as follows:
<context-param> <param-name> the MOF-the USER-ID </ param-name> <param-value> {cube internet user identifier} </ param-value> </ context-param> <context-param> < name-param> the MOF-the APP-ID </ param-name> <param-value> {application identifier} </ param-value> </ context-param> <context-param> <param-name> the MOF-APP- the tYPE </ param-name> <param-value> application type {} </ param-value> </ context-param>
Parameter Description:
-
"} {Cube platform user ID": Registration Cube Software Services Platform ( http://www.mofsoft.cn ) available user ID.
-
"{} Application identifier": Get the application ID you define custom functions in the system.
-
"Application type {}": "1: a service class management system, 2: Class Data Analysis System."
System operating results preview screenshots