Nguyenvanthinh BKC13107 N01
Nguyenvanthinh BKC13107 N01
UNIT TITLE:
ASSIGNMENT NUMBER:1
Internal verification:
Contents
I. Theoretical basis 4
1.1 Domain and DNS 4
1.2 Web server – server 5
- Client-server model 6
- Protocols for accessing the web server 6
- How to put website on internet 7
1.3 Frontend and Backend 10
- Frontend 10
− BackEnd 10
- The difference between Online Website Creation Tools and Custom Built Sites 12
I. Theoretical basis
1.1 Domain and DNS
- Domain or domain name is the address of a website operating on the
Internet.The place that people use to search on the browser to access any website.
Domains are represented by letters or numbers in the alphabet instead of theserver's IP
address.
- The Domain Name System (DNS) is the phonebook of the Internet. Humans
access information online through domain names, like nytimes.com or espn.com. Web
browsers interact through Internet Protocol (IP) addresses. DNS translates domain names
to IP addresses so browsers can load Internet resources.
• Dynamic Domain Name System, or DDNS, is a service that was developed to take the place of
static IP addresses. Dynamic domain name system is another name for DDNS. This is how a
domain name is mapped to a dynamic IP address, starting with the domain name and ending with
a formatted number
Root nameserver - The root server is the first step in translating (resolving)
human readable host names into IP addresses. It can be thought of like an indexin a
library that points to different racks of books - typically it serves as a reference to other
more specific locations.
TLD nameserver - The top level domain server (TLD) can be thought of as a
specific rack of books in a library. This nameserver is the next step in the searchfor a
specific IP address, and it hosts the last portion of a hostname (In example.com, the TLD
server is “com”).
On the hardware side, a web server is a computer that stores web server
software and a website's component files (for example, HTML documents, images, CSS
stylesheets, and JavaScript files). A web server connects to the Internet and supports
physical data interchange with other devices connected tothe web.
On the software side, a web server includes several parts that control how
webusers access hosted files. At a minimum, this is an HTTP server. An HTTP server is
software that understands URLs (web addresses) and HTTP (the protocol your browser
uses to view webpages). An HTTP server can be accessed through the domain names of
the websites it stores, and it delivers thecontent of these hosted websites to the end user's
device.
- Client-server model
The Client-server model is a distributed application structure that partitions taskor
workload between the providers of a resource or service, called servers, and service
requesters called clients. In the client-server architecture, when the clientcomputer sends a
request for data to the server through the internet, the server accepts the requested process
and deliver the data packets requested back to the client. Clients do not share any of their
resources. Examples of Client-Server Model are Email, World Wide Web, etc.
The private key - this key is controlled by the owner of a website and it’s kept, as the
reader may have speculated, private. This key lives on a web server and isused to decrypt
information encrypted by the public key.
The public key - this key is available to everyone who wants to interact with theserver in
a wy that’s secure. Information that’s encrypted by the public key canonly be decrypted
by the private key.
There are three approaches on how to establish an FTP connection. A very simple method
is using a command-line FTP, such as using Command prompt for Windows or Terminal
in Mac/Linux. Developers still use it today for transferring files using FTP. A user also
can use a web browser to communicatewith the FTP server. A web browser is more
convenient when users want to access large directories in the server. Yet, it’s often less
reliable and slower thanusing a dedicated FTP program. Today, the most common
practice to use FTP, especially for a web developer, is by using an FTP client. An FTP
client provides more freedom compared to the command line and web browser. It is also
easier to manage and more powerful compared to the other methods.
- How to put website on internet
1. Pick a Reliable Web Hosting Company
Creating and maintaining a website is not something that you should take lightly. It’s
crucial to pick a top-notch web host that has all the key features tokickstart your project.
Here are several factors that you should consider when choosing a hosting
provider:
Live support. A good hosting service should have a team of experts who can
help you at any time. There’s no worse feeling than running into some issuesand having
to wait for days to get a response.
Control over your web hosting space. The less control you have over your
hosting account, the more likely you are to run into trouble when your sitegrows.
Room for growth. Before you choose web host, make sure it offers scalable
solutions that can provide more power (such as virtual private servers or cloudwebsite
hosting).
The next challenge is picking the right tool for uploading your website to theinternet. Here
are four of the most popular tools to upload a website:
File Manager
A file manager is a browser-based tool with all the key features to take care of your
website files and directories. If you have a Hostinger account, log into thehPanel and find
File Manager under the Files section. However, the File Manager has an upload limit. If
your website files are larger than 256MB, you should opt for the next tool instead.
For Hostinger users, you can find an Import Website feature in hPanel. You canuse this
feature to extract a website archive to the public_html directory. The tool supports .zip,
.tar and .tar.gz formats, and the upload limit is 256MB.
If you plan to use WordPress, there are several ways to upload your website to the CMS.
One of the easiest methods is using a WordPress migration plugin likeAll in One WP
Migration. After installing and activeting the plugin, the rest of the steps are self-
explanatory.
Once you’re in the public_html directory, select the Upload Files icon from
theupper-right menu.
Select the website archive file on your computer and Upload it to our server.
Right-click on the uploaded file and Extract the archived files to the
public_htmlfolder.
To prevent that from happening, you need to make sure all the files are
locatedin the root directory of your domain, which is public_html.
You can use the File Manager to move your website files. All you need to do isright-
click on the subfolder, select the Move option, and set public_html as the destination.
If your website uses a database, you’ll also need to import it along with yourwebsite files
Use the Import section to upload the backup file of your database.
Once you complete your upload, it’s time for a final check!
If your domain name is registered and already pointed to your web host,
enterthe domain name into your browser and see if it directs you to your website.
Keep in mind that DNS changes can take up to 48 hours to fully propagate
worldwide. As such, if you just pointed your domain to the web host’s nameservers,
you might need to wait for a while.
Use an online tool like whatsmydns.net to check the state of your DNS
propagation. Just enter your domain name and the tool will check the DNSrecords
against multiple name servers.
- Frontend
The frontend is everything a user sees and interacts with when they click on a link or type
in a web address. The web address is also known as at URL, or Uniform Resource
Locator, and it tells what webpage should load and appear inyour browser.
− BackEnd
Backend is all the parts that support the operation of a website or application thatcannot be
seen by the user. Arguably BackEnd is like the human brain. It processes requests,
commands, and selects the correct information to display on the screen
FRONTEND BACKEND
Frontend refers to the client-side ofthe Backend refers to the server-side ofthe
application. application.
It is the part of the website users cansee and It constitutes everything that happensbehind
interact with. the scenes.
It typically includes everything that It generally includes a web server that
attributes to the visual aspects of websites. communicates with a database to serve
requests that the frontend presents.
It forms the basis of what users can It is the brain of the website that is
touch and experience on their web never visible to the end users.
browsers.
FTF means that we always prioritise the things that matter most. That means Iwill prioritise
important customer groups, important feature groups, important information to
customers…. Specifically, what I think is the following:
● Mobile First
● Notice the first view
● Important function
● Important Information
3. Consistent
● Typography
● Distance and alignment
● Space
● Principles for presenting different types of data
Adobe XD
Sketch
InVision Studio
Axure
Craft
Proto.io
Figma
….
-> We will use Figma for this lesson
- The difference between Online Website Creation Tools and Custom Built Sites
Define - Are also known as CMS (Content - Develop a website from scratchwith
Management System) like coding. For this, you need knowledge
WordPress, Drupal, Joomlaand Wix. of some languages like HTML, CSS,
- These tools are used to build JavaScript, etc…
websites just by drag and drop.
- Don’t need any coding
knowledge.
− Website testing:
Website testing is the name for a process of testing web applications for errorsbefore
delivering the product to the customer. This step will help solve problems in website
application such as: Features, web services, security, ability to handle traffic, …
− Website testing tools:
breaksor fails. For physical products that need to withstand stress, this could involve
testing the product under heat, pressure or vibration. For softwareproducts, failure
testing might involve placing the software under high usage or load conditions.
data and analysis and developed by Walter Shewhart at Western Electric Company and
Bell Telephone Laboratories in the 1920's and 1930's. This methodology uses statistical
asthe basis for continuous improvement. TQM relies on facts, data and analysis to
support product planning and performance reviews.
- Framework
Framework is a structure that you can build software on. It serves as a foundation, so
you're not starting entirely from scratch. Frameworks are typically associated with a
specific programming language and are suited todifferent types of tasks.
- Using frameworks saves time and reduces the risk of errors. You don't need
towrite everything from the ground up, so there's less chance of introducing errors. Plus,
frameworks have already been tested, so there's less to worry about. Other advantages
include:
● More secure code
● Can be extended
- Website creation tools:
Ruby on Rails, Angular JS, Bootstrap, Spring, Cake PHP, Laravel, Xamarin,Apache
Spark.
One of the easiest and fastest ways to improve website queuing is to edit titletags. Having a
website with an appropriate title makes it possible for search
engines to know what each page is about. It will also increase the number of visits to your
website which will generate more leads for your website.
● Website Content Optimization
Implemented a number of changes including linking urls through a text, usingtitle tags
where applicable, adding alt + title tags to your images, writing a fewintros for page by
page
Providing information about your phone number , email , information about your business
can also be beneficial for users who want to search for somethingin a particular place.
● Hosting upgrade
If your website has heavy images and videos, but your readers can be from allover the
world, then perhaps you should consider using a content delivery network (CDN).
CloudFlare to upgrade loading speed and user experience. If your site is aimed at users in
a particular area, you should place your host as close to that area as possible.
Use CSS dropdowns to restructure the navigation so it's neat, and there shouldbe a parent
page for small sections of the site. Use the spreadsheet to record thecurrent sitemap and the
new sitemap.
● Switch to WordPress
Ease of use, plenty of customization options, and a supportive community ofdevs and
enthusiasts make WordPress my favourite.
In my opinion, Flash is really a bad choice. It can't display on most mobile devices and is
good too long to load for impatient customers. That aside, jQuery can provide many of
the same benefits as Flash but is much lighter andvery user-friendly as well as most
mobile devices.
● Code cleanup
Some tools to use such as: Firebug of Firefox, GT Metrix Performance tool or Google
Webmaster. These tools will point out errors and provide guidelines forimproving your
site's performance.
Decide what you want your users to do when they visit your website. Then focus
everything around it and highlight this on your website. The user will beguided naturally to
the point you want and you will get amazing results.
However, you're sure to try out different highlights to see which is the best option.
● Design upgrade
Please upgrade your website to become professional, clean representing yourcompany to give
users the most impressive experience.
● Login
● Insert product
● Display product
● Edit product
● Delete product
● Delete customer
● Delete admins account
● Update admins account
● Display customer
● Display admins account
- Technology used:
- ERD:
- Database Diagram
2.3 Website interface design
- Interface design pages
Customer
Page Image
homePa
ge
Send
infor to
admin
site
Admin
Page Image
Login
admin
Dasboard
Admin
Product Page
Insert
page
Update
Page
User
Page
Update
User page
Customer
page
- Figma:
https://www.figma.com/file/XP8WHwMyRVmDsXu62Olpuc/Untitled?node-
id=1%3A27&t=XANj7bn4leK2TNRl-1
+ Create products
+ Show products
+ Product update
+ Delete product
+ send information
+ Users after logging in can still exit the login screen themselves without the "logout" key
Product
page
Admin
Page Image
SIGNUP
PAGE
LOG IN
PAGE
Insert
PRODUCT
Update
page
DELETE
product
Delete
customer
DELETE
ADMIN
UPDATE
ADMIN
Admin
Username:dangthibi CLICK LOGIN PASS PASS
nh123@gmail.com
Pass: binhcute123
Email:dangthibi CLICK LOGIN FAIL PASS
nh123@gmail.c
om
Pass: 111112
(pass wrong)
- Test Plan:
Test What is How Test Expected Date Actual Action
testing date result results taken
TC1 Create Insert Dec2 The 1/01/2023 PASS None
phone information informationof
new phone phone are up
to
home page
TC2 Update Update price Dec3 Show the 1/01/2023 PASS None
phone and update home
descriptions page
“Iphone14”
TC3 Delete Delete Dec4 The phone 1/01/2023 PASS None
phone phone has deleted
“Iphone14”
TC4 Search Search Dec5 Show all 1/01/2023 PASS None
phone “Iphone” phones have
name name
“Iphone”
IV. References
- Web Development - GeeksforGeeks
- Search Engine Land - News, Search Engine Optimization (SEO), Pay-
Per-Click(PPC)