MVC for Content Management on the Cloud
Total Page:16
File Type:pdf, Size:1020Kb
Calhoun: The NPS Institutional Archive Theses and Dissertations Thesis Collection 2011-09 MVC for content management on the cloud McGruder, Crystal A. Monterey, California. Naval Postgraduate School http://hdl.handle.net/10945/5552 NAVAL POSTGRADUATE SCHOOL MONTEREY, CALIFORNIA THESIS MVC FOR CONTENT MANAGEMENT ON THE CLOUD by Crystal A. McGruder September 2011 Thesis Advisor: Doron Drusinsky Co-Advisor: Man-Tak Shing Approved for public release; distribution is unlimited THIS PAGE INTENTIONALLY LEFT BLANK REPORT DOCUMENTATION PAGE Form Approved OMB No. 0704-0188 Public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instruction, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Washington headquarters Services, Directorate for Information Operations and Reports, 1215 Jefferson Davis Highway, Suite 1204, Arlington, VA 22202-4302, and to the Office of Management and Budget, Paperwork Reduction Project (0704-0188) Washington DC 20503. 1. AGENCY USE ONLY (Leave blank) 2. REPORT DATE 3. REPORT TYPE AND DATES COVERED September 2011 Master’s Thesis 4. TITLE AND SUBTITLE MVC for Content Management on the Cloud 5. FUNDING NUMBERS 6. AUTHOR(S) Crystal A. McGruder 7. PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES) 8. PERFORMING ORGANIZATION Naval Postgraduate School REPORT NUMBER Monterey, CA 93943-5000 9. SPONSORING /MONITORING AGENCY NAME(S) AND ADDRESS(ES) 10. SPONSORING/MONITORING N/A AGENCY REPORT NUMBER 11. SUPPLEMENTARY NOTES The views expressed in this thesis are those of the author and do not reflect the official policy or position of the Department of Defense or the U.S. Government. IRB Protocol number _______N/A_________. 12a. DISTRIBUTION / AVAILABILITY STATEMENT 12b. DISTRIBUTION CODE Approved for public release; distribution is unlimited 13. ABSTRACT (maximum 200 words) Cloud computing portrays a new model for providing IT services over the Internet. In cloud computing, resources are accessed from the Internet through web-based tools. Although cloud computing offers reduced cost, increased storage, high automation, flexibility, mobility, and the ability of IT to shift focus, there are other concerns—such as the management, organization and structure of content on the cloud—that large organizations should consider before migrating to the cloud. This thesis presents an overview of Model View Controller (MVC) architectural pattern and describes how the pattern can be applied to the cloud for content management. The MVC architecture is proposed in this thesis because it divides the aspects of a document into three parts: a model, view and controller, thus allowing elasticity, portability, and interoperability for document objects. The thesis presents a case study to illustrate how MVC can be used to facilitate document collaboration and content management in the cloud, and examines existing document standards to assess their readiness in supporting the MVC document architecture. 14. SUBJECT TERMS Cloud Computing, Model View Controller, Open Office XML, 15. NUMBER OF OpenDocument Format, Rich Text Format PAGES 75 16. PRICE CODE 17. SECURITY 18. SECURITY 19. SECURITY 20. LIMITATION OF CLASSIFICATION OF CLASSIFICATION OF THIS CLASSIFICATION OF ABSTRACT REPORT PAGE ABSTRACT Unclassified Unclassified Unclassified UU NSN 7540-01-280-5500 Standard Form 298 (Rev. 2-89) Prescribed by ANSI Std. 239-18 THIS PAGE INTENTIONALLY LEFT BLANK Approved for public release; distribution is unlimited MVC FOR CONTENT MANAGEMENT ON THE CLOUD Crystal A. McGruder Civilian, United States Navy B.S., University of Arkansas at Pine Bluff, 2006 Submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE IN SOFTWARE ENGINEERING from the NAVAL POSTGRADUATE SCHOOL September 2011 Author: Crystal A. McGruder Approved by: Doron Drusinsky Thesis Advisor Man-Tak Shing Co-Advisor Peter Denning Chair, Department of Computer Science i THIS PAGE INTENTIONALLY LEFT BLANK ii ABSTRACT Cloud computing portrays a new model for providing IT services over the Internet. In cloud computing, resources are accessed from the Internet through web-based tools. Although cloud computing offers reduced cost, increased storage, high automation, flexibility, mobility, and the ability of IT to shift focus, there are other concerns—such as the management, organization and structure of content on the cloud—that large organizations should consider before migrating to the cloud. This thesis presents an overview of Model View Controller (MVC) architectural pattern and describes how the pattern can be applied to the cloud for content management. The MVC architecture is proposed in this thesis because it divides the aspects of a document into three parts: a model, view, and controller, thus allowing elasticity, portability, and interoperability for document objects. The thesis presents a case study to illustrate how MVC can be used to facilitate document collaboration and content management in the cloud, and examines existing document standards to assess their readiness in supporting the MVC document architecture. iii THIS PAGE INTENTIONALLY LEFT BLANK iv TABLE OF CONTENTS I. CLOUD COMPUTING ...............................................................................................1 A. BACKGROUND ..............................................................................................1 B. THESIS OBJECTIVES ...................................................................................3 C. ORGANIZATION OF THESIS .....................................................................3 II. MODEL VIEW CONTROLLER ...............................................................................5 A. BACKGROUND ..............................................................................................5 B. MODEL VIEW CONTROLLER ARCHITECTURE OVERVIEW .........6 1. Model View Controller Distinct Elements .........................................9 a. View Element...........................................................................10 b. Controller Element ..................................................................11 c. Model Element ........................................................................11 2. Class Diagram for the MVC Pattern ...............................................13 C. EXAMPLES OF MVC APPLICATIONS ...................................................13 1. Synchronized Disaster Response Version 1.0 ..................................13 2. Information Service System of Cooperative Marketing of Tobacco Industry ...............................................................................17 3. Operating Auditing System ...............................................................20 4. Desktop Applications with Web Services ........................................21 III. APPLYING MVC TO CONTENT MANAGEMENT ON THE CLOUD ...........25 A. BENEFITS FOR APPLYING MVC TO CONTENT IN THE CLOUD ..26 B. USE CASE ANALYSIS .................................................................................26 1. Work Request Report Collaboration ...............................................27 a. Actors .......................................................................................28 b. Use Cases and Scenarios ........................................................28 c. New Requirement for Work Request Document ....................33 2. Update of the Organization Logo .....................................................36 C. REQUIREMENTS OF THE WORK REQUEST DOCUMENTS ...........37 1. Functional Requirements ..................................................................37 2. Non-Functional Requirements ..........................................................40 D. CLOUD DOCUMENTS CLASS DIAGRAM .............................................40 1. Work Request Class Diagram...........................................................40 2. Work Request Package Diagram .....................................................41 IV. DOCUMENT STANDARDS IN SUPPORT OF MVC ..........................................43 A. EXISITNG OPEN DOCUMENT STANDARDS ........................................43 1. Office Open XML ..............................................................................43 2. ODF .....................................................................................................45 3. Rich Text Format ...............................................................................47 B. EVALUATION OF EXISTING STANDARDS ..........................................47 1. Evaluation of OOXML ......................................................................47 2. Evaluation of ODF .............................................................................48 3. Evaluation of RTF .............................................................................50 v C. SUMMARY OF FINDINGS .........................................................................52 V. CONCLUSION ..........................................................................................................53 A. THESIS SUMMARY .....................................................................................53 B. FUTURE WORK ...........................................................................................53 LIST OF REFERENCES ......................................................................................................55