CN101799755A - Business related item file management method - Google Patents

Business related item file management method Download PDF

Info

Publication number
CN101799755A
CN101799755A CN201010011409A CN201010011409A CN101799755A CN 101799755 A CN101799755 A CN 101799755A CN 201010011409 A CN201010011409 A CN 201010011409A CN 201010011409 A CN201010011409 A CN 201010011409A CN 101799755 A CN101799755 A CN 101799755A
Authority
CN
China
Prior art keywords
file
view
project
cdata
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010011409A
Other languages
Chinese (zh)
Inventor
孙福森
曹祥茂
李向阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Langchao Qilu Software Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Langchao Qilu Software Industry Co Ltd filed Critical Langchao Qilu Software Industry Co Ltd
Priority to CN201010011409A priority Critical patent/CN101799755A/en
Publication of CN101799755A publication Critical patent/CN101799755A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a business related item file management method, which comprsies the following steps of developing through relying on an IBM Eclipse platform and a CNF framework and coupling physically separated item files by using the business functions as a core, so that the business relevance file management is provided for users,a business function related item management view is realized, and the view manages the item files in a business function mode. The view corresponding each function comprises corresponding files such as a corresponding model file, a java file, a jsp file, a js file, a css file, a xml file and the like, each business function is used as a system module to be singly managed and independently issued, the plugging and unplugging type loading and unloading is realized, and the view does not damage the original file storage mode and is compatible to the original system in a seamless way.

Description

The item file management method that a kind of business is relevant
Technical field
The present invention relates to field of software development, main towards j2ee field of software development based on the osgi framework.The item file management method that specifically a kind of business is relevant.
Background technology
Along with the continuous development of informationization technology, the continuous evolution of the various theories of soft project, various SDK (Software Development Kit) also occur thereupon.But no matter use which kind of development approach, use which kind of developing instrument, the way to manage of item file does not all have too big variation.Everybody at first uses developing instrument to create a soft project, creates the file of the needed various java files of software project, jsp file, css file, javascript file, html file, classpath file, project file, MAINFEST.MF file etc. type then in this soft project.Search for convenience and issue, these files normally leave in respectively in the different file directorys according to file type.Because each business function all has associated documents such as corresponding with it java file, jsp file, js file, xml file, but these files are to leave in the different file directorys, physical file and business function do not realize that one well merges with unified, this has just increased difficulty to user's understanding system and to the maintenance of system, is unfavorable for the quick exploitation of software.
Because software development has professional correlativity, no matter how software development methodology becomes, uses which kind of developing instrument, ten thousand method normalizings, the realization of final software can implement on the series of physical file, and then corresponds in the middle of each concrete business function.But in the middle of current development mode, the file in the project is deposited by file type, and this advantage of depositing is the management that can classify the documents, and can unify to handle when issue, compiling.But it also has a shortcoming clearly, that exactly when the user when carrying out system maintenance, need arrive and search the file relevant in a lot of files with business function, this has just increased difficulty and the workload safeguarded unavoidably.And because the life cycle of soft project is longer, under big number situation, be not system to be safeguarded by initial software developer, but arrange special maintainer that system is safeguarded in addition, the maintainer during system, needs to understand existing software systems at catcher, this software function and storage mode inconsistent, also can cause difficulty, be unfavorable for the carrying out of maintenance work maintainer's understanding system.
The Chinese and English term contrast of using in the article is as follows:
ECLIPSE is the Software Development Platform of IBM Corporation; JAVA is a Java; JSP (JavaServerPages) is the dynamic web page technique standard; HTML (HyperTextMark-upLanguage) is a HTML (Hypertext Markup Language); CNF is the general framework of browsing; XML is visual exhibition SGML; JavaScript is the Javascript script; CSS is a CSS (cascading style sheet).
Summary of the invention
The purpose of this invention is to provide a visual file management interface, the file resource in the project is represented to the user in the mode that meets the software operation logic, be different from traditional management mode relevant with file system.And provide visualization tools such as a series of guides, menu, for operations such as the establishment of item file, packing, issue provide effective support.Promptly represent unified combining, effectively solve the problem that prior art exists by logic with software function and file.
The objective of the invention is to realize in the following manner, rely on Eclipse platform and the CNF framework of IBM to develop, with the item file of physical separation is that core is coupled with the business function, the file management project management view relevant with business function with realization of professional correlativity is provided for the user, this view is managed item file according to the mode of business function, comprise corresponding model file under each function, the java file, the jsp file, the js file, the css file, corresponding documents such as xml file, each business function is all as a system module, management separately, independent issue, realize the loading and unloading of plug-in, this view does not destroy original document storage pattern and original system carries out seamless compatibility, and technology precondition and environmental preparation are as follows:
Figure G2010100114095D00021
The JAVA development environment of .JDK is housed on user's developing engine, and version is more than 5.0
Figure G2010100114095D00022
The Eclipse development platform is housed on user's developing engine, and version is more than the 3.3.2
Concrete solution and performing step are as follows:
Figure G2010100114095D00023
In the Eclispe platform, create the item file management project;
File in this project unified management project is mainly used in the analysis project file, and file type is managed by business function, provides the item file administration view for the user management and the project that develops software;
Figure G2010100114095D00024
This technology has defined the extension point of two Eclipse, by these extension points, project management is looked
A constraint and standard are done in the parsing of figure and definition, are the definition of project management view extension point below:
<!ELEMENT?extension(view)*>
<!ATTLIST?extension(view)
poiht?CDATA?#REQUIRED
>
The id of point-extension point is worth and is
org.loushang.studio.ui.navigator.viewers
The definition of View element:
<!ELEMENT?view()>
<!ATTLIST?view
id CDATA?#REQUIRED
name CDATA?#REQUIRED
category IDREF?#IMPLIED
class CDATA?#REQUIRED
icon CDATA?#IMPLIED
>
The id of id-project management view example, this value must be unique
The title of name-project management view
Classification under the category-
The realization class of class-project management view.Such must realize interface org.loushang.studio.ui.navigato.IViewPart.
The pairing icon of icon-project management view
Contents of a project extension point is as the content provider of project management view, its major function is that the form according to standard provides the project management view institute can content identified, the logic that the User Defined file represents, and net result shown by the project management view;
<!ELEMENT?extension(( navigatorContent))>
<!ATTLIST?extehsion
point?CDATA#REQUIRED
>
The id of point-extension point,
Value is org.loushang.studio.ui.navigator.navigatorContent
<!ELEMENT?navigatorContent()>
<!ATTLIST?navigatorContent
id CDATA?#REQUIRED
name CDATA?#REQUIRED
contentProvider CDATA?#REQUIRED
icon CDATA?#IMPLIED
labelProvider CDATA?#REQUIRED>
The id-content provides the id of device example, and this id must be unique;
The name-content provides the name of device example;
The contentProvider-content provides the realization class of device.Such must realize that interface org.loushang.studio.ui.navigator.ICommonContentProvider. labelProvider-label provides the realization class of device.Such must realize interface org.loushang.studio.ui.navigator.IcommonLabelProvider.
Illustrate that beneficial effect is to the invention provides an integrated item file administration view, with the file in the project is organically management of core with the business function, by a series of navigational aids, can create a series of associated documents such as the required model file of project, Java file, jsp file, xml file easily.By visual strapping tool, each business function can be broken into independent issued jar bag, again by the issue instrument, this business function is issued.This patent provides a cover general mechanism and a framework, allows the developer to carry out the exploitation based on the project management view, integrated and expansion very easily.
This patent has improved the reusability of software greatly by the corresponding extension point of definition, and the user can extended view, so just makes the user can reuse existing project management view content and operation, and need not carry out exploitation again.The user can develop the project management view of oneself in addition, can reuse a large amount of existing project management view contents in the performance history, and such as Resource, the content that defines in the Java isometric drawing reaches the purpose of high reusability.
This patent has very high dirigibility, according to predefined constraint criteria, improvement on the different software versions function can take more flexible way to carry out, and new function, new menu operation, new displaying content can be integrated be very easily advanced in the existing project management view.
Use the present technique user can break away from the constraint of item file physics deposit position, and organize according to the service logic that is more readily understood.New organizational form meets common thinking habit, and simple, intuitive greatly facilitates the work of user's understanding system and maintenance system.
Description of drawings
Fig. 1 is the processing flow chart that the project management view represents.
Embodiment
Rely on Eclipse platform and the CNF framework of IBM to develop, with the item file of physical separation is that core is coupled with the business function, the file management project management view relevant with business function with realization of professional correlativity is provided for the user, this view is managed item file according to the mode of business function, comprise corresponding model file under each function, the java file, the jsp file, the js file, the css file, corresponding documents such as xml file, each business function is all as a system module, management separately, independent issue, realize the loading and unloading of plug-in, this view does not destroy original document storage pattern and original system carries out seamless compatibility, and the precondition and the environmental preparation of the technology of the present invention are as follows:
Figure G2010100114095D00041
The JAVA development environment of JDK is housed on user's developing engine, and version is more than 5.0
Figure G2010100114095D00042
The Eclipse development platform is housed on user's developing engine, and version is more than the 3.3.2
A) solution of this technology and performing step are as follows:
Figure G2010100114095D00043
In the Eclispe platform, create the item file management project.
File in this project unified management project is mainly used in the analysis project file, and file type is managed by business function, provides the item file administration view for the user management and the project that develops software.
Figure G2010100114095D00044
This technology has defined the extension point of two Eclipse, by these extension points, can do a constraint and standard to the parsing and the definition of project management view.
Be the definition of project management view extension point below:
<!ELEMENT?extension(view)*>
<!ATTLIST?extension(view)
point?CDATA?#REQUIRED
>
The id of point-extension point is worth and is
·org.loushang.studio.ui.navigator.viewers
The definition of View element:
<!ELEMENT?view()>
<!ATTLIST?view
id CDATA?#REQUIRED
name CDATA?#REQUIRED
category IDREF?#IMPLIED
class CDATA?#REQUIRED
icon CDATA?#IMPLIED
>
The id of id-project management view example, this value must be unique
The title of name-project management view
Classification under the category-
The realization class of class-project management view.Such must realize interface org.loushang.studio.ui.navigato.IViewPart.
The pairing icon of i con-project management view
Contents of a project extension point is as the content provider of project management view, its major function is that the form according to standard provides the project management view institute can content identified, the logic that the user can self-defined file represents, and net result shown by the project management view.
<!ELEMENT?extension(( navigatorContent))>
<!ATTLIST?extension
point?CDATA?#REQUIRED
>
The id of point-extension point,
Value is org.loushang.studio.ui.navigator.navigatorContent
<!ELEMENT?navigatorContent()>
<!ATTLIST?navigatorContent
id CDATA?#REQUIRED
name CDATA?#REQUIRED
contentProvider CDATA?#REQUIRED
icon CDATA?#IMPLIED
labelProvider CDATA?#REQUIRED>
The id-content provides the id of device example, and this id must be unique.
The name-content provides the name of device example.
The contentProvider-content provides the realization class of device.Such must realize that interface org.loushang.studio.ui.navigator.ICommonContentProvider. labelProvider-label provides the realization class of device.Such must realize interface org.loushang.studio.ui.navigator.ICommonLabelProvider.
Below the used realization class of project management view is done explanation:
Figure G2010100114095D00061
The realization class of development project administration view.
Such can directly realize org.loushang.studio.ui.navigator.IViewPart, and this practice is comparatively complicated.So recommend everybody from framework provided
The org.loushang.studio.ui.navigator.IViewPart abstract class begins to inherit.This class has realized the function of most of IViewPart, and provides quite a lot of methods available.
Such main method is described as follows:
Init (IViewSite site): initialization project management view.For example assigned work space, analytical range etc.
CreatePartControl (Composite parent): the interface control of creating view.
The exploitation content provides the realization class of device.Such must realize interface org.loushang.studio.ui.navigator.ICommonContentProvider.Such can be resolved the file in the project according to the needed logic of user, and returns corresponding results.Such main method is described as follows:
Init (ICommonContentExtensionSite aConfig): the initialization content provides device.
GetChildren (Object parentElement):, resolve and return corresponding subobject according to the parent object that imports into
GetParent (Object element): the parent object that obtains appointed object.
HasChildren (Object element): judge whether certain object has subobject.
The exploitation label provides the realization class of device, and such must realize interface
org.loushang.studio.ui.navigator.ICommonLabelProvider。Such can define shown content and the employed icon of each node in the project administration view, the appearance of customization project administration view.
Such main method is described as follows:
GetImage (Object element): the icon that returns the node object
GetText (Object element): the content of text that returns the node object.

Claims (1)

1. the relevant item file management method of a business, it is characterized in that, rely on Eclipse platform and the CNF framework of IBM to develop, with the item file of physical separation is that core is coupled with the business function, the file management project management view relevant with business function with realization of professional correlativity is provided for the user, this view is managed item file according to the mode of business function, comprise corresponding model file under each function, the java file, the jsp file, the js file, the css file, corresponding documents such as xml file, each business function is all as a system module, management separately, independent issue, realize the loading and unloading of plug-in, this view does not destroy original document storage pattern and original system carries out seamless compatibility, and technology precondition and environmental preparation are as follows:
Figure F2010100114095C00011
The JAVA development environment of JDK is housed on user's developing engine, and version is more than 5.0
Figure F2010100114095C00012
The Eclipse development platform is housed on user's developing engine, and version is more than the 3.3.2
Concrete solution and performing step are as follows:
Figure F2010100114095C00013
In the Eclispe platform, create the item file management project;
File in this project unified management project is mainly used in the analysis project file, and file type is managed by business function, provides the item file administration view for the user management and the project that develops software;
Figure F2010100114095C00014
This technology has defined the extension point of two Eclipse, by these extension points, a constraint and standard is done in the parsing and the definition of project management view, is the definition of project management view extension point below:
<!ELEMENT?extension(view)*>
<!ATTLIST?extension(view)
point?CDATA?#REQUIRED
>
The id of point-extension point is worth and is
org.loushang.studio.ui.navigator.viewers
The definition of View element:
<!ELEMENT?view()>
<!ATTLIST?view
id CDATA#REQUIRED
name CDATA#REQUIRED
category IDREF#IMPLIED
class CDATA#REQUIRED
icon CDATA#IMPLIED
>
The id of id-project management view example, this value must be unique
The title of name-project management view
Classification under the category-
The realization class of class-project management view.Such must realize interface org.loushang.studio.ui.navigato.IViewPart.
The pairing icon of icon-project management view
Contents of a project extension point is as the content provider of project management view, and its major function is that the form according to standard provides the project management view institute can content identified, the logic that the User Defined file represents,
And net result shown by the project management view;
<!ELEMENT?extension(( navigatorContent))>
<!ATTLIST?extension
point?CDATA#REQUIRED
>
The id of point-extension point,
Value is org.loushang.studio.ui.navigator.navigatorContent
<!ELEMENT?navigatorContent()>
<!ATTLIST?navigatorContent
id CDATA?#REQUIRED
name CDATA#REQUIRED
contentProvider CDATA#REQUIRED
icon CDATA#IMPLIED
labelProvider CDATA#REQUIRED>
The id-content provides the id of device example, and this id must be unique;
The name-content provides the name of device example;
The contentProvider-content provides the realization class of device.Such must realize that interface org.loushang.studio.ui.navigator.ICommonContentProvider. labelProvider-label provides the realization class of device.Such must realize interface org.loushang.studio.ui.navigator.IcommonLabelProvider.
CN201010011409A 2010-01-05 2010-01-05 Business related item file management method Pending CN101799755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010011409A CN101799755A (en) 2010-01-05 2010-01-05 Business related item file management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010011409A CN101799755A (en) 2010-01-05 2010-01-05 Business related item file management method

Publications (1)

Publication Number Publication Date
CN101799755A true CN101799755A (en) 2010-08-11

Family

ID=42595444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010011409A Pending CN101799755A (en) 2010-01-05 2010-01-05 Business related item file management method

Country Status (1)

Country Link
CN (1) CN101799755A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722370A (en) * 2012-05-24 2012-10-10 南京华设科技股份有限公司 Modular development method for Android
CN104504146A (en) * 2015-01-05 2015-04-08 浪潮(北京)电子信息产业有限公司 Classified management method and system for data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722370A (en) * 2012-05-24 2012-10-10 南京华设科技股份有限公司 Modular development method for Android
CN102722370B (en) * 2012-05-24 2016-05-25 南京华设科技股份有限公司 Android Development of Modular method
CN104504146A (en) * 2015-01-05 2015-04-08 浪潮(北京)电子信息产业有限公司 Classified management method and system for data
CN104504146B (en) * 2015-01-05 2018-01-30 浪潮(北京)电子信息产业有限公司 A kind of data sort management method and system

Similar Documents

Publication Publication Date Title
Canfora et al. Achievements and challenges in software reverse engineering
Jirapanthong et al. Xtraque: traceability for product line systems
JP5911594B2 (en) Providing translation support for application localization
Palanque et al. Formal methods in Human-computer interaction
US8667394B1 (en) System for generating an intelligent cross-platform document
CN102819561B (en) Picture display method and device based on webpage
US9122762B2 (en) Method and system to maintain a web page
AU2005225968A1 (en) A forms development platform
CN110309386B (en) Method and device for crawling web page
Paternò et al. Engineering the authoring of usable service front ends
CN104424265A (en) Digital resource management method and system
CN102520966A (en) Method for prompting codes and device
CN104657142A (en) CCFD (China Computational Fluid Dynamics) system based on OSGi (Open Service Gateway Initiative) technology
CN113900636A (en) Self-service channel business process development system and development method thereof
CN103810292A (en) Method and device for configuring graphical interface
Cox et al. SISSVoc: A Linked Data API for access to SKOS vocabularies
Holzinger et al. Applying Model-View-Controller (MVC) in design and development of information systems: An example of smart assistive script breakdown in an e-business application
CN101799755A (en) Business related item file management method
US10902028B2 (en) Managing a classification system and associated selection mechanism
Tietz et al. Task-based recommendation of mashup components
Lyman Pro Zend Framework Techniques
Kosower et al. Flowgen: Flowchart-based documentation for C++ codes
Zisman Using rules for traceability creation
Duan An approach for modeling business application using refined use case
Zhou et al. Design and implementation of mobile widget composition framework and tool for end-user

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100811