A kind of online list development system
Technical field
The invention belongs to data visualization technique field and computer language system regions are and in particular to a kind of online list
Development system.
Background technology
Model is carried out using domain model language technology, based on java, js technology component is developed, on-line manner
Visual design is carried out to the page, builds view model according to page elements simultaneously;In accession page, using view rendering
Engine is to view model dynamic analysis, and then is rendered to the page.But in existing development process, process CIMS is many, numerous and diverse, no
Can develop quickly.
Content of the invention
It is an object of the invention to provide a kind of online list development system, simplify setting of the enterprise application system based on web
Meter complexity, extension complexity and development efficiency, and the man-machine interaction mode of flexible the visual design is provided;It is greatly improved
Development efficiency.
For reaching above-mentioned purpose, technical scheme is as follows:
A kind of online list development system, comprising:
The custom block being set by user, described custom block is connected with data base, described custom block
For setting data model module, the parameter of business model module and view model module;
The model checking engine modules being connected with data base, described model checking engine modules are used for setting custom block
Fixed parameter is verified, filters out legal custom block;
And the view model module being connected with described model checking engine modules, corresponding data model module, business
Model module;Described view model module carries out data display by view rendering engine modules, and described data model module is led to
Cross data accessing engine module and connect data base, described business model module is connected with data by service logic engine module and visits
Ask engine modules.
In a preferred embodiment of the invention, described data model module include oracle or mysql or
One of tri- kinds of relevant databases of sqlserver or multiple relevant database.
In a preferred embodiment of the invention, described business model module is used for arranging page foreground rules of interaction,
Back-end data processes rule, and Common Component configuration rule.
In a preferred embodiment of the invention, described view model module is used for arranging the ways of presentation of the page.
In a preferred embodiment of the invention, described custom block provides system in systems on-line manner
Data model constructing function.
By technique scheme, the invention has the beneficial effects as follows:
The present invention completes the definition of view model, data model and service logic model by way of online;Using mould
Type syntactic verification rule carries out syntactic verification to already present model;Using view rendering engine, view model is parsed,
It is rendered to the view page based on html, generate and execute service logic according to service logic model using business enforcement engine,
Data accessing engine peration data model is called data to be carried out increasing, deletes, change, looking into operation based on jdbc agreement.This invention is crucial
It is based on domain model language technology, rapid build web application system on-line manner
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some examples of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also root
Obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is overall technology structure chart of the present invention.
Fig. 2 is the overall Organization Chart of the present invention.
Specific embodiment
In order that technological means, creation characteristic, reached purpose and effect that the present invention realizes are easy to understand, tie below
Conjunction is specifically illustrating, and the present invention is expanded on further.
Shown in seeing figures.1.and.2, a kind of online list development system, comprising: the self-defined mould being set by user
Block, described custom block is connected with data base, and described custom block is used for setting data model module, business model module
And the parameter of view model module;
The model checking engine modules being connected with data base, described model checking engine modules are used for setting custom block
Fixed parameter is verified, filters out legal custom block;
And the view model module being connected with described model checking engine modules, corresponding data model module, business
Model module;Described view model module carries out data display by view rendering engine modules, and described data model module is led to
Cross data accessing engine module and connect data base, described business model module is connected with data by service logic engine module and visits
Ask engine modules.
Specifically, custom block, this composer provides system data model to build work(in systems on-line manner
Can, by the configuration of user's front page layout, build data model module, service logic model module, view model module.
Model checking engine modules, this engine provides the function of model checking, its function in systems in the way of servicing
According to model corresponding verification rule, model is carried out with legitimacy verifies, export legal model.The interface extracting in data base is fixed
During justice, different model is existed with different model objects, and different models all corresponds to different rule it is ensured that system
Interface level adaptation to all of model.Verification rule enters line discipline verification by drools technology component.Model checking engine
It is the regular verification scheme calling this technology component, legal model is finally provided.
View rendering engine modules, this engine is executed to view model dynamic parsing wash with watercolours in systems in the way of servicing
Dye function pages.The base class app of each view model succession, the render method rewriteeing base class is it is ensured that rendering engine pair
The adaption function of each view model.Each page object can the self-defined rendering tool of itself, thus view pair
As all abstracting with rendering tool, each model object can have oneself independent change, and both pass through view model
Structure factory be managed, realize Dynamic Coupling, increase more motilities.
View model is the model having hierarchical relationship, and each model has the rendering tool of itself customization.Using regarding
During figure rendering engine parsing view model, just according to hierarchical relationship, the rendering intent of recursive call model, finally return that view mould
The corresponding view page based on html of type, finally shows user by the technology of freemarker.
Business enforcement engine module, this engine is executed in the way of servicing in systems and service logic model is dynamically solved
Analysis, generates conventional business function.Existed with different model in business rule model, the base class of each model is unified
It is ensured that business enforcement engine is to each model automatic adaptation.It is based on freemarker technology that service logic rule generates
Realize it is ensured that the extensibility of each business model, increase more motilities.
By the semantic analysis to business model, generate and can perform according to service logic model using business enforcement engine
Service logic;.
Data accessing engine module, this engine carries out additions and deletions according to generated service logic to data based on jdbc agreement
Change and look into operation.Data accessing engine provides the parsing of data model, according to the process of the business rule implementing result of association, and
The connection management, transaction management, configuration loading and the caching that provide data source are processed as the operation offer base of data accessing engine
The support of plinth.
By the semantic analysis to data model, data accessing engine is based on jdbc agreement according to generated service logic
Carry out additions and deletions to data and change looking into operation.
Ultimate principle and principal character and the advantages of the present invention of the present invention have been shown and described above.The technology of the industry
, it should be appreciated that the present invention is not restricted to the described embodiments, the simply explanation described in above-described embodiment and description is originally for personnel
The principle of invention, without departing from the spirit and scope of the present invention, the present invention also has various changes and modifications, these changes
Change and improvement both falls within scope of the claimed invention.Claimed scope by appending claims and its
Equivalent thereof.