CN101799755A - Business related item file management method - Google Patents
Business related item file management method Download PDFInfo
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 64
- 238000011161 development Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 claims description 9
- 238000004458 analytical method Methods 0.000 claims description 3
- 230000007613 environmental effect Effects 0.000 claims description 3
- 238000002360 preparation method Methods 0.000 claims description 3
- 238000000926 separation method Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 31
- 230000008878 coupling Effects 0.000 abstract 1
- 238000010168 coupling process Methods 0.000 abstract 1
- 238000005859 coupling reaction Methods 0.000 abstract 1
- 238000000034 method Methods 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- HJUFTIJOISQSKQ-UHFFFAOYSA-N fenoxycarb Chemical compound C1=CC(OCCNC(=O)OCC)=CC=C1OC1=CC=CC=C1 HJUFTIJOISQSKQ-UHFFFAOYSA-N 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
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
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:
The JAVA development environment of .JDK is housed on user's developing engine, and version is more than 5.0
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:
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;
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:
The JAVA development environment of JDK is housed on user's developing engine, and version is more than 5.0
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:
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.
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:
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:
The JAVA development environment of JDK is housed on user's developing engine, and version is more than 5.0
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:
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;
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.
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)
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 |
-
2010
- 2010-01-05 CN CN201010011409A patent/CN101799755A/en active Pending
Cited By (4)
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 |