A Method for a Small Web Site to Add Some Video Sharing Features
Total Page:16
File Type:pdf, Size:1020Kb
LiU-ITN-TEK-A--08/013--SE A method for a small web site to add some video sharing features Juan Lucas Madurga Martín-Serrano 2008-01-31 Department of Science and Technology Institutionen för teknik och naturvetenskap Linköping University Linköpings Universitet SE-601 74 Norrköping, Sweden 601 74 Norrköping LiU-ITN-TEK-A--08/013--SE A method for a small web site to add some video sharing features Examensarbete utfört i datavetenskap vid Tekniska Högskolan vid Linköpings unversitet Juan Lucas Madurga Martín-Serrano Examinator Bengt Lennartsson Norrköping 2008-01-31 Upphovsrätt Detta dokument hålls tillgängligt på Internet – eller dess framtida ersättare – under en längre tid från publiceringsdatum under förutsättning att inga extra- ordinära omständigheter uppstår. Tillgång till dokumentet innebär tillstånd för var och en att läsa, ladda ner, skriva ut enstaka kopior för enskilt bruk och att använda det oförändrat för ickekommersiell forskning och för undervisning. Överföring av upphovsrätten vid en senare tidpunkt kan inte upphäva detta tillstånd. All annan användning av dokumentet kräver upphovsmannens medgivande. För att garantera äktheten, säkerheten och tillgängligheten finns det lösningar av teknisk och administrativ art. Upphovsmannens ideella rätt innefattar rätt att bli nämnd som upphovsman i den omfattning som god sed kräver vid användning av dokumentet på ovan beskrivna sätt samt skydd mot att dokumentet ändras eller presenteras i sådan form eller i sådant sammanhang som är kränkande för upphovsmannens litterära eller konstnärliga anseende eller egenart. För ytterligare information om Linköping University Electronic Press se förlagets hemsida http://www.ep.liu.se/ Copyright The publishers will keep this document online on the Internet - or its possible replacement - for a considerable time from the date of publication barring exceptional circumstances. The online availability of the document implies a permanent permission for anyone to read, to download, to print out single copies for your own use and to use it unchanged for any non-commercial research and educational purpose. Subsequent transfers of copyright cannot revoke this permission. All other uses of the document are conditional on the consent of the copyright owner. The publisher has taken technical and administrative measures to assure authenticity, security and accessibility. According to intellectual property law the author has the right to be mentioned when his/her work is accessed as described above and to be protected against infringement. For additional information about the Linköping University Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its WWW home page: http://www.ep.liu.se/ © Juan Lucas Madurga Martín-Serrano Summary/Abstract: The aim of this diploma work is to compare and evaluate different methods to enable small web sites to make available videos which will be shared the users. Storage and bandwidth problems of small web sites are taken into account. The requirements of the system were defined as: configurable, feasible, easy use and easy to integrate. Existing solutions and different implementation alternatives are analyzed. With a tool based upon a CMS, using recordings residing on powerful dedicated video providers and with AJAX “technology”, the criteria are fulfilled. As part of the investigation, a prototype tool based upon TYPO3 has been implemented. 1 Content Summary/Abstract: ..............................................................................................................................1 Content.................................................................................................................................................2 1 Introduction..................................................................................................................................3 1.1 Background:.........................................................................................................................3 1.2 Purpose of the thesis: ...........................................................................................................3 2 State of Art...................................................................................................................................4 3 Definition of problem scenario. Study of alternatives .................................................................6 3.1 Methodology ........................................................................................................................6 3.2 Scenario................................................................................................................................6 3.3 System characteristics..........................................................................................................6 3.3.1 Feasible ........................................................................................................................6 3.3.2 Easy integration............................................................................................................6 3.3.3 Easy configuration .......................................................................................................7 3.3.4 Easy use........................................................................................................................7 3.4 Alternatives and decisions ...................................................................................................7 3.4.1 Feasible ........................................................................................................................7 3.4.2 Easy Integration ...........................................................................................................8 3.4.3 Easy configuration .....................................................................................................11 3.4.4 Easy use......................................................................................................................11 3.4.5 Existing solutions analysis.........................................................................................13 4 System development life cycle ..................................................................................................14 4.1 Methodology ......................................................................................................................14 4.2 Requirements .....................................................................................................................14 4.2.1 Functional requirements.............................................................................................14 4.2.2 Non functional requirements......................................................................................15 4.3 Use cases diagram..............................................................................................................16 4.4 Use case description...........................................................................................................17 4.5 Construction.......................................................................................................................21 4.5.1 High-Level Design.....................................................................................................21 4.5.1.1 Conceptual model ..................................................................................................21 4.5.1.2 System sequence diagram:.....................................................................................22 4.5.1.3 Contracts ................................................................................................................23 4.5.2 Low-Level Design......................................................................................................25 4.5.2.1 Architecture: Model-View-Controller: ..................................................................25 4.5.2.2 Interactions diagrams .............................................................................................26 4.5.2.3 Classes Diagram.....................................................................................................32 4.5.2.4 ER Diagram............................................................................................................33 4.5.3 Implementation ..........................................................................................................34 4.6 Demonstration....................................................................................................................37 5 Conclusions................................................................................................................................49 References..........................................................................................................................................50 2 1 Introduction 1.1 Background: An already built small web site allows exchange of information between users groups with something in common. These users share interests, ideas, knowledge or simply live in the same geographic zone. The administrators want to promote the web site providing new complementary services. A good alternative may be sharing videos. Size of video files may cause storage and bandwidth problems. The small web site does not have a big amount of resources to solve them. Having a big group of developers is not possible; therefore any changes made in the current site should be easy to integrate and not problematic. Which