Video report


Published on

project report on project video-world which helps user to upload and download videos

Published in: Software, Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Video report

  1. 1. 2014 1 COMPANY PROFILE HCL began an exciting journey more than three decades ago with a dream to give India its very own microcomputer. The sheer clarity of vision and hard work led to a revolution and laid a foundation for the Indian IT industry, which has today acquired a distinct position amongst major economies in the world. Today HCL is a USD 5 billion global enterprise and Ajay Choudhary one of the founder members has been the key force in driving the growth of HCL and today leads, HCL Info systems the flagship company. HCL Info systems, the flagship company of the HCL enterprise, had a turnover of Rs. 400.6 crores (USD 85 million) in 1994 which underwent tremendous growth to become Rs. 10,901 crores (USD$ 2.4 billion) today. Employing - 7762 people, the company has today emerged not only as the country’s information-enabling powerhouse but a great place to work with industry accolades and awards received year after year. HCL Info systems have a long standing history of being involved ever since the inception of the IT Industry in the country. When government was seeking collaboration, HCL Info systems were one of the first to partner in laying down the IT infrastructure in India from something as basic as introducing a computer in the remotest part of the country. In a developing country like ours where we are leapfrogging to match the pace of developed global economies, ICT is rapidly becoming the core of any intelligent infrastructure and HCL Info systems has developed customized & efficient system integration solutions designed to fuel the Indian growth engine. With relentless efforts to fuel the PC market, HCL Info systems has been acting as a catalyst for affordable & economical computing. Today HCL Info systems has become one of the leading System Integration Company in the country, implementing several turnkey Systems and Networking Integration projects nationwide and across most of the vertical business segments. HCL Info systems is uniquely poised today in the market making it the only company with India as its primary focus, offering state of the art technology solutions to empower a host of Defence , Homeland Security frameworks, social sectors and government schemes for Nation building. HCL Info systems has being powering numerous projects across sectors like Defence, Homeland Security, Airport & Railways Intelligent Infrastructure, Telecom, Banking, Public Distribution System, E-governance, Education, NREGA etc. With global expansion and sharing best practices with the world and in particular developing markets, the company is
  2. 2. 2014 2 today strategically expanding in markets like Middle East, Southeast Asia and Africa. The company has developed more than 30 IP products to serve different segments of the markets backed by various hardware and software services. HCL today has India's largest vertically integrated computer manufacturing facility with over three decades of electronic manufacturing experience & HCL desktops is the largest selling brand into the enterprise space. With India’s largest ICT services network that reaches to every corner of India, HCL’s award winning Support Services makes it the preferred choice of enterprise and consumers alike. HCL Info systems have a 100% subsidiary that addresses the physical security technology system integration market. The subsidiary leverages technology to build a security framework called ‘Safe State’ that safe guard’s life, infrastructure & society.
  3. 3. 2014 3 VISION AND MISSION A global corporation enriching lives and enabling business transformation for our customers, with leadership in chosen technologies and markets. Be the first choice for employees and partners, with commitment to sustainability. We enable business transformation and enrichment of lives by delivering sustainable world class technology Products, Solutions & Services in our chosen markets thereby creating superior shareholder value. We shall deliver defect free products, services and solutions to meet the requirements of our external and internal customers the first time, every time.
  4. 4. 2014 4 Contact Details: HCL Info systems Limited Learning Division C-133, Industrial Area, Phase-8, Mohali (Punjab) Tel: 0172-5044469, 79 Fax: 0172-5007798
  5. 5. 2014 5 FRONT END: Java is a general purpose and the most popular object-oriented programming language. Java was developed by James Gosling and his colleagues at Sun Microsystems in the early 1990’s. Due to its simplicity and easy to learn and advanced features, we opted this language for our six months industrial training. This language supports many interesting features that make it an ideal language for software development. In addition to the object oriented features, it also provides features such as platform independence, security, multithreading, portability; etc which makes it well suited for the web and networked services, applications, platform- independent desktops, robotics and any other embedded devices. Features of Java: Dynamic & Extensible Architectural Neutral Secure Simple Robust Distributed Compiled and Interpreted PortableObject-oriented JAVA FEATURES Multi Threaded High Performance
  6. 6. 2014 6  Simple: Java is a compact and simple language. Programs are easy to write and debug as it omits many clumsy, poorly understood and confusing features of other programming languages such as C++.  Object-oriented: Java is purely object-oriented language because programming in java is centered on creating objects; manipulating objects and making objects work together.  Distributed: Java is a distributed language which means that the programs can be designed to run on computer networks. Java provides an extensive library of classes for communicating using TCP/IP protocols such as HTTP and FTP. This makes creating network connections much easier.  Robust: Java is designed for writing programs that are highly robust. By robust, we mean reliable.  Secure: As java is intended to be used in networked/distributed environments so it implements several security mechanisms to protect you against malicious code that might try to invade your file system.  Architectural Neutral: This means that the programs written on one platform can run on any other platform without having to rewrite or recompile them. It follows ‘Write-once-run- anywhere’ approach.  Portable: In Java, the size of the primitive data types is machine independent. These consistencies make java program portable among different platforms such as Windows, UNIX and Mac.  Interpreted: Java is such a language that is both compiled and interpreted. The two steps of compilation and interpretation allow extensive code checking and improved security.  High performance: Java programs are complied with portable intermediate form known as byte codes, rather than to native machine level instructions and JVM executes java byte codes on any machine on which it is installed. This architecture means that java programs are faster.  Multithreaded: Java is also a multithreaded programming language. It allows you to write a program that can do many tasks simultaneously.  Dynamic: Java is designed to be dynamic. Classes are stored in separate files and are loaded into the Java Interpreter only when they are needed.
  7. 7. 2014 7 JAVA DEVELOPMENT KIT (JDK) The Java Development Kit (JDK) is a software package that sun has made available to public. It includes all the basic components that makeup the java environment. These include the Java compiler, Java Interpreter, an applet viewer that lets you see applets without opening a Java- compatible web browser. APPLICATION OF JAVA Java has evolved from a simple language providing interactive dynamic content for webpage’s to a predominant enterprise-enables programming language suitable for developing significant and critical applications. Today, Java is used for many applications like:  Web based applications  Financial applications  Gaming applications  Embedded applications  Distributed enterprise applications
  8. 8. 2014 8  Mobile applications  Image applications  E-business applications  Desktop applications and many more. SOCKET PROGRAMMING IN JAVA Clients and Servers establish connections and communicate via sockets. Connections are the communication links that are created over the Internet using TCP. Some client/server applications are also building around the connectionless UDP. These applications also use sockets to communicate. A Socket is an abstraction through which an application, may send and receive data. There are two types of sockets used in socket programming in java: 1. Stream Socket: A Stream Socket is a connection oriented socket. Thus a connection has to be established before it can send or receive data. Data that one end of the connection writes to the socket is available for reading at the other end of the socket connection. The Stream Sockets use TCP protocol for data transmission. 2. Datagram Socket: Datagram Socket is a connectionless socket, thus no actual connection is established between two communicating hosts. The datagram socket use UDP protocol for data transmission. Since UDP does not guarantee that all packets are received in the correct order or not. Also with UDP the packets can even be lost or dispatched. 3. Raw Sockets: Some protocols such as ICMP or OSPF that directly us the services of IP, use neither stream nor datagram sockets. Raw Sockets are designed for these types of applications. The package contains fundamental classes for communication and working with network resources.
  9. 9. 2014 9 BACK END: MySQL: MySQL is a open source Relational Database Management System. MySQL is very fast reliable and flexible Database Management System. It provides a very high performance and it is multi threaded and multi user Relational Database management system. MySQL is one of the most popular relational databases Management System on the web. The MySQL Database has become the world's most popular open source Database, because it is free and available on almost all the platforms. The MySQL can run on UNIX, window, and Mac OS. . MySQL source code is available that's why now you can recompile the source code. Features: The following list describes some of the important Features of MySQL Database Software.  Internals and Portability  Written in C and C++.  Tested with a broad range of different compilers.  Works on many different platforms.  The MySQL code is tested with Purify (a commercial memory leakage detector) as well as with Valgrind, a GPL tool  The server is available as a separate program for use in a client/server networked environment. It is also available as a library that can be embedded (linked) into standalone applications. Such applications can be used in isolation or in environments where no network is available.  Column Types  Many column types: signed/unsigned integers 1, 2, 3, 4, and 8 bytes long, FLOAT, DOUBLE, CHAR, VARCHAR, TEXT, BLOB, DATE, TIME, DATETIME, TIMESTAMP, YEAR, SET, ENUM, and Open GIS spatial types.  Fixed-length and variable-length records.  Statements and Functions  Full operator and function support in the SELECT and WHERE clauses of queries. For example:
  10. 10. 2014 10  Full support for SQL GROUP BY and ORDER BY clauses. Support for group functions (COUNT(), COUNT(DISTINCT ...), AVG(), STD(), SUM(), MAX(), MIN(), and GROUP_CONCAT()).  Support for LEFT OUTER JOIN and RIGHT OUTER JOIN with both standard SQL and ODBC syntax.  Support for aliases on tables and columns as required by standard SQL.  DELETE, INSERT, REPLACE, and UPDATE return the number of rows that were changed (affected). It is possible to return the number of rows matched instead by setting a flag when connecting to the server.  Security  A privilege and password system that is very flexible and secure, and that allows host-based verification. Passwords are secure because all password traffic is encrypted when you connect to a server.  Scalability and Limits  Handles large databases. We use MySQL Server with databases that contain 50 million records. We also know of users who use MySQL Server with 60,000 tables and about 5,000,000,000 rows.  Up to 64 indexes per table are allowed (32 before MySQL 4.1.2). Each index may consist of 1 to 16 columns or parts of columns. The maximum index width is 1000 bytes (500 before MySQL 4.1.2). An index may use a prefix of a column for CHAR, VARCHAR, BLOB, or TEXT column types.  Connectivity  Clients can connect to the MySQL server using TCP/IP sockets on any platform. On Windows systems in the NT family (NT, 2000, XP, or 2003), clients can connect using named pipes. On Unix systems, clients can connect using Unix domain socket files.  In MySQL versions 4.1 and higher, Windows servers also support shared-memory connections if started with the --shared-memory option. Clients can connect through shared memory by using the -- protocol=memory option.  The Connector/ODBC (My ODBC) interface provides MySQL support for client programs that use ODBC (Open Database Connectivity) connections. For example, you can use MS Access to connect to your MySQL server. Clients can be run on Windows or Unix. My ODBC source is available. All ODBC 2.5 functions are supported, as are many others.
  11. 11. 2014 11  The Connector/J interface provides MySQL support for Java client programs that use JDBC connections. Clients can be run on Windows or Unix. Connector/J source is available.  Localization  The server can provide error messages to clients in many languages.  Full support for several different character sets, including latin1 (ISO- 8859-1), german, big5, ujis, and more. For example, the Scandinavian characters 'â', 'ä' and 'ö' are allowed in table and column names. Unicode support is available as of MySQL 4.1.  All data is saved in the chosen character set. All comparisons for normal string columns are case-insensitive. Html-HTML or Hypertext Markup Language is the main markup language for creating web pages and other information that can be displayed in a web browser. HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content. HTML tags most commonly come in pairs like <h1> and </h1>, although some tags represent empty elements and so are unpaired, for example <img>. The first tag in a pair is the start tag, and the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, further tags, comments and other types of text-based content. The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page. HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript which affect the behavior of HTML web pages. Photoshop and JSP: Adobe Photoshop is a graphics editing program developed and published by Adobe Systems. Adobe Photoshop is released in two editions: Adobe Photoshop, and Adobe Photoshop Extended, with the Extended having extra 3D image creation, motion graphics editing, and advanced image analysis features. Adobe Photoshop Extended is included in all
  12. 12. 2014 12 of Adobe's Creative Suite offerings except Design Standard, which includes the Adobe Photoshop edition. CURRENT STATUS OF DEVELOPMENT: Analysis Phase starts from – 10TH feb .  ANALYSIS PHASE:-The extensive information gathering and analysis of the phase provides extensive details on each of the aspects of the project. The final stage of the analysis phase is to organize this information into documents that will guide the work during the rest of the project.  FEASIBILITY STUDY :-A feasibility study is a preliminary study which investigates the information needs of perspective users and determines the resource requirements, determining the cost effectiveness of various alternatives in the designs of the information system, benefits and feasibility of proposed project  DESIGNING PHASE:-The Design Development Phase focuses more on the technical aspects of materials and building systems. Although this phase allows the Designer to finalize space and function to a great degree, the primary achievement is to enable the Client to understand how the project will function as well as give more detail about what it will look like.
  13. 13. 2014 13 INTRODUCTION The project is about Video uploading site hence it is website called As the name suggests the website is designed for upload and download videos. This website allows a user with many features that upload and download videos. This website provide user friendly environment and it provide all detail required for a naïve user. A user first creates a profile in which the user provides personal details. User can upload videos into their connecting profile with their caption. Speaking technically, the website is designed using language java and the database used during the development of site is Microsoft Sql Server. Hence, the website is developed in a way that it is both technically or non-technically sound for the administrator and user respectively.
  14. 14. 2014 14 OBJECTIVES  To have an attractive and secure login page to access.  Make new user account and proper validation of details.  Search videos easily on entire network.  Upload and download videos from network.  Edit profile anytime you need.  Ease of like, comments and add to favorite videos
  15. 15. 2014 15 DRAWBACK OF EXISTING SYSTEM: In this existing system users are unable to download videos, only streaming is available. Streaming, in which user can only watch the video online. Following are drawbacks of existing system.  Streaming PROPOSED SYSTEM: The proposed system is more efficient, fast and user friendly. In this system user can upload and download videos. User can download video files in their computer so they can play them at any time they want. Video editor is added in proposed system. In which user can edit their videos. Following are features of proposed system.  Upload videos  Download videos  View count  User comments  Likes  Share videos
  16. 16. 2014 16 IDENTIFICATION OF NEED: This technology is all about and you will be surprised that you can talk with people all over the globe just sitting at your PC, sounds interesting yes!, just at the click of a button u can upload and download information between different users who are present on their terminals at the time you logged in. All this can be done through a program called „Video uploading site‟ and the project„Video-” is all about to do this. By Video uploading site a user can share his/her video with many people’s at a same time, and know what people think about this video and they also know that his/her friends like this video or not. Video-world is doing these all the things. PRELIMINARY INVESTIGATION: WWW is called the World Wide Web. WWW supports many kinds of text, pictures, video and audio.WWW resources through a web browser which basically a program that runs on the internet. There are two kinds of browsers: 1) Text only browsers and 2) Graphical browsers. Graphical browsers like Netscape Navigator and Internet Explorer are popular. Browsers provide you Inline images, fonts & document layouts. When you access a WWW server, the document is transferred to your computer and then the connection is terminated. The World Wide Web is a network of information, accessible via an easy-to-use interface. The information is often presented in hypertext or multimedia and provided by servers located around the world. The usability of the Web depends largely on the performance of these servers. This application is a Java client/server combination, which can be used to chat over the Internet or local networks with these features and with the advent of WWW, Web browsers and with “Social Sites”, Internet has become the media of applications. We can use sites for following activities.  To exchange information and converse with peoples.  For Entertainment.  Leisure activities.  Access business while at home.
  17. 17. 2014 17 SDLC Software Development Life Cycle (SDLC) is a structured sequence of phases for implementing an information system. A System/Software development life cycle (SDLC) is a logical process by which systems analysts, software engineers, programmers and end-users build information systems and computer application to solve business problems and needs. The System/Software development life cycle (SDLC) is a conceptual model used in project management that describes the stages involved in an information system development project, from an initial feasibility study through maintenance of the completed application. In the software development process we focus on the activities directly related to the production of the software, for example, design, coding, and testing. A development process is a sequence of steps. Each step performs a well-defined activity leading towards the satisfaction of the project goals, with the output of one step forming the input of the next one. We have followed the concept of SDLC in the following way:  Survey  Feasibility Study  Analysis  Preliminary Design  System Design  Implementation  Acceptance Test Generation  Installation
  18. 18. 2014 18 REQUIREMENT ANALYSIS: Requirement Analysis is the first phase of the SDLC. First, we need to figure out what the problem is (analysis)? We must know exactly what we want to do before we can begin to do it. A clear understanding of exactly what is needed is necessary for creating a solution. In this phase Business Analysts (BA), find out what is the problem and what are requirements and so on. It begins with a request from the user for a new system. It involves the following:  Identify the requirement for the system.  Clarify deficiencies in the current system.  Identify deficiencies in the current system.  Establish goals and objectives for the new system.  Determine the feasibility for the new system.
  19. 19. 2014 19 FEASIBILITY STUDY: Feasibility Study is basically the test of the proposed system in the light of its workability, meeting user’s requirements, effective use of resources and of course, the cost effectiveness. It is a set of manual & computerized components for gathering, storing & processing business data for an organization. It also converts such data useful decision oriented information. The main goal of feasibility study is not to solve the problem but to achieve the scope. In the process of feasibility study, the cost and benefits are estimated with greater accuracy. It has three types:  Operational Feasibility  Technical Feasibility  Economic Feasibility  Through Feasibility Study, we can specify User Requirement Specification (URS) and Software Requirement Specification (SRS). Depending on the results of the initial investigation, the survey is expanded to a more detailed feasibility study.  Formation of a project form and appointment of a project leader.  Preparation of System Flow Charts.  Enumerate proposed candidate system.  Describe the characteristics of that candidate system.  Determine and evaluate the performance of that candidate system.  Weight system performance and cost data. Selection of the best candidate system. ECONOMIC FEASIBILITY: This procedure is to determine the benefits and savings that are expected from a candidate system and compare them with costs. If benefits outweigh costs, then the decision is made to design and implement the system. Otherwise, further justification or alterations in proposed system will have to be made if it is to have a chance of being approved. This is an ongoing effort that improves in accuracy a teach phase of the system life cycle. Economic feasibility talks about the benefits that which we get from this project. Here with the introduction of this online process we are not only reducing the time take for the registration of the entrants. We even reduce the burden on the administrator. As this project is not only reducing the time but also the work burden of the user we say that this product is economically feasible.
  20. 20. 2014 20 TECHNICAL FEASIBILITY: Technical feasibility centers on the existing computer system (hardware, software, etc.,) and to what extent it can support the proposed addition. If the budget is a serious constraint, then the project is judged not feasible. Technical feasibility speaks about the existing hardware and the software that we are using and the deviations that we have to make from the existing one, as we are developing the application using java there is no change in the hardware that the we are using. So we a say that this application is technically feasible as there is no change in the configuration more over it is cost effective. Technical feasibility speaks about the existing hardware and the software that we are using and the deviations that we have to make from the existing one, as we are developing the application using java there is no change in the hardware that the we are using. So we a say that this application is technically feasible as there is no change in the configuration more over it is cost effective. OPERATIONAL FEASIBILITY: People are inherently resistant to change, and computers have been known to facilitate change. It is understandable that the introduction of a candidate system requires special effort to educate, sell, and train the staff on new ways of conducting business. As this project is a user friendly version there is not much training required for the people to use. This product is not only making the task of the administrator easy but it is reducing the time that is taken otherwise. So we say that this product is operationally feasible.
  21. 21. 2014 21 ANALYSIS:  Analysis is a detailed study of the various operations performed by a system and their relationships within and outside of the system. This activity is also used to study the system in details. The objective of this step is to develop structured system specifications for the proposed system. The structured system specification will be called the Essential Model. It involves:  Detailed study of the system.  Understand the procedure of the system.  Determine the scope of the system.  Define the goals of the proposed system. PRELIMINARY DESIGN: The most creative and challenging phase of the system life cycle is System Design. The term design describes the final system and the process by which it is developed. This activity deals with certain design issues that are to be finalized in consultation with the user. The two most important issues of relevance to the user are the automation boundary & the human machine interface. The output of this activity is the user implementation model. This model, in addition to the essential model defines the following for the system.  Automation Boundary  Report Layout  Workable plan for implementing the candidate system  Screen layouts for the data entry forms  Menus  Information on personnel, money, hardware, facilities, and their estimated cost must also be available.
  22. 22. 2014 22 DESIGN: System Design involves the transformation of the user implementation model into software design. The first step is to determine how the output is to be produced and in what format. Second, input data and master files (database) have to be designed to meet the requirements of the proposed output.  The design specification of the proposed system consists of the following:  Database schema  Pseudo code for all the modules. CODING: After designing the new system/software, the whole system/software is required to be converted into computer language. Coding the new system/software into computer programming language does this. It is an important stage where the defined procedures are transformed into control specifications by the help of a computer language. This is also called the Programming Phase in which the programmer converts the program specifications into computer instructions, which we refer as programs. The programs coordinate the data movement as and control the entire process in a system/software. TESTING: Before actually implementing the new system/software into operations, a test run of the system/software is done removing all the bugs, if any. It an important phase of a successful system. After codifying the whole programs of the system, a test plan should be developed and run on a given set of test data. In the system/software testing stage, we check the overall behavior of the system/software against the functional and the performance requirements. There are two type of testing:  White-Box: Internal part (code) of the project is testing.  Black-Box: System behavior (input/output) is checked. IMPLEMENTATION: After having the user acceptance of the new system/software developed, the Implementation phase begins. Implementation is the stage of a project during which theory is turned into practice. In this phase, user can know how to execute the package, how to enter data and so on.  The implementation phase is less creative then system design. This activity includes programming, testing & integration of modules into progressively more complete system.  It is primarily concerned with user training, site preparation, and file conversion. During the final testing user acceptance is tested, followed by user training.  System testing checks the readiness and accuracy of the system to access, update, and retrieve data from new files. The output of this activity is the complete integrated system.  Major sub activities  Coding
  23. 23. 2014 23  Integration  Testing  Debugging  Inputs  Project character  Design specification  Outputs  Integrated Systems MAINTENANCE: When the implementation report is submitted, an Maintenance should be made to determine whether the system/software meets the objectives stated in the general design report. In this phase, users may be able to suggest the easy-to- implement improvements. ACCEPTANCE TEST GENERATION: This activity generated a set of test data that can be used to test the new system before accepting it. If successful, the program(s) is then run with “live” data. Otherwise a diagnostic procedure is used to locate and correct errors in the program.  Inputs  Project character  Outputs  Integrated Systems DATABASE CONVERSION: This activity involves conversion of data from the existing system (if any) to the new system. PROCEDURE DESCRIPTION: The objective of this step is to produce a manual, which may be used as a guide for operating the system. Inputs Project Character User implementation model Outputs User manual (guide for end user)
  24. 24. 2014 24 INSTALLATION: This is another activity of the System Development Life Cycle. The change over from the current system to the new system is done. Inputs Project Character User manual Outputs Installed system This project involves all the activities of the System Development Life Cycle except for the database conversion and installation.
  25. 25. 2014 25 A development strategy that encompasses the process, methods and tool layers, and the generic phases is referred to as a process model or software engineering paradigm. A process model is chosen based on the nature of the project and application, methods and tools to be used and controls and deliverable that are required. Waterfall Model: The model suggest a systematic sequential approach to software development, it begins at system level and progresses to analysis, design, coding testing and maintenance.
  26. 26. 2014 26 Minimum Hardware Requirement Specifications: Broad Casting Server (RAID Server) Processor V or Above RAM 512 MB Hard disk 20 GB CD/DVD ROM 48x Client Machines or End Users Processor IV or Above RAM 1 GB Hard disk 10 GB Minimum Software Requirement Specifications: Broad Casting Server Operating System Windows Vista/7 sp3 Web Server Apache ,Tomcat IDE Net beans
  27. 27. 2014 27 Datacenter Server Database SQL Server 2008 Software Required for Development Operating System Windows Vista/7 Web Server Apache ,Tomcat IDE Net beans Compiler Jdk 1.6 or above Language Core Java, Advance Java Database SQL Server Designing Tools Photoshop, Dreamweaver Web Languages used HTML, Java script, Jquery
  28. 28. 2014 28 LOGICAL DESIGN (DFD): In the DFD, the inputs (source), outputs (destination), Databases (data stores), procedures(Data Flow) and boundaries of the system are described that needs the user requirement. It specifies the user need at a level of detail that virtually determines the information flow into and out of the system and the required data resources. PHYSICAL DESIGN (Database design):This activity deals with the design of the physical database. A key is to determine how the access paths are to be implemented. A physical path is derived from the logical path. The relationships existing among the entities like one-to-one, one-to-many, many-to-many are considered while designing the database. Relational structured database is used in this system. PROGRAM DESIGN: In conjunction with database design is a decision on the programming language to be used and the flowcharting, coding and debugging procedure prior to conversion. In this application, java is used as server side scripting while JavaScript and HTML are used as client side scripting, which are supported by the browsers like Mozila Explorer. DATABASE DESIGN: The Database (collection of data) is at the core of any information system. The nature of data stored in the database as well as the organization of the data has wide implications on the performance of the system. A good database design should hold all the data, which may be required by the users of the system, but at the same time, avoid any harmful or unnecessary redundancy. The database should also be flexible so that any future change in requirements can be incorporated with minimum changes.
  29. 29. 2014 29 DATA FLOW DIAGRAM: It is a pictorial representation of Business processes (functions/services/activities), along with the data flow. Software process:-Guides how the software is being built. Business process:-Specific to organization, e.g.:- In this project; issuing ticket, canceling ticket. In this focus is on what data flows and not how the data flows. When all the analysis is being made then we develop a diagram to depict the analysis, and following symbols are being used: S.NO SYMBOL NAME DESCRIPTION 1 Data flow Represent the connectivity of Various process 2 Process Perform some process of data 3 External Entity Define source or destination of System data 4 Data store Responsibility of data
  30. 30. 2014 30 0 level DFD Provide Authentication Register account Developed profile Administrator Administrator Video-world user
  31. 31. 2014 31 DATABASE TABLES Registration: Category Sub category
  32. 32. 2014 32 Video Comments
  33. 33. 2014 33 Likes Contact Feedback
  34. 34. 2014 34 INDEX PAGE: <%@page import="conn.DBNews"%> <%@page import="conn.DBtopdownload"%> <%@page import="bean.SubCatBean"%> <%@page import="java.util.ArrayList"%> <%@page import="bean.VideoBean"%> <%@page import="conn.DBlatestvideo"%> <%@page import="conn.Video"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Free upload and download videos</title> <link href="menu.css" rel="stylesheet" type="text/css" /> <link href="video1.css" rel="stylesheet" type="text/css" /> </head> <body> <script language="javascript"> function fnlog() { var x=document.forms["logn"]["txt"].value; var at=x.indexOf("@"); var dot=x.lastIndexOf("."); if(document.logn.txt.value == "") {
  35. 35. 2014 35 alert('Please enter email'); document.logn.txt.focus(); return false; } if (at<1 || dot<at+2 || dot+2>=x.length) { alert("Not a valid e-mail address"); document.logn.txt.focus(); return false; } if(document.logn.psd.value == "") { alert('Please enter Password'); document.logn.psd.focus(); return false; } document.logn.submit(); } </script> <div id="templatemo_container"> <div id="templatemo_header"> <div id="templatemo_title"> <div id="templatemo_sitetitle">Video <span>World</span></div> </div> <% if(session.getAttribute("user")!=null) {%> Hi!<%=session.getAttribute("user")%> <%}%>
  36. 36. 2014 36 <div id="templatemo_login"> <form method="get" action="search.jsp"> <label>Search:</label><input class="inputfield" name="keyword" type="text" id="keyword"/> <input class="button" type="submit" name="Search" value="Search" > </form></div> </div> <div id="templatemo_banner"> <div id="templatemo_banner_text"> <div id="banner_title">Welcome To Video Store</div> <p> welcome to the huge collection of the video-world.where you can explore the varieties of video stuff by just one click and also upload the most happening moments around you by just easy registration.Download your favorite videos from our collection to your personal storage. </P> </div></div> <div id="templatemo_> <ul id="menu"> <li><a href="index.jsp" class="current">Home</a></li> <li><a href="login.jsp">Admin</a></li> <li><a href="music.jsp">Music</a> <ul> <li><a href="news.jsp">Punjabi</a></li> <li><a href="news.jsp">Bollywood</a></li> <li><a href="news.jsp">Hollywood</a></li> </ul></li> <li><a href="dance.jsp">Dance</a> <ul> <li><a href="news.jsp">Hip-Hop</a></li> <li><a href="news.jsp">Bhangra </a></li>
  37. 37. 2014 37 <li><a href="news.jsp">Mix</a></li> </ul> </li> <li><a href="news.jsp">News</a> <ul> <li><a href="news.jsp">Political</a></li> <li><a href="news.jsp">National</a></li> <li><a href="news.jsp">International</a></li> </ul> </li> <li><a href="sports.jsp">Sports</a> <ul> <li><a href="news.jsp">Cricket</a></li> <li><a href="news.jsp">Football</a></li> <li><a href="news.jsp">Tennis</a></li> </ul></li> <li><a href="technology.jsp">Technology</a> <ul> <li><a href="news.jsp">Cloud computing</a></li> <li><a href="news.jsp">Gadgets</a></li> <li><a href="news.jsp">Science</a></li> </ul> </li> <li><a href="#" class="lastmenu"></a> <% if(session.getAttribute("user")!=null) {%> <%=session.getAttribute("user")%>
  38. 38. 2014 38 <%}%> <ul> <li><a href="chgpwd.jsp">Change password</a></li> <li><a href="upload.jsp">Upload</a></li> <li><a href="logout.jsp">Logout</a></li> </ul> </li> </ul> </div> <div id="templatemo_content"> <div id="templatemo_left_column"> <h2>Customer Login</h2> <div class="left_col_box"> <form name="logn" OnSubmit="return fnlog()"method="post" action="chlogin.jsp"> <div class="form_row"><label>Email</label><input class="inputfield" name="txt" type="text" id="email_addremss"/></div> <div class="form_row"><label>Password</label><input class="inputfield" name="psd" type="password" id="password"/></div> <input class="button" type="submit" name="Submit" value="Login" /><br></br> <a href="registration.jsp">Create an account</a><br> <a href="forgetpwd.jsp">Forget Password?</a> </form> </div> <h2>Follow Us</h2> <div class="left_col_box"> <div style="margin-left: 15px;font-size: 15px">
  39. 39. 2014 39 <div class="blog_box"> <a href="#" >Facebook</a> </div></div> <div style="margin-left: 15px;font-size: 15px"> <div class="blog_box"> <a href="#" >Google+</a> </div></div> <div style="margin-left: 15px;font-size: 15px"> <div class="blog_box"> <a href="#" >Twitter</a> </div> </div> </div> </div> <div id="templatemo_right_column"> <div id="new_released_section"> <h1>Latest Videos</h1> <% DBlatestvideo db=new DBlatestvideo(); ArrayList al1=db.getVideo(); for(int j=0;j<al1.size();j++){ VideoBean vb=(VideoBean)al1.get(j); %>
  40. 40. 2014 40 <video width="200" height="200" controls > <source src="<%= vb.getUrl()%>" type="video/mp4"> </video> <a href="watch.jsp?video=<%=vb.getVid()%>"><b><%=vb.getName()%></b></a> <%}%> <div class="templatemo_right_panel_fullwidth"> <div id="news_section"> <h1>News </h1> <% DBNews nm=new DBNews(); ArrayList al3=nm.getVideo(); for(int j=0;j<al3.size();j++){ VideoBean vb=(VideoBean)al3.get(j); %> <div class="news_box"> <h3><%=vb.getName()%></h3> <h4><%=vb.getDesc()%></h4> <h4><%=vb.getUploadby()%></h4> <h4><%=vb.getDate()%></h4> </div> <%}%> </div> <!-- end of news --> <div id="topdownload_section">
  41. 41. 2014 41 <h1>Top Downloads</h1> <% DBtopdownload db1=new DBtopdownload(); ArrayList al2=db1.getVideo(); for(int j=0;j<al2.size();j++){ VideoBean vb=(VideoBean)al2.get(j); %> <div class="topdownload_box"> <div class="title_singer"><%=vb.getName()%> By<span><%=vb.getUploadby()%></span></div><span class="download_button"><a class="download_button" href="#">Download</a></span> </div> <%}%> </div> </div> </div> </div></div> <div id="templatemo_footer"> <a href="index.jsp">Home</a> | <a href="feedback.jsp">Feedback</a> | <a href="terms.jsp">Terms&Conditions</a> | <a href="aboutus.jsp">About us</a> | <a href="contactus.jsp">Contact us</a><br /> Website designed by:Harpal kaur </div> </body> </html>
  42. 42. 2014 42 Registration page import; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import javax.servlet.http.*; public class registration extends HttpServlet{ public void service(HttpServletRequest req,HttpServletResponse res) { String s=req.getParameter("txt1"); String s1=req.getParameter("txt2"); String s2=req.getParameter("txt3"); String s3=req.getParameter("psd1"); String s4=req.getParameter("psd2"); try { PrintWriter out=res.getWriter(); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:hk"); PreparedStatement ps=con.prepareStatement("insert into reg values(?,?,?,?,?)"); ps.setString(1,s); ps.setString(2,s1); ps.setString(3,s2); ps.setString(4,s3); ps.setString(5,s4);
  43. 43. 2014 43 int i=ps.executeUpdate(); if(i>0) { out.println("data inserted successfully"); } else { out.println("data inserted Failed"); res.sendRedirect("registration.jsp"); } } catch(Exception e) { System.out.println("exception e"+e); } }} Upload import conn.DBConnection; import*; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet;
  44. 44. 2014 44 import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; public class upload extends HttpServlet { String Temp="e:/New"; protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); String nam="",usr="",desc="" ; //int sid=Integer.parseInt(request.getParameter("sb")); int sid=0; try { DiskFileItemFactory factory = new DiskFileItemFactory(); factory.setSizeThreshold(5000); factory.setRepository(new File(Temp)); ServletFileUpload upload = new ServletFileUpload(factory); List<FileItem> items = upload.parseRequest(request); byte[] b= new byte[5000000]; InputStream is=null; for (FileItem item : items) { out.print("jjjjj"+sid); if (item.isFormField()) {
  45. 45. 2014 45 String xy=item.getFieldName(); if(xy.equals("sb")) sid=Integer.parseInt(item.getString()); if(xy.equals("nam")) nam=item.getString(); if(xy.equals("desc")) desc= item.getString(); if(xy.equals("usr")) usr= item.getString(); System.out.println("....."+xy); } else{ String nm =item.getName(); is = item.getInputStream(); } }; int id=0; Connection con = DBConnection.dbConnect(); PreparedStatement pp=con.prepareStatement("select Max(id) from video"); ResultSet r=pp.executeQuery(); if({ id=r.getInt(1); } id++; File f1=new File("C:UserssamsungDocumentsNetBeansProjectsvideo- worldwebvideos"+id+".mp4"); System.out.println(f1.getAbsolutePath());
  46. 46. 2014 46 FileOutputStream ot=new FileOutputStream(f1); ot.write(b); out.print("jjjjj"+sid); con=DBConnection.dbConnect(); PreparedStatement ps = con.prepareStatement("insert into video(name,url,description,upload_by,sb_id) values(?,?,?,?,?)"); ps.setString(1,nam); ps.setString(2, "videos/"+f1.getName()); ps.setString(3,desc); ps.setString(4, usr); ps.setInt(5, sid); int i = ps.executeUpdate(); System.out.println(i); response.sendRedirect("upload.jsp"); } catch(Exception e){ System.out.println("AddProductServlet..."+e); } finally { out.close(); } } // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
  47. 47. 2014 47 /** * Handles the HTTP * <code>GET</code> method. * * @param request servlet request * @param response servlet response * @throws ServletException if a servlet-specific error occurs * @throws IOException if an I/O error occurs */ @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processRequest(request, response); } /** * Handles the HTTP * <code>POST</code> method. * * @param request servlet request * @param response servlet response * @throws ServletException if a servlet-specific error occurs * @throws IOException if an I/O error occurs */ @Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
  48. 48. 2014 48 processRequest(request, response); } /** * Returns a short description of the servlet. * * @return a String containing servlet description */ @Override public String getServletInfo() { return "Short description"; }// </editor-fold> }
  49. 49. 2014 49 IMPLEMENTATION The implementation is the final and important phase. It involves user training, system testing and successful running of the developed proposed system. The user tests the developed system and changes are made according to their needs. The testing phase involves the testing of developed system using various kinds of data. An elaborate testing of data is prepared and the system is tested using the test data. While testing, errors are noted and corrections are made. The corrections are also noted for future use. The users are trained to operate the developed system. The implementation phase of software development involves translation of design specification into source code, and debugging, documenting and unit testing the source code. To enhance the quality of the software the methods are structured control constructs, built in and user defined data types, secure type checking, flexible scope rules exception handling mechanism, concurrency constructs and separates compilation modules
  50. 50. 2014 50 TESTING Introduction: Software Testing is a critical element of software quality assurance and represents the ultimate review of specification, design and coding, Testing presents an interesting anomaly for the software engineer. Testing is one of the most important phases in the software development activity. In software development life cycle (SDLC), the main aim of testing process is the quality; the developed software is tested against attaining the required functionality and performance. During the testing process the software is worked with some particular test cases and the output of the test cases are analyzed whether the software is working according to the expectations or not. The success of the testing process in determining the errors is mostly depends upon the test case criteria, for testing any software we need to have a description of the expected behavior of the system and method of determining whether the observed behavior confirmed to the expected behavior. Types of Testing: Since the errors in the software can be injured at any stage. So, we have to carry out the testing process at different levels during the development. The basic levels of testing are Unit, Integration, System and Acceptance Testing. The Unit Testing is carried out on coding. Here different modules are tested against the specifications produced during design for the modules. In case of integration testing different tested modules are combined into sub systems and tested in case of the system. Testing the full software is tested and in the next level of testing the system is tested with user requirement document prepared during SRS. Unit Testing: Unit testing focuses verification effort on the smallest unit of software design that is the module. Using procedural design description as a guide, important control paths are tested to uncover errors within the boundaries of the module. The unit test is normally white box testing oriented and the step can be conducted in parallel for multiple modules. Integration Testing: Integration testing is a systematic technique for constructing the program structure, while conducting test to uncover errors associated with the interface. The objective is to take unit tested methods and build a program structure that has been dictated by design. Functional Testing: In Functional Testing test cases are decided solely on the basis of requirements of the program or module and the internals of the program or modules are not considered for selection of test cases. This is also called Black Box Testing. Structural Testing: In Structural Testing test cases are generated on actual code of the program or module to be tested. This is called White Box Testing. Top-down Integration: Top down integrations is an incremental approach for construction of program structure. Modules are integrated by moving downward through the control
  51. 51. 2014 51 hierarchy, beginning with the main control program. Modules subordinate to the main program are incorporated in the structure either in the breath-first or depth-first manner. Bottom-up Integration: This method as the name suggests, begins construction and testing with atomic modules i.e., modules at the lowest level. Because the modules are integrated in the bottom up manner the processing required for the modules subordinate to a given level is always available and the need for stubs is eliminated. System Testing: System testing is actually a series of different tests whose primary purpose is to fully exercise the computer-based system. Although each test has a different purpose, all work to verify that all system elements have been properly integrated to perform allocated functions. Security Testing: Attempts to verify the protection mechanisms built into the system. Performance Testing: This method is designed to test runtime performance of software within the context of an integrated system. Validation Testing: At the conclusion of integration testing software is completely assembled as a package, interfacing errors have been uncovered and corrected and a final series of software tests begins, validation test begins. Validation test can be defined in many ways. But the simple definition is that validation succeeds when the software function in a manner that can reasonably expected by the customer. After validation test has been conducted one of two possible conditions exists. One is the function or performance characteristics confirm to specifications and are accepted and the other is deviation from specification is uncovered and a deficiency list is created. Proposed system under consideration has been tested by using validation testing and found to be working satisfactorily. Output Testing: After performing validation testing, the next step is output testing of the proposed system since no system could be useful if it does not produce the required output in the specified format. Asking the users about the format required by them tests the outputs generated by the system under consideration. Here the output format is considered in two ways, one is on the screen and other is the printed format. The output format on the screen is found to be correct as the format was designed in the system designed phase according to the user needs. For the hard copy also the output comes as the specified requirements by the users. Hence output testing does not result any corrections in the system. User Acceptance Testing: User acceptance of a system is the key factor of the success of any system. The system under study is tested for the user acceptance by constantly keeping in touch with the prospective system users at the time of developing and making changes wherever required.
  52. 52. 2014 52 Home page Login page
  53. 53. 2014 53 Registration page Feedback
  54. 54. 2014 54 Contact us Change password
  55. 55. 2014 55 Forget password About us
  56. 56. 2014 56 Terms & conditions
  57. 57. 2014 57 CONCLUSION During the training we learnt how to make a product is doesn’t mean take raw material& just put it together and product is ready but it means that manufacturing a product is a systematic process which consist of a step by step process for this purpose. Our training included the development of a dummy website on video uploading. In the sessions we acquired the knowledge about the planning of System Requirement Specification. We learned the steps involving in software development life cycle. In the practical sessions we made the project assigned, on which we developed the design documents & made an analysis on how it can be developed. At last, training period is a time, which really enables the trainee to develop his/her skills, gain knowledge that how, an organization works & now a product is manufactured with collective work of so many people. In brief a training period is really essential for every technical person.
  58. 58. 2014 58 BIBLIOGRAPHY