Professional Documents
Culture Documents
SST MDS
SST MDS
learning/building MassDatabase
System(SSTMDS)
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.
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.
• 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
Dictionary
API
Database Structure (Master table)
• Master/Searchtableis 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 !!!