Professional Documents
Culture Documents
Guided By:
1|Page
ACKNOWLEDGEMENT
2|Page
CONTENTS
1. Introduction 6
2. Requirements 13
2.1System Specifications
3. Design Approach 14
3.1.2 DFD
4. Project Modules 17
5. Implementation 23
5.1.1 Concepts
5.1.2 Techniques
6. Output Screens 25
7. Conclusion 33
8. Future Enhancements 34
9. Bibliography 35
3|Page
ABSTRACT
AIM
SCOPE
FEATURES
MODULES
2) Intermediate Administrator
4|Page
Modules Description:
1) Server:
3) Client
The Following are the Client side Functionalities.
Search keywords
Select the category to search in.
Visit external links
5|Page
1. INTRODUCTION
1.1 PURPOSE
The project was to explore new avenues in Web Development like the
PHP and MySQL along with traditional concepts like HTML5
&CSS3.WampServer is a Windows web development environment. It
allows you to create web applications with Apache2, PHP and a MySQL
database. It also comes with PHPMyAdmin and SQLiteManager to easily
manage your databases. WAMP is sometimes used as an abbreviated
name for the software stack Windows, Apache, MySQL, PHP.
1.2 SCOPE
1.3 OVERVIEW
6|Page
2. ABOUT PHP & What PHP CAN DO.
o Server-side scripting. This is the most traditional and main target field for
PHP. You need three things to make this work: the PHP parser (CGI or
server module), a web server and a web browser. You need to run the web
server, with a connected PHP installation. You can access the PHP
program output with a web browser, viewing the PHP page through the
server. All these can run on your home machine if you are just
experimenting with PHP programming. See the installation
instructions section for more information.
7|Page
o Command line scripting. You can make a PHP script to run it without any
server or browser. You only need the PHP parser to use it this way. This
type of usage is ideal for scripts regularly executed using cron (on *nix or
Linux) or Task Scheduler (on Windows). These scripts can also be used
for simple text processing tasks. See the section about Command line usage
of PHP for more information.
o Writing desktop applications. PHP is probably not the very best language
to create a desktop application with a graphical user interface, but if you
know PHP very well, and would like to use some advanced PHP features
in your client-side applications you can also use PHP-GTK to write such
programs. You also have the ability to write cross-platform applications
this way. PHP-GTK is an extension to PHP, not available in the main
distribution.
FEATURES OF PHP
8|Page
Development of PHP webpages
In order to develop and run PHP Web pages three vital components need
to be installed on your computer system.
Web Server PHP will work with virtually all Web Server software,
including Microsoft's Internet Information Server (IIS) but then most
often used is freely available Apache Server.
MySQL
MySQL is a fast, easy to use relational database. It is currently the most
popular open-source database. It is very commonly used in conjunction
with PHP scripts to create powerful and dynamic server-side applications.
MySQL Features
o Relational Database Management System (RDBMS): MySQL is a
relational database management system.
o Easy to use: MySQL is easy to use. You have to get only the basic
knowledge of SQL. You can build and interact with MySQL with only a
few simple SQL statements.
o It is secure: MySQL consist of a solid data security layer that protects
sensitive data from intruders. Passwords are encrypted in MySQL.
o Client/ Server Architecture: MySQL follows a client /server
architecture. There is a database server (MySQL) and arbitrarily many
clients (application programs), which communicate with the server; that
is, they query data, save changes, etc.
o Free to download: MySQL is free to use and you can download it from
MySQL official website.
o It is scalable: MySQL can handle almost any amount of data, up to as
much as 50 million rows or more. The default file size limit is about 4 GB.
9|Page
However, you can increase this number to a theoretical limit of 8 TB of
data.
o Compatibale on many operating systems: MySQL is compatible to run
on many operating systems, like Novell NetWare, Windows* Linux*,
many varieties of UNIX* (such as Sun* Solaris*, AIX, and DEC* UNIX),
OS/2, FreeBSD*, and others. MySQL also provides a facility that the
clients can run on the same computer as the server or on another computer
(communication via a local network or the Internet).
WAMP SERVER
10 | P a g e
JavaScript
JavaScript is a object-based scripting language and it is light weighted.
It is first implemented by Netscape (with help from Sun Microsystems).
JavaScript was created by Brendan Eich at Netscape in 1995 for the
purpose of allowing code in web-pages (performing logical operation on
client side).
Where it is used?
Client-side validation
Features of JavaScript
It is light weighted.
11 | P a g e
An important part of JavaScript is the ability to create new functions
within scripts. Declare a function in JavaScript using function keyword.
Database PHP will work with virtually all database software, including
Oracle and Sybase but most commonly used is freely available MySQL
database. Download MySQL for free here
12 | P a g e
2. SYSTEM REQUIREMENTS
3.1 System Specifications
System specifications are very important aspects of a project work. For a
developer to ensure the perfect working of project one must be aware if
minimum requirements to be fulfilled by a computer system in terms of
both hardware and software.
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
13 | P a g e
3. Design Approach
Design is the first step in the development phase for any techniques
and principles for the purpose of defining a device, a process or system in
sufficient detail too permit its physical realization.
DFD:
A DFD shows what kind of information will be input to and output from
the system, how the data will advance through the system, and where the
data will be stored. It does not show information about the timing of
14 | P a g e
process or information about whether processes will operate in sequence
or in parallel unlike a flowchart which also shows this information.
This shows the basic working of our project. (Fig 3.1). In this we have an
input unit , a storage unit and the output results unit.
The following DFD show the flow diagrams of the controls for an
administrative.
Using these controls the admin can control various settings related to
the search engine, e.g. adding new sites for indexing, configure the
keywords, maintains the level for crawler to crawl the website.
15 | P a g e
Fig: 3.2
16 | P a g e
4. Project Module
Module 1:
17 | P a g e
Module 2:
Module 3:
18 | P a g e
Module 4:
Module 5:
19 | P a g e
4.2 Server Module
Following are the some server side modules that are used in our project
work:
Module 1:
This module deals with the creation of tables.In this module we created
various modules including modules for storing keywords and addition of
various sites to the project.
20 | P a g e
4.3 Search Module
This module is the place where we select the various aspects of our
search, as an option we can limit our search to a particular domain or we
can search from various sites all together.
21 | P a g e
This module is the css of our search page. This is used to enhance the UI
of our Search Engine. All links are displayed as a row in the table thus it
is quite easy to manipulate the elements later.
22 | P a g e
5. Implementation
The more complex the system being implemented, the more involved will
be the system analysis and design effort.
Online implementation:
To implement this search engine online we need a web server for the
purpose of hosting this application.
One can use different server providers for hosting services e.g. hostgator,
Amazon web services (Aws) etc.
The web server provider will provide the developer with the control panel
credentials. By using these credentials developer can get the
administrative controls. From control panel one can manage the database
of the search engine and can also manage the homepage with FTP
services.
23 | P a g e
End users are provided with a web URL and they can input their query in
the search box provided.
24 | P a g e
6. Output Screens
Output 1:
Output 2:
25 | P a g e
Fig: Adding website for indexing and controlling depth setting.
Fig: Checking the status of the database (keywords, links, sites etc.)
26 | P a g e
Fig: occurrence of the indexed keywords
27 | P a g e
fig: View of the keywords in the table
28 | P a g e
Fig: Database
29 | P a g e
Fig: Homepage of the Search Engine
30 | P a g e
Fig: Search results
31 | P a g e
Fig: Search results
32 | P a g e
7. Conclusions
The package was designed in such a way that future modifications can be
done easily. The following conclusions can be deduced from the
development of the project.
33 | P a g e
8. Future Enhancements
I and my team members have worked hard in order to present our project
at its best in front of you. Still we know that our project can be done in a
better way and can be enhanced by adding some new features like
Image search
Categorization
More Administrative controls like settings etc.
Add the users likes and dislikes to database on the bases of his/ her
search history
And many more new features as the time passes.
34 | P a g e
9. Bibliography
Websites referred:
www.w3schools.com
www.javatpoint.com
www.tutorialspoint.com
35 | P a g e