Research & Implementation of Content Query Language for Content Management System
- Author
- ZhangLiang
- Advisor
- JiangLiHong
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 125
- Citations
- 0
Abstract
With the development of the Enterprise Information Technology, more and more data are generated from day-to-day business operation. According to statistic, only 15% of the data are structured, while 85% of the data are unstructured. Such a large amount of data is distributed across the enterprise. How to efficiently make use of the data is a problem. Content management system (CMS) is designed for the enterprise managing and using the unstructured data. But CMS is new to the market and it is not perfect. Corporate customers will continue to introduce new CMS needs and the application based on the CMS will be more and more complicated. On the other hand, in the implementation of CMS, fast and flexible to meet the needs of customers is required. And customization should be simple, short cycle, and with high efficiency. Systems itself should be easy to maintain. For CMS, this is a big challenge.This paper analyzes the development path of the CMS and points out the development trend and critical technologies for the CMS. Later, an object/content mapping framework was proposed, in this framework, an object oriented CMS data model and an object persistent solution are designed. Based on CMS data model, the focus of this paper Content Query Language (CQL) is presented. This language can operate on the ojects in CMS directly. The syntax of the language was presented and the compiler program which explains how to compile the CQL into SQL is also designed in this paper. The design and Implementation of CQL is based on the compiler theory, O/R Mapping,JSR-170, ANTLR etc.In this paper, the following research has been done:1. An object/content mapping framework was proposed. In this framework, the research of the object-oriented technology and O/R Mapping related theory is done. A CMS data model is built based on object-oriented technology, and an object persistent solution is proposed. XML is introduced to describe the CMS data model. A JSR-170 compliant standard CM API implemetation is proposed.2. The syntax of CQL is presented. The compiler related theory is researched. Combined with CM data model and based on ANTLR tool, the theory and design of CQL is proposed. The design includes Lexer, CQL tree construction, intermediate SQL tree construction and SQL generation.3. Based on standard J2EE platform, the CQL compiler is implemented. By using CQL and CM API, a simple CMS prototype was implemented to demonstrate the application of CQL in the actual project. And the effects of CQL in system maintenance and applications development are analyzed. The results of the research can be used to enhance the flexibility and scalability of the application of the CMS. Reduce the complex of the CMS maintenance. Improve the efficiency for the customization of CMS.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter 1 Overview 10-15
1.1 Background 10-12 < br /> 1.2 content management system is a key technology 12-14
1.3 of the purpose and significance 14
1.4 content of this study and organizational structure 14 - 15
Chapter 2 related theory and technology 15-29
2.1 content Management system Features 15-17
2.1.1 storage Structure 15 < br /> 2.1.2 logical structure 15
2.1.3 content Classification 15-16
2.1.4 version control 16
2.1.5 access control 16-17
2.1.6 workflow 17
2.1.7 lifecycle 17
2.1.8 content Query 17
2.2 Java Content Repository API 17-19
2.2.1 JSR - 170 meaning 17-18
2.2.2 JSR-170 data model 18
2.2.3 JSR-170 API Profile 18-19
2.3 Object Relational Mapping 19-23
2.3.1 O / R Mapping role 19-20
2.3.2 O / R Mapping model 20-23
2.3.2.1 inheritance 20-22
2.3.2.2 relationship 22-23
2.4 ANTLR language recognition tools 23-26
2.4.1 ANTLR Profile 23
2.4.2 lexical analyzer 23-24
2.4.3 parser 24-25
2.4.4 abstract syntax tree walker 25-26
2.5 related theories and technologies analysis Summary 26-29
Chapter 3 object / content mapping framework study design 29-39
3.1 object / content mapping framework of the basic concepts of 29 < br /> 3.2 content Management System ORM program design 29-32
3.2.1 inheritance model storage solutions 29-31
3.2.2 multi-value data storage solutions 31-32
3.3 content management system data model design 32-34
3.3.1 content Management System underlying data model 32-33
3.3. 2 Data model Description 33-34
3.4 data model based content management API defines 34-39
Chapter 4 Content query Language design 39-66
4.1 content query language syntax 39-42
4.1.1 query object 39-40
4.1.2 creating objects 40-41 <br / > 4.1.3 update object 41-42
4.1.4 deleting objects 42
4.2 lexical analysis 42-46
4.3 parsing 46-58
4.3.1 build CQL syntax tree 46-51
4.3.2 build intermediate SQL syntax tree 51-58
4.4 code generation 58-62
4.5 Access Control 62-63
4.6 file operations 63-64
4.7 update 64-66 < br /> content query Language Chapter 5 implementation and Application 66-83
5.1 CQL compiler implements 66-68
5.1.1 Java compiler interface generation 66-67
5.1.2 CQL compiler to achieve 67-68
5.2 content Management API to achieve 68-71
5.3 overall site structure and information dissemination functions 71-73
5.3.1 site architecture 71-72
5.3.2 site features 72-73
5.4 key technology information dissemination website 73-78
5.4.1 document Type Definition 73-74
5.4.2 site information display to achieve 74-78
5.5 system interface and related applications 78-81
5.6 content query Language application analysis 81-83
Chapter 6 Summary and Outlook 83-85
6.1 Summary 83
6.2 Prospects 83-85
References 85-87
Thanks 87-88
Shanghai Jiaotong University degree thesis written resolutions 88
Related dissertations
- Research on Key Technology of Content Management, Orienting Collaborative-created Streaming
- Research and Implementation on Conversion Framework of Test Scripts Based on Reverse Engineering
- Design and Implementation of A Monitoring Probe Description Language and Compiler
- The Design and Implementation of ANTLR-Based TTCN-3 Parser
- Non negative pressure water pump monitoring system design and implementation of SCADA software
- Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store
- Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
- The Design and Implementation of a Complier for SCADA Based on C
- Backend Porting for CSKY Based on LLVM Compiler Infrastructure
- Design and application of J2EE persistence layer framework DR-ORM
- Design and Implementation of Informatization Management System of Enterprise
- The Design and Development of Shaanxi Primary and Secondary School Teachers Training Management System
- The Design and Implementation of the Automatic Broadcast Scheduling System
- The Design and Implementation of Community Management System
- Distributed Information Play and Platform of Search and Management
- An Information Service Platform for Professional-town Based on Content Management
- Object/Relation Mapping Based on XML in Printing Information Management System
- Design and Implementation of the Online Net Police System Based on SSH
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- The Embedded SRAM Compiler Design and IP Verification