1my report (2)
TRANSCRIPT
-
8/3/2019 1my Report (2)
1/34
RIET Phagwara
PROJECT REPORT
On
Video Portal
During
(Jan,2011 July,2011)
Gtech Softwares Ludhiana
Submitted in partial fulfillment of the requirement for Bachelor of Technology in Computer
Science & Engg course of Punjab Technical University, Jalandhar
By
Amit KatyalCSE 8th Sem
Roll No-65/CSE/07
Univ. Roll No-81411507005
Submitted To
Er. Parminder Singh
H.O.D.Computer Science and Engineering
RAMGARHIA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Phagwara, Punjab, India
1 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
2/34
RIET Phagwara
Acknowledgement
This is a great opportunity to acknowledge and to thanks all those people without whose support
and help this project would have been impossible. We would like to add a few heartfelt words for
the people who were part of this project in numerous ways.
We would like to thanks to my project guide Er Navneet Kumar, for his indefatigable
guidance, valuable suggestion, moral support, constant encouragement and contribution of time for
the successful completion of project . We are very grateful to him, for providing all the facilitiesneeded during the project development.
With great pleasure and sincere gratitude we would thank the college , the entire C.S.E
Department Staff and HOD of C.S.E department Er. Parminder Singh for their constant
encouragement and help during the entire tenure of the course.
Last but not the least, I would like to acknowledge the immense support ofmy parents and my
family members, whose patience and encouragement during these long days and night have been
paramount in making this project a reality.
Thank you.
2 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
3/34
RIET Phagwara
PREFACE
There are many different technologies available today for developing complex websites and web
applications, and with so many to choose from, its great that there is one technology in particular
that stand out from the crowd and it is such a joy to use. P.H.P is a fantastic technology that
enables you to develop websites and applications which empowers business in an Open way. There
is a real power and depth to this technology that enables it to host even the most complex
application available today.
Our project is a result of the information technology revolution which has turned the universe into
a global village, and as computer have become an essential and integral part of our daily lives. This
process is advancing day by day and it is putting lot of challenges in front of us.
To look and understand these challenges which we have to face in future, our college provides an
opportunity for all its students to gain professional training and actual work environment for the
students. This knowledge will help us in our future prospects and skill development.
We have prepared this project report with great enthusiasm in the most practical way.
During this period, we get the first real world corporate experience on working, in an actual
environment with different technical skills which normally can not be experienced by us in college
studies. Apart from this, we get an opportunity to learn the latest technologies, and gain insights
into the working of the system.
And most of all We observed how team effort is organized and integrated for the finished product
to take shape.
3 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
4/34
RIET Phagwara
Introduction to the project
1.1Introduction
MySQL is a relational database management system (RDBMS) that runs as a server providingmulti-user access to a number of databases.
The official MySQL Workbench is a free integrated environment developed by MySQL AB, that
enables users to graphically administer MySQL databases and visually design database structure.
MySQL Workbench replaces the previous package of software, MySQL GUI Tools. Similar toother third-party packages but still considered the authoritative MySQL frontend, MySQL
Workbench lets users manage the following:
Database design & modeling
SQL development replacing MySQL Query Browser
Database administration replacing MySQL Administrator
Linux (commonly pronounced LIN-ks in American-English also pronounced in Europe and
Canada, LIN-ooks is a generic term referring to Unix-like computer operating systems based on the
Linux kernel. Their development is one of the most prominent examples of free and open source
software collaboration; typically all the underlying source code can be used, freely modified, andredistributed, both commercially and non-commercially, by anyone under licenses such as the GNU
General Public License.
Linux can be installed on a wide variety of computer hardware, ranging from embedded devicessuch as mobile phones, smartphones and wristwatches to mainframes and supercomputers. Linux is
predominantly known for its use in servers; in 2007 Linux's overall share of the server market was
estimated at 12.7% while a 2011 estimate suggested that 60% of all web serversran Linux. Mostdesktop computers run eitherMac OS X orMicrosoft Windows, with Linux having only 12% of
the desktop market. However, desktop use of Linux has become increasingly popular in recent
years, partly owing to the popularUbuntu distribution and the emergence ofnetbooks and
smartbooks.
4 Amit Katyal(81411057005)
http://en.wikipedia.org/wiki/Relational_database_management_systemhttp://en.wikipedia.org/wiki/MySQL_Workbenchhttp://en.wikipedia.org/wiki/MySQL_Workbenchhttp://en.wikipedia.org/wiki/MySQL_Workbenchhttp://en.wikipedia.org/wiki/Web_serverhttp://en.wikipedia.org/wiki/Web_serverhttp://en.wikipedia.org/wiki/Desktop_computerhttp://en.wikipedia.org/wiki/Mac_OS_Xhttp://en.wikipedia.org/wiki/Mac_OS_Xhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Ubuntu_(operating_system)http://en.wikipedia.org/wiki/Netbookhttp://en.wikipedia.org/wiki/Smartbookhttp://en.wikipedia.org/wiki/Relational_database_management_systemhttp://en.wikipedia.org/wiki/MySQL_Workbenchhttp://en.wikipedia.org/wiki/MySQL_Workbenchhttp://en.wikipedia.org/wiki/Web_serverhttp://en.wikipedia.org/wiki/Desktop_computerhttp://en.wikipedia.org/wiki/Mac_OS_Xhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Ubuntu_(operating_system)http://en.wikipedia.org/wiki/Netbookhttp://en.wikipedia.org/wiki/Smartbook -
8/3/2019 1my Report (2)
5/34
RIET Phagwara
1.2 About Project
Company Name : GTech Softwares and Education
Website : www.gtechsoftwares.net
Project title : Video Portal
Operating System : Platform Independent
Hardware Requirements
Processor : 2.70 GHz and Above
Main Memory : 2 GB.
Hard Disk : 180 GB.
Disk Space : Variable.
Floppy Disk Drive : 1.44 MB.
Keyboard : ANY
Mouse : ANY
Monitor : ANY
DVD ROM Drive : 52x Samsung DVD ROM
5 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
6/34
RIET Phagwara
Software Requirement
Operating System : Ubuntu Ultimate Edition 2.7 (LINUX)
Software : PHP 5.2.1, JAVASCRIPT, HTML, CSS, Ajax, ,Flash Media Live Encoder,Flash CS5
Data Base : MYSQL
Server : Apache Server , Flash Media Server
Editors used : Netbeans, Aptana Studio and Quanta Plus
1.3 ObjectivesOur main objective behind developing this web application is to make internet based broadcasting
quick,easy & cost efficient.It makes web casting a game of dummies for individuals as well for
organisation. So that they can save their time in required broadcasting service.
The objectives of proposed website are as follows -
To easily installable on all the systems(Platform Independent)
To facilitates facility of live current channel.
To facilitates facility of video upload.
To facilitates facility of playing the video.
To provide facility of posting comments on uploaded videos.
To provide accurate information to users.
To speed up the process of Database creation and manipulation.
To provide secured login to users.
To provide user friendly environment to users so that they can easily play,comment and
upload videos.
To make it easier for administrator to add or delete entities.
6 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
7/34
RIET Phagwara
1.4 Benefits of Project
Benefits of this project are of two types:
Tangible: Tangible benefits are benefits that are measured in terms of money saving of
Revenue through ads
Revenue through previous customers.
Intangible: Intangible benefitsthat are more difficult to estimate and justify .It includes
Satisfaction of users
Efficiently in handling streams
7 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
8/34
RIET Phagwara
Organization profile
2.1 Introduction to GTech Softwares and Education
GTech Softwares and Education initially started as GTech Education. In 2009 GTech Education
turned into GTech Softwares and Education and started providing world class IT solutions to the
industry.
Motto of company is "Materializing Concept" and main aim is to put the ideas of precious clientele
into reality. It often happens that the people have concepts but don't have a team/logic to put them
into reality. GTech Ludhiana provides such an environment with the team of professionals who aim
in realizing the dreams. GTech Ludhiana delivers comprehensive web services ranging from custom
website design to development of complex internet systems.
2.1.1 Vision
To develop a strong Client base with an equally effective Support structure which acts as a catalyst
for effective deployment of futuristically complete and credible IT solutions. We strive to achieve
this by focusing individually on each project and build a healthy relationship with our Customers.
8 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
9/34
RIET Phagwara
2.1.2 Customer Satisfaction and Trust
Schmittlein said - "An organization that is perceived as doing a relatively good job, or of being
relatively forthcoming in one area of trust, is seen as doing well elsewhere, too .The value of that
trust element has not been going down over time." We too believe that Customer Satisfaction and
Trust will always be our Key for success!!!
2.1.3 Quality
Quality is a comprehensive & fundamental rule or belief, for leading & operating an organization.
And this helps in continually improving performance over the long term.
2.1.4 Management Team
After having brought the company from the conceptualization stage onward, the management is
confident that technologies, work force and determination are poised for growth and wide
acceptance. The management is continually identifying some more niche segments, where the
presence is desirable to ensure globalization of the organization's presence.
2.2 Overview
GTech Softwares is an established web development company delivering the best quality web
design and internet development services of any complexity to clients worldwide. Being in IT
business for over 1 year now, GTech Softwares has a strong team of skilled experienced IT experts.
Our clientele starts from small business companies to large enterprises who realize that they need a
professional internet solution to generate revenue streams, establish communication channels or
streamline business operations.
2.2.1One-stop Internet Solutions Vendor
Whether you need an appealing website design or complex multi-tier internet system development or
custom programming using latest technologies GTech Softwares has the required experience and
expertise to do it all.
2.2.2 Full-Cycle Development Services
9 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
10/34
RIET Phagwara
At GTech Softwares, we support a full-cycle development process from requirements definition
and specification, architecture design, coding, testing and validation to product maintenance and
support. Depending on your specific requirements our experts will take you step by step through
each phase of solution development providing you with a sound advice on technology and
application options.
2.2.3 Experience and Expertise
Having over 1 year of experience in providing internet services and solutions and having completed
hundreds of projects in different domains, GTech Softwares has built a large database of knowledge
that enables us to deliver the right solutions that address the needs of clients. GTech Softwares
Quality Initiatives are based on a 3Q Approach, Quality personnel, Quality Process and Quality
Communications. Each project at GTech Softwares is under constant control of a dedicated quality
assurance department that monitors project activities and results at each development phase.
2.3 Web Designing & Web Development
We consider following aspects of a web design:-
Appealing and professional style
Consistent overall layout
Dependable corporate identity
Usability
Web developers at GTech Softwares are capable of developing functionality which turns your
website into a powerful business tool. By delivering custom-built solutions GTech Softwares is
able to provide the functionality that would completely match business needs. Our compact
approach result, best return on investment into current solution and decrease your expenditure on
future extension.
10 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
11/34
RIET Phagwara
2.4 Contact Address
GTech Softwares and Education,
Third Floor, Sears Complex,
Adj. Amartex, Bharat Nagar Chowk,
Ludhiana (Punjab) 141001.
Ph: 091-161-2424213, 4617013, (M) 98146-43186
Email: [email protected],[email protected]
11 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
12/34
RIET Phagwara
TABLE OF FIGURES
Serial No. CAPTION
1. PHP WEB SERVER
2. PHP WEB SERVER WORKING
3. WORKING OF AJAX
4. APACHE WEB SERVER
12 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
13/34
RIET Phagwara
Project plan
4.1 Team Structure
The team structure for the project is guided by Mr Dhananjay Tiwari. Proper session under his
guidance is established for the requirements and need on the users side as well from the developers
side
It was guided and supervised by the project guide on weekly basis.
4.2 Development Schedule
The following steps were followed in developing the application:
1. Study, Analysis and Requirement Specifications: The study of the existing system and its
drawback gave an idea about what kind of interface was required. The study was conducted
through information gathering and studying the existing system.
2. Design of the proposed system: The next step was to design the screen, windows and
reports for the inputs and outputs. The concerned authorities consulted during the design
phase to ensure user acceptances and not to miss out on any vital information. In the same
phase, the project was broken down into various modules.
3. Coding of the design system: A modular approach was followed, where, in each module,
a well-defined procedure was developed independently. These modules were developed to
use the same database file structure to ensure integrity.
4. System documentation: This stage consists of documenting the layout of entire system. It
indicated the purpose of interlinking of different modules along with the integration of theentire system.
5. Testing and Debugging: Preliminary test were done with the self-generating dummy data.
After identifying and removing errors, it was tested for all activities together.
13 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
14/34
RIET Phagwara
4.3 Programming Languages
The website is developed to the users point of view using hardware and software components that
required supporting the site is designed. The selection of the software for the designing the
application is important and it depends upon the requirement. After analysis various languages, andtools are selected which are discussed as follows:
4.3.1 HTML
HTMLis a computer language devised to allow website creation. These websites can then be
viewed by anyone else connected to the Internet. It is relativelyeasy to learn, with the basics being
accessible to most people in one sitting; and quitepowerfulinwhatit allows you to create. It is
constantly undergoing revision and evolution to meet the demands and requirements of the growingInternet audience under the direction of the W3C, the organization charged with designing and
maintaining the language.
The definition ofHTML isHypertext Markup Language.
Hypertextis the method by which you move around on the web by clicking on special text
calledhyperlinkswhich bring you to the next page. The fact that it is hyperjust means it is not
linear i.e. you can go to any place on the Internet whenever you want by clicking on links there is
no set order to do things in.
Markupiswhat HTML tagsdo to the text inside them. They mark it as a certain type of text.
History of HTML
HTML developed a few years ago as a subset of SGML (Structure Generalized Mark-up
Language), which is a higher-level mark-up language that has long been a favorite of the
Department of Defense. Like HTML, it describes formatting and hypertext links, and it defines
different components of a document. HTML is definitely the simpler of the two, and although they
are related, there are few browsers that support both.
Because HTML was conceived for transmission over the Internet (in the form of Web pages) it is
much simpler than SGML, which is more of an application-oriented document format. While it's
true that many programs can load, edit, create, and save files in the SGML format (just as many
programs can create and save programs in the Microsoft Word format), SGML is not exactly ideal
for transmission across the Internet to many different types of computers, users, and browser
14 Amit Katyal(81411057005)
http://www.w3.org/http://www.w3.org/http://www.w3.org/http://www.w3.org/ -
8/3/2019 1my Report (2)
15/34
RIET Phagwara
applications. HTML is more suited to this task. Designed with these considerations in mind, HTML
lets user, the designer, create pages that user are reasonable, sure can be read by the entire
population on the Web. Even users who are unable to view user graphics, for instance, can
experience the bulk of what user are communicating, if user design, user HTML pages properly.
At the same time, HTML has a simple enough format (at least currently) that typical computer
users can generate HTML documents without the benefit of a special application. Creating a
WordPerfect-format document would be rather difficult by hand (including all of the required text
size, font, page break, column, margin, and other information), even if it weren't a "proprietary"
that is, nonpublic document format.
HTML is a public standard, and simple enough that user can get through a book like this one and
have a very strong ability to create HTML documents from scratch. This
simplicity is part of a trade-off, as HTML-format documents don't offer nearly the
precision of control or depth of formatting options that a WordPerfect- or Adobe
PageMaker-formatted document would.
Advantages of Html
Easy to use
Loose syntax (although, being too flexible will not comply with standards) Supported on almost every browser, if not all browsers.
Widely used; established on almost every website, if not all websites.
Very similar to XML syntax, which is increasingly used for data storage
Free - You need not buy any software
Easy to learn & code even for novice programmers
4.3.2 Cascading Style SheetsCSS is a style sheet language used to describe the presentation semantics (that is, the look and
formatting) of a document written in a markup language. Its most common application is to style
web pages written in HTML and XHTML, but the language can be applied to any kind of XML
document, including SVG and XUL.CSS is designed primarily to enable the separation of
document content (written in HTML or a similar markup language) from document presentation,
including elements such as the layout, colors, and fonts. This separation can improve content
15 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
16/34
RIET Phagwara
accessibility, provide more flexibility and control in the specification of presentation
characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in
the structural content (such as by allowing for table less web design). CSS can also allow the same
markup page to be presented in different styles for different rendering methods, such as on-screen,
in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based,
tactile devices. While the author of a document typically links that document to a CSS style sheet,
readers can use a different style sheet, perhaps one on their own computer, to override the one the
author has specified. CSS specifies a priority scheme to determine which style rules apply if more
than one rule matches against a particular element. In this so-called cascade, priorities or weights
are calculated and assigned to rules, so that the results are predictable.
Use of CSS
Prior to CSS, nearly all of the presentational attributes of HTML documents werecontained within
the HTML markup; all font colors, background styles, elementalignments, borders and sizes had to
be explicitly described, often repeatedly, within theHTML. CSS allows authors to move much of
that information to a separate style sheetresulting in considerably simpler HTML markup.
Headings (h1 elements), sub-headings (h2), sub-sub-headings (h3), etc., are defined structurally
using HTML. In print and on the screen, choice of font, size, color and emphasis for these elements
is presentational. Prior to CSS, document authors who wanted to assign such typographic
characteristics to,say, all h2 headings had to use the HTML font and other presentational elements
foreach occurrence of that heading type. The additional presentational markup in the HTMLmade
documents more complex, and generally more difficult to maintain.
In CSS,presentation is separated from structure. In print, CSS can define color, font, text
alignment, size, borders, spacing, layout and many other typographic characteristics. It can do so
independently for on-screen and printed views.
4.3.3 JavaScript
What is JavaScript?
JavaScript was first developed by Netscape as an open scripting language to create interactive web
pages. Script is nothing but a small program which is generally very easy to learn and
16 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
17/34
RIET Phagwara
use. JavaScript as an open language implies that it can be used by anyone; no license is required to
use JavaScript. Microsoft created Jscript for its Internet Explorer similar to
Netscape JavaScript. JavaScript has the ability to function both as an object oriented language as
well as procedural language. Using JavaScript you can create objects, attach methods and
properties. Though JavaScript can run on both client-side and server-side, it is very popular among
client-side scripting languages. Client side means the script runs on client browser. JavaScript are
generally embedded in the header of web pages.
Why JavaScript?
JavaScript plays a vital role for adding interactive feature to HTML web pages. JavaScript can
respond to several events that occur on web-pages and thereby help in designing dynamic and
interactive web-sites. Moreover JavaScript makes it very easier to validate a form, check if any
fields are empty and verify correctness of data. JavaScript does all these at client side even beforeactually sending the data to server, thereby reducing considerable load on server and thus makes
form processing easier and quicker.
JavaScript can be used in different ways within an HTML file:
Head
In this type, JavaScript is embedded between tags within the tag and is
used for initializing variables and or create functions that can be called from anywhere of the
entire script. JavaScript in header is executed once when the page is load.
Body
In this type, JavaScript is embedded between tags within the tag.
JavaScript within Body Tags are used for handling various events.
Called directly when certain event occurs:
In this type, JavaScript are called when certain events occur. Example of events include on
Load, on Click, on Error, on Select, on Submit, on Change etc.
Advantages of JavaScript:
JavaScript offers numerous features which makes it popular. Few among them are listed
below:
JavaScript is a dynamic open scripting language with simple syntax and rules which makes
it easier to use and learn for programmers. This has made JavaScript a popular Client-side
scripting language. .
17 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
18/34
RIET Phagwara
4.3.4 PHP
PHP stands for Hypertext Preprocessor and is a server-side language. This means that when a
visitor opens the page, the server processes the PHP commands and then sends the results to the
visitor's browser, just as with ASP. A typical PHP files will content commands to be executed in the
server in addition to the usual mixture of text and HTML (Hypertext Markup Language) tags.
However, PHP is Open Source and cross-platform. PHP runs on Windows NT and many UNIX
versions, and it can be built as an Apache module and as a binary that can run as a CGI.
PHP WEB SERVER
PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development
ever since. The main implementation of PHP is now produced by The PHPGroup and serves as the
de facto standard for PHP as there is no formal specification.
When you type an URL in the Address box or click a link on a Web page, you're asking a Web
server on a computer somewhere to send a file to the Web browser on your computer. If that file is
a normal HTML file, it looks exactly the same when your Web browser receives it as it did before
the Web server sent it. After receiving the file, your Web browser displays its contents as a
combination of text, images, and sounds. In the case of a PHP page, the process is similar, except
there's an extra processing step that takes place just before the Web server sends the file. Before the
Web server sends the PHP file to the Web browser, it runs all server-side scripts contained in the
page.
PHP is a server-side scripting language for creating dynamic Web pages. You create pages with
PHP and HTML. When a visitor opens the page, the server processes the PHP commands and then
18 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
19/34
RIET Phagwara
sends the results to the visitor's browser, just as with ASP or Cold Fusion. Unlike ASP or Cold
Fusion, however, PHP is Open Source and cross-platform.
PHP runs on Windows NT and many Unix versions, and it can be built as an Apache module and as
a binary that can run as a CGI. When built as an Apache module, PHP is especially lightweight and
speedy. Without any process creation overhead, it can return results quickly.
PHP WORKING
The Zend Engine is the internal compiler and runtime engine used by PHP4. Developed by Zeev
Suraski and Andi Gutmans, the Zend Engine is an abbreviation of their names. In the early days of
PHP4, it worked as
The PHP script was loaded by the Zend Engine and compiled into Zend opcode. Opcode, short for
operation codes, are low level binary instructions. Then the opcode was executed and the HTML
generated sent to the client. The opcode was flushed from memory after execution.
19 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
20/34
RIET Phagwara
Process Benefits
Manage our content from anywhere
We can access all our information from a normal web browser - PHP is viewable in all kinds of
browsers, even mobile phone browsers. This means that we can manage our intranet and public
web site from a web browser anywhere in the worlds.
Live editingThe web site is updated from within the site itself - no specialized tools are needed,
just a web browser. It even works with older browser, so even if our organization does not use the
latest in web technology, PHP is still usable.
Designed by usability professionals
Because much care and thought has gone into the interface, employees will be able to utilize it with
minimal training. PHP use the standard paradigms for working with and controlling content.
Limited use of graphics
A main goal is minimal use of graphics - adding to the content instead of detracting from it, focusing
on the information - not irrelevant elements.
Facilities collaboration
When editing and publishing the content, we can assign other participants local roles within projects.
PHP also supports versioning and staging of contents.
Easy management and configuration
The administration and configuration of PHP is done through the web, and no access to the filessystem is needed after the system is set up. This makes for a very secure system.
Single sign-on
PHP has a centralized sign-on mechanism, which prevents users from having to log on to each area
separately. Security is controlled centrally. It is also easily integrated with the existing user
Create your own commands
Because PHP scripts sit inside HTML documents, you don't need a special editor to create pages. You
do need to be running on a server that supports PHP, however. If you run your own server, this is easy
enough to do. If an ISP serves your pages, contact your ISP's support team and ask that they install
PHP for you.
20 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
21/34
RIET Phagwara
4.3.5 Ajax
AJAX = Asynchronous JavaScript and XML.
AJAX is a technique for creating fast and dynamic web pages.
AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with
the server behind the scenes. This means that it is possible to update parts of a web page, without
reloading the whole page.
Classic web pages, (which do not use AJAX) must reload the entire page if the content should
change.
Examples of applications using AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.
How AJAX Works
WORKING OF AJAX
4.4 Development tools4.4.1 MYSQL
MySQL, the most popular Open Source SQL database management system, is developed, distributed,
and supported by Sun Microsystems.
MySQL is a database management system.
A database is a structured collection of data. It may be anything from a simple shopping list to a
picture gallery or the vast amounts of information in a corporate network. To add, access, and
process data stored in a computer database, you need a database management system such as
MySQL Server. Since computers are very good at handling large amounts of data, database
management systems play a central role in computing, as standalone utilities, or as parts of other
applications.
21 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
22/34
RIET Phagwara
MySQL is a relational database management system.
A relational database stores data in separate tables rather than putting all the data in one big
storeroom. This adds speed and flexibility. The SQL part of MySQL stands for Structured
Query Language. SQL is the most common standardized language used to access databases and
is defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving since 1986 and
several versions exist. In this manual, SQL-92 refers to the standard released in 1992, SQL:
1999 refers to the standard released in 1999, and SQL: 2003 refers to the current version of the
standard. We use the phrase the SQL standard to mean the current version of the SQL Standard
at any time.
MySQL software is Open Source.
Open Source means that it is possible for anyone to use and modify the software. Anybody can
download the MySQL software from the Internet and use it without paying anything. If you wish,
you may study the source code and change it to suit your needs. The MySQL software uses the
GPL (GNU General Public License, to define what you may and may not do with the software in
different situations. If you feel uncomfortable with the GPL or need to embed MySQL code into a
commercial application, you can buy a commercially licensed version from us.
The MySQL Database Server is very fast, reliable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL Server also has a practical set
of features developed in close cooperation with our users. MySQL Server was originally
developed to handle large databases much faster than existing solutions and has been successfully
used in highly demanding production environments for several years. Although under constant
development, MySQL Server today offers a rich and useful set of functions. Its connectivity,
speed, and security make MySQL Server highly suited for accessing databases on the Internet.
22 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
23/34
RIET Phagwara
MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of a multi-threaded SQL
server that supports different backend, several different client programs and libraries,
administrative tools, and a wide range of application programming interfaces (APIs).
We also provide MySQL Server as an embedded multi-threaded library that you can link into your
application to get a smaller, faster, easier-to-manage standalone product.
A large amount of contributed MySQL software is available.
It is very likely that your favorite application or language supports the MySQL Database Server.
The official way to pronounce MySQL is My Ess Que Ell (not my sequel), but we do not
mind if you pronounce it as my sequel or in some other localized way.
Advantages of MySQL
1. Scalability and Flexibility
The MySQL database server provides the ultimate in scalability, sporting the capacity to handle
deeply embedded applications with a footprint of only 1MB to running massive data warehouses
holding terabytes of information. Platform flexibility is a stalwart feature of MySQL with all
flavors of Linux, UNIX, and Windows being supported.
2. High Performance
A unique storage-engine architecture allows database professionals to configure the MySQL
database server specifically for particular applications, with the end result being amazing
performance results. Whether the intended application is a high-speed transactional processing
system or a high-volume web site that services a billion queries a day, MySQL can meet the most
demanding performance expectations of any system. With high-speed load utilities, distinctive
memory caches, full text indexes, and other performance-enhancing mechanisms, MySQL offers all
the right ammunition for today's critical business systems.
23 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
24/34
RIET Phagwara
3. High Availability
MySQL offers a variety of high-availability options from high-speed master/slave replication
configurations, to specialized Cluster servers offering instant failover, to third party vendors
offering unique high-availability solutions for the MySQL database server.
4. Robust Transactional Support
MySQL offers one of the most powerful transactional database engines on the market. Features
include complete ACID (atomic, consistent, isolated, durable) transaction support, unlimited row-
level locking, distributed transaction capability, and multi-version transaction support where
readers never block writers and vice-versa. Full data integrity is also assured through server-
enforced referential integrity, specialized transaction isolation levels, and instant deadlock
detection.
5. Strong Data Protection
Because guarding the data assets of corporations is the number one job of database professionals,
MySQL offers exceptional security features that ensure absolute data protection. In terms of
database authentication, MySQL provides powerful mechanisms for ensuring only authorized users
have entry to the database server, with the ability to block users down to the client machine level
being possible.
6. Management Ease
MySQL offers exceptional quick-start capability with the average time from software download to
installation completion being less than fifteen minutes. This rule holds true whether the platform is
Microsoft Windows, Linux, Macintosh, or UNIX. Once installed, self-management features like
automatic space expansion, auto-restart, and dynamic configuration changes take much of the
burden off already overworked database administrators.
7. Open Source Freedom and 24 x 7 Supports
Many corporations are hesitant to fully commit to open source software because they believe they
can't get the type of support or professional service safety nets they currently rely on with
proprietary software to ensure the overall success of their key applications. The questions of
24 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
25/34
RIET Phagwara
indemnification come up often as well. These worries can be put to rest with MySQL as complete
around-the-clock support as well as indemnification is available through MySQL Network.
4.4.2 Apache web server
The Apache HTTP Server is a web server for Unix-like systems, Microsoft Windows, Novell
NetWare, Mac OS X and other operating systems. Apache is notable for playing a key role in the
initial growth of the World Wide Web. When first released, Apache was the only viable open source
alternative to the Netscape Communications Corporation web server (currently known as Sun Java
System Web Server). It has since evolved to rival other Unix-based web servers in terms offunctionality and performance. Since April 1996 Apache has been the most popular HTTP server
on the World Wide Web; as of February 2007 Apache served 58% of all websites.
Apache is developed and maintained by an open community of developers under the auspices of
the Apache Software Foundation. Released under the Apache License, the Apache HTTP Server is
free software.
APACHE WEB SERVER
25 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
26/34
RIET Phagwara
Analysis
5.1 Feasibility Study
Depending upon the results of the initial investigation, the survey is expanded to a more detailed
feasibility study. A feasibility study is a test of a system proposal according to its workability,
impact on the organization, ability to meet users needs and effective use of resources. Feasibility is
the determination of whether or not a project is worth doing.
Three key considerations are involved in the feasibility analysis, Economical, technical, and
operational. All of those are discussed one by one in the following section.
5.1.1 Technical Feasibility
Technical feasibility concern around the existing computer system and to what extend it supports
the proposed addition. In our case we have 1 server networked with the internet. Here a customer
requires minimum 1 computer with internet connection to run this project. So we can say that there
is no considerable burden on the organization to make this project functional .This is concerned
with specifying details and software that will successfully satisfy the user requirements.
Software requirements for this project at various abstractions are as follows:
MySQL, 5.0 or above is required as database server.
Apache Server and operating system must be Windows XP or higher.As all requirements are already available it is to invest anything in addition for the software.
5.1.2 Economic feasibility
Economic analysis is the most frequently used method for evaluating the effectiveness of the
candidate system. More commonly known as cost/benefit analysis, the procedure is to determine
the benefits and savings that are expected from a candidate system. And compare them cost. Since
cost plays quite an important role in deciding the new system, it must be identified and estimated
26 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
27/34
RIET Phagwara
properly. Costs vary by type and consist of various distinct elements. Benefits are also of different
type and can be grouped on the basis of advantages they provide to management.
5.1.3 Operational FeasibilityPeople are inherently resistant to change. And computers are known to facilitate change. And
estimate should be made of how strong reaction the user staff is likely to have towards the
development of computerized system. The system should be simple to operate the layman can also
under stand what the system is, and how he can be benefited from the system.
The project is operationally feasible as every care has been taken to make it easy to operate and
more over while conducting preliminary investigations there was a strong reaction to open this type
of system from user side also.
5.2 System Requirement Specification
In system engineering and software engineering, requirements analysis encompasses those tasks
that go into determining the requirements of a new or altered system, taking account of the possibly
conflicting requirements of the various stakeholders, such as users. Requirements analysis is
critical to the success of a project. The document that contains all the requirements of the project is
termed as Software Requirement Specification
5.2.1 Input Specifications
Input specifications refer to the kind of the input that should be given to the system.
Design of Input
Input generally refers to what data is given to system so the system can give best output to user.
Input design must be complete, efficient and effective so that we can provide user with desired
output, which he requires.
When designing input, system analyst must take of the following: -
1.) What data to be Input?
2.) What medium to use?
27 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
28/34
RIET Phagwara
3.) How data should be arranged or coded?
4.) The dialogue to guide the users in providing input?
5.) Data items and transactions needing validation to detect errors?
6.) Methods for performing input, validation and steps to follow when errors occur?
5.2.2 Output Specifications
Output specifications refer to the kind of the output that should be received from the system.
Design of Output
Output as you probably know generally refers to the results and information that are generated by
the system. For many end users, output is the main reason for developing the system and the basis
on which they will evaluate the usefulness of the application.
When designing output, system analyst must accomplish the following:-
1.)Determine what information to present?
2.)Whether to display, print, or speak the information and select output the medium?
3.)Arrange the presentation of information in an acceptable format.
4.)Decide how to distribute the output to intended recipients.
The arrangement of information on a display or printed documented is termed as layout.
Accomplishing the general activities listed above will require specific decision, such as weather to
use preprinted forma when preparing reports and documents, how many lines to plan on a printed
page, or whether to user graphics and color.
The output design is specified on layout forms, sheets that describe the location, characteristics and
format of the column heading and pagination. As we indicated at the beginning of the discussion
these elements are analogous to an architects blue-print that show the location of each component.
28 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
29/34
RIET Phagwara
5.3 Data Flow Diagrams
As information moves through software, it is modified by a series of transformations. A DFD is a
graphical technique that depicts information flow and transform data replied as data moves from
the input to output. DFD is also known as data flow graph .A DFD may be used to represent the
system or software at any level of abstraction.
Infect DFD may be partitioned into levels that represent increasing information
flow and functional detail. Therefore DFD provides mechanism for functional modeling as well as
functional modeling.
A DFD is constructed as various degree of detail about the process of the function.
At zero level or the first level DFD, also called fundamental system model or a context
model, represent the entire software elements as a single bubble with an input and output data
indicated by incoming and outgoing arrows respectively.
LEVEL 0 DFD:
29 Amit Katyal(81411057005)
User FaceIPLive.com
-
8/3/2019 1my Report (2)
30/34
RIET Phagwara
Level 1 DFD:
30 Amit Katyal(81411057005)
User
AuthenticationUser
User
User table
Chat table
Broadcast
Upload Video
Play Video
Record Video
Video table
Chat
Media ServerStream
-
8/3/2019 1my Report (2)
31/34
RIET Phagwara
Design
6.1 Database Design
A decade ago, database was unique to large corporations with mainframes. Today it is recognized
as a standard of MIS and is available for virtually every size of computer. Before the database
concept became operational, users had programs that own data independent of other users. It was a
conventional file environment, common data are available and used by several users. Instead of
each program managing its own data, data across application are shared by authorized users with
the data base software managing the data as an entity. A program now requests data through the
data base management system, which determines data sharing.
Objectives of Database
The general theme behind a database is to handle information as an integrated whole. There is none
of artificiality that is normally embedded in separate files or applications. A database is a collection
of interrelated data stored with minimum redundancy to serve many users quickly and efficiently.
The general objective is to make information access easy, quick, and inexpensive and flexibility for
the user. In data base design, several specific objectives are considered:
Controlled redundancy
Accuracy and Integrity
Data Integration
Data Integrity
31 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
32/34
RIET Phagwara
MODULE 1.
User Management:
Description:
In this User will create its new account to sign in if one is a new user.
The User Sign In if it is already having an account.
MODULE 2.
Server Installation
Description:
In this module various Servers which are required for the working of the site are installed.
These Servers include:
Flash Media Server(FMS)
Apache Web Server
MODULE 3.
Web Caster
Description:
In this the User can broadcast itself on the Web .In this the User can go for the LIVE chatting with
the interested online Users.
32 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
33/34
RIET Phagwara
MODULE 4.
Media Player
Description:
In this ,the User can play all the videos which exist on the website or which are already uploaded
on the website.
MODULE 5.
RTMP (Real Time Messaging Protocol) Processing Engine
Description:
In this ,the RTMP request is send by the client to the Flash Media Server and after processing therequest the response is given to the client by the Flash Media Server.
MODULE 6.
Video Library Management
Description:
In this, all the videos which are uploaded on the website are sorted and categorized on the type ofthe upload.
MODULE 7.
Star Rating and Categorization
Description:
In this all the videos which are there on the website are given Star Rating by the users who play
these videos.
33 Amit Katyal(81411057005)
-
8/3/2019 1my Report (2)
34/34
RIET Phagwara
MODULE 8.
User Comment Module
Description:
In this module, User can give their comments to the videos on the website.
MODULE 9.
Video Upload Module
Description:
In this module, User can upload their own videos to the website.
MODULE 10.
LIVE TV Module
Description:
In this module, User can watch Live TV on the website.