Lec 01 - Web Development Introduction
Lec 01 - Web Development Introduction
ALshmowkh dev.
What will we learn?
Develop website
Coding web page
Interactive dynamic pages
ALshmowkh dev.
To build a website you must learn:
Mainly
HTML
CSS
JavaScript
Secondary
React
Angular
Nodejs
ALshmowkh dev.
Terminology
Name of course description
Why should the cybersecurity student learn this course?
What is:
Browser
Web
Web page
Website Addressing
Net Link or URL
Network Protocol
Internet http(s)
ALshmowkh dev.
Understanding Web Development
Web development, or Web programming, refers to the design of software applications for a Web site
The Webmaster is responsible for:
The day-to-day maintenance of a Web site
Monitoring Web site traffic and ensuring that the Web site’s hardware and software are running properly
Knowledge of Web page design, authoring, and development
ALshmowkh dev.
Introduction to Web Development
ALshmowkh dev.
Web
So this is the reason why you’re here ! To learn how to build webpages
(Website) to share some resources and services on the web.
j
Remember that : Internet and web are different.
ALshmowkh dev.
Introduction to Web Development
ALshmowkh dev.
Introduction to Web Development
ALshmowkh dev.
Client / Server Architecture
ALshmowkh dev.
The Internet and the Web
• The World Wide Web was invented by English scientist Tim Berners-
Lee in 1989 while working for CERN.
ALshmowkh dev.
Web 2.0 and Web 3.0
• Web 3.0 is the Semantic Web – where automated agents can access
the web intelligently through understanding the meaning of content,
etc., and achieved through meta-data
ALshmowkh dev.
Browser and Servers
• Servers are computers which host the files and data required to
present websites (These are normally in the form of Web Hosting).
• Browsers allow users to navigate the world wide web using a GUI.
While headless browsers exist they are uncommon for the general
consumer.
ALshmowkh dev.
Web page vs Website
ALshmowkh dev.
Domain Names
ALshmowkh dev.
Domain Names Cont
• Some domain names are open to all (e.g. .com, .net, .co.uk etc).
ALshmowkh dev.
Web Communication Protocols
A host refers to a computer system that is being
accessed by a remote computer
A domain name is a unique address used for
identifying a computer such as a Web server on the
Internet
The domain identifier identifies the type of
institution or organization (.biz, .com, .edu, .org)
An Internet Protocol, or IP address, is another way to
identify computers or devices connected to the
Internet
ALshmowkh dev.
Web Communication Protocols
ALshmowkh dev.
Web Communication Protocols
http://www.google.com/help/index.html
Sample URL
ALshmowkh dev.
Web Communication Protocols
ALshmowkh dev.
Front-end Developer
ALshmowkh dev.
Back-end Developer Server-side Developer
ALshmowkh dev.
Really, it depends where you work…
• Most Web Agencies tend to have less precise job roles. Whereas a
company developing in-house software is likely to have more
specific roles.
• You will normally find yourself falling into one of these roles as you
develop as an expert in the field. For example, if you find yourself
enjoying CSS and JS then it’s probably likely you’ll be a front-end
developer.
ALshmowkh dev.
Which editors/IDEs should you be using?
ALshmowkh dev.
Web page main areas
1. Banner
2. Header
3. Side panel
1. Left side
2. Right side
3. Top
4. Bottom
4. Body
5. Footer
ALshmowkh dev.
What we need to build a web app
Frontend tools
Html
CSS
JavaScript
Backend
Nodejs, php or python
Database
ALshmowkh dev.
HTML
Introduction to HTML
• The HTML syntax includes a range of tags. These tags are often
treated differently by the web browser and can be used to describe
the content of “blocks” on the page.
ALshmowkh dev.
Basic HTML Syntax
HTML documents are text documents that contain formatting instructions called tags
HTML tags include:
Formatting commands (boldface or italic)
Controls that allow user input (option buttons or check boxes)
Tags are enclosed in brackets (< >) and consist of an opening tag and a closing tag
Tutorial for learning HTML
http://www.htmldog.com/
http://www.w3schools.com/html/DEFAULT.asp
ALshmowkh dev.
HTML Tags and Structure
• HTML tags are almost always split into opening and closing
tags. Within these two tags you would add the content. For
example…
ALshmowkh dev.
HTML Elements - Paragraph
• Block element
ALshmowkh dev.
HTML Elements - Headings
• Block element
• H1 is top level and the largest font size, H6 is the bottom level
and smallest font size.
• Each page on a website should only have one H1 tag (for SEO
purposes)
ALshmowkh dev.
HTML Elements - Lists
• <ul>
• <li>Text goes here</li>
• </ul>
• Unordered lists (UL) are used for a collection of items that appear
in no particular order.
• Ordered lists (OL) are used for lists where the sequence is
important (e.g. tutorial steps)
ALshmowkh dev.
More inline elements
Tag Description
<a href=“”> … </a> Link
<br/> Page break
<code> … </code> Computer code sample
<em> … </em> Emphasised text
<u> … </u> Underlined text
<i> … </i> Italic
<b> … </b> Bold
<strong> … </strong> Bold – for emphasis
<small> … </small> Small print
ALshmowkh dev.
HTML
Tags:
https://www.w3schools.com/tags/default.asp
https://www.w3schools.com/tags/ref_byfunc.asp
attributes:
https://www.w3schools.com/tags/ref_attributes.asp
https://www.w3schools.com/tags/ref_standardattributes.asp
Events:
https://www.w3schools.com/tags/ref_eventattributes.asp
ALshmowkh dev.
Page layout desgin
Methods
1. Table
2. Frame
3. Flex
4. …
ALshmowkh dev.
HTML Layout Elements
HTML has several semantic elements that define the different parts of a web page:
ALshmowkh dev.
HTML Elements - Headings
• Block element
• h1 is top level and the largest font size, h6 is the bottom level and
smallest font size.
ALshmowkh dev.
DOM
ALshmowkh dev.
CSS
CSS properties:
https://www.w3schools.com/cssref/css_selectors.php
CSS selector:
https://www.w3schools.com/cssref/css_selectors.php
ALshmowkh dev.
Introduction to HTML5
ALshmowkh dev.
HTML5 Semantics
• They include:
<header>, <footer>, <aside>, <nav>
<audio>, <video>, <picture>
<progress>, <time>, <date>, <address>, <figure>
ALshmowkh dev.
XHTML Document Type Definitions (DTDs)
ALshmowkh dev.
Then there’s JavaScript…
ALshmowkh dev.
JavaScript and Client-Side Scripting
ALshmowkh dev.
Publishing Your Web Site
Web Hosting:
The publication of a Web site for public access
Internet access (cable modem, DSL, satellite, dial-up modem, ISP)
Internet Service Provider (ISP):
Provides access to the Internet along with other types of services such as e-mail
ALshmowkh dev.
Publishing Your Web Site (continued)
ALshmowkh dev.
Publishing Your Web Site
ALshmowkh dev.
Publishing Your Web Site
ALshmowkh dev.
Publishing Your Web Site
ALshmowkh dev.
Publishing Your Web Site
ALshmowkh dev.
How to build a web app
How to make a web app in 12 steps (4 stages):
ALshmowkh dev.
Web development process
ALshmowkh dev.
Textbooks Candidate
1. Learning Web Design: A beginner’s Guide To HTML, CSS, Javascript, and Web Graphics
2. Front-End Web Development
3. Sams Teach Yourself HTML, CSS, and JavaScript All in One, Third Edition by Julie C. Meloni, Jennifer Kyrnin
ALshmowkh dev.
Class project
• You are expected to complete all these activities. Additional support for
content covered in activities won’t be provided for those who don’t
complete the activities!
ALshmowkh dev.
Assessments
ALshmowkh dev.
Assessment
• You should use the techniques you have learnt during the in-class
activities to complete this assessment.
• The grade for this assessment is worth 30% and you have 2,000 words
for the report component.
ALshmowkh dev.