Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 21

Search​​and​​Store​​Terms​​into​​self-

learning/building Mass​​Database​
​System​​(SST​​MDS)

Developed By
Aleksandar Stojchevski (2016)
INDEX

1) Introduction
2) Objective
3) Project Profile
4) Tools and Technology
5) Design
6) Implementation
7) Project Management
8) References
Introduction
Search and Stored Terms or sst is web base search application
which allows user to find meaning or defination to their term
from database or from other source and third party API and
Google search along with build database.

The API we used is dictionary API and we used google search


result by web page scraping and show result by parsing that
data to our web page by using PHP And show using HTML CSS
and then stored that result to our database for easy searching
later.
Objective

• Searching for terms​​& listing term​​meaning


• build database from other sources sources to
search quikly from database.
• Build program that will provide data from
multiple sites.
Project Profile
Title: SST MDS.
Definition:
DeSST MDS is defined as a system use to search and store Terms into self
Learning/building Mass Database System.
Description: As name suggest this is search based program which helps us to find
meaning of terms and build database simultaneously.
Database Search based on three searching platforms:
1.Local database
2.Dictionary Api (owlbot.info).
3.Google search .
First source for search result is local server database if it is unable to get result from local
database then program will automatically search for result in owlbot.info .And if is unable
to find result in both local database and owlbot.info then it search result in
google.com/search and result from these search store automatically in our data base and
can be seen on our page. And when we search the same word again then the result will
directly come from our local database and program will not need to search result from
other sources.
Tools and Technology

 Hosting Server
 AWS

 Technology
 HTML5
 CSS
 JAVASCRIPT
 PHP
 MYSQL
 FileZilla
AWS
Amazon Web Services (AWS) is Amazon’s cloud web hosting platform that
offers flexible, reliable, scalable, easy-to-use, and cost-effective solutions.
This tutorial covers various important topics illustrating how AWS works
and how it is beneficial to run your website on Amazon Web Services.

Amazon EC2 (Elastic Compute Cloud) is a web service interface that


provides resizable compute capacity in the AWS cloud. It is designed for
developers to have complete control over web-scaling and computing
resources.
EC2 instances can be resized and the number of instances scaled up or
down as per our requirement. These instances can be launched in one or
more geographical locations or regions, and Availability Zones (AZs). Each
region comprises of several AZs at distinct locations, connected by low
latency networks in the same region.
How to launch AWS EC2 Instance

• Sign-in to AWS account and open IAM console by using the following link
https://console.aws.amazon.com/iam/
• Select EC2 from serves tab from menu bar.
• Select launch instance option in the dashboard.
• A new page will open. Choose Instance Type and provide the configuration. Select
ubuntu 16.04 type. Then select Next: Configure Instance Details.
• A new page will open. Select VPC from the network list. Select subnet from the
subnet list and leave the other settings as default.
• Click Next until the Tag Instances page appears
• On the Tag Instances page, provide a tag with a name to the instances. Select
Next: Configure Security Group.
• On the Configure Security Group page, choose the New security group option And
write your security group name And Description then choose Review and Launch.
• Check Instance details on Review Instance Launch page then click the Launch
button.
• A pop up dialog box will open. Select an existing key pair or create a new key pair.
Then select the acknowledgement check box and click the Launch Instances
button.
AWS EC2 Instance
AWS EC2 Instance connection through
Cygwin
Server setup Apahe2, PHP installation And
MYSQL installation
Login to server through cygwin using ssh root though pem file
 Apache2 Setup
 sudo apt-get update
 sudo apt-get install apache2
 PHP Installation
 sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
 sudo apt-get install php-cli
 Mysql Installation
 sudo apt-get install mysql-server

We can upload our coding file inside /var/www/html folder And run our file
using url and can check Server on browser: http://52.15.236.193
Design

Google
Search

Enter Term Local Result


Search Term Database Description

Dictionary
API
Database Structure (Master table)
• Master/Search​​table​​is only for indexing and mapping for all other tables
Example:
table# (letter ** (start-end ** (start-end ** (start-end …………….
order: A=1, B=2) index) index) index)
1 AA (0-100) AB (101-201) AC (202-301) AD, AE, …..
2 BA (2500-2550) BB(2551-2600) BC (2601-2700) BD, BE, ……
3

• This mapping will help us, in order NOT TO search through whole database (all
27+ tables).
• We simply take the first letter, and that letter will tell us in which table# to
search. (e.g. Confident​​- 1st letter is “C” and from Master Table we can see that
letter ”C” is in 3rd row in Master Table, which means that we need to search for
term/description in Table#3. )
• Then, with second letter (e.g. “CO” ) we go through 3rd row of Master table and
found Start & End index (e.g. “CO” = start 4000, end 4500) - we only search
Design
Database Structure (Individual table [a-z] )
Coding
Uploading Code to server Using Filezilla
Implementation
Project Management
 Getting Started
 Documentation
 Analysis Search Flow
 Analysis Data building Process
 Design
 Design of search page
 Coding
 Coding to Search Page Using HTML,CSS,JAVASCRIPT
 Coding to Database Connection To PHP file
 PHP Logic for Search From Database And Save data into database
with sorting
 Uploading To Server And Testing
 Using Filezilla ssh connection upload code
References

• http://www.stackoverflow.com
• http://www.owlbot.info
• http://www.w3school.com
• https://www.github.com
• https://www.tutorialspoint.com
• https://aws.amazon.com
Thank You !!!

You might also like