Lecture-01 - Course Introduction
Lecture-01 - Course Introduction
CS3193
https://github.com/mzsabir/WAD-2--FALL-2024
2
Attendance can be held any time during the
class.
Students present in the class, will only be
marked as PRESENT
3
It is strictly prohibited to
use phone in the class.
4
Assessment Marks Total Weight
Quizzes 20 20%
Assignment * 20 20%
1 Midterm 20 20%
1 Final 40 40%
6
Feel free to contact me for any issues that
you may face regarding this course:
▪ Muhammad Zeeshan Sabir
▪ Email: zeeshan.sabir@cust.edu.pk
7
This course gives you the overview about:
▪ What is Web Application Programming?
▪ What are front end technologies for Web?
▪ What are the fundamental architectural elements
of web programming to produce dynamic
content?
▪ How to develop web services & Consume APIs?
• HTML
• CSS
• Bootstrap
• Javascript, jQuery
• AJAX and JSON
• PHP/C#
• MySQL
• Laravel
Recommended Books
▪ PHP and MySQL for Dynamic Web Sites
▪ LARRY ULLMAN
▪ PHP: The Complete Guide for Beginners to
Advanced Detailed Approach
▪ By MG Martin
Wikipedia: http://en.wikipedia.org/wiki/Internet
The Transmission Control Protocol (TCP) is one of
the core protocols of the Internet Protocol Suite.
IP protocol used to locate devices/computers on
interent
Each device has an IP address
Set of servers that translate names to IP addresses
▪ Example: www.facebook.com → 174.123.78.18
Wikipedia: http://en.wikipedia.org/wiki/Domain_Name_System
World Wide Web ≠ The Internet
The Internet is a hardware and software infrastructure that
provides connectivity between computers.
In contrast, World Wide Web is one of the services that run
on the Internet.
Wikipedia: http://en.wikipedia.org/wiki/World_Wide_Web
Computer running web server software that listens for web
page requests on TCP port 80
Popular web server software:
▪ Apache
Wikipedia: http://en.wikipedia.org/wiki/Web_server
Software application that displays web pages
Popular Web Browsers:
▪ Mozilla Firefox
▪ Microsoft Internet Explorer (IE): part of Windows
▪ Apple Safari: part of Mac OS
▪ Opera
▪ Google Chrome
Wikipedia: http://en.wikipedia.org/wiki/Web_browser
HTTP is the foundation of data communication for the World
Wide Web.
Wikipedia: http://en.wikipedia.org/wiki/Http_protocol
The web server returns a special "error code" number to the
browser, possibly followed by an HTML document
Common Status Codes:
▪ 200 OK
▪ 301 Page has moved
▪ 403 You are forbidden to access this page
▪ 404 Page not found
▪ 500 Internal server error
Wikipedia: http://en.wikipedia.org/wiki/Http_error_codes
Uniform Resource Locator (URL) is an identifier for the
location of a resource on the Internet.
Basic URL:
http://www.cust.edu.pk/Faculties/tabid/56/Default.aspx
Upon entering this URL into the browser, it would:
▪ ask the DNS server for the IP address of www.cust.edu.pk
▪ connect to that IP address at port 80
▪ ask the server to GET /Faculties/tabid/56/Default.aspx
▪ display the resulting page on the screen
Wikipedia: http://en.wikipedia.org/wiki/Url
Web Browser
Client Side
TCP/IP
• HTML
• CSS HTTP
Database
• JavaScript • MySQL
• Oracle
Web Browser • MS SQL
TCP/IP TCP/IP
Client Side
• HTML HTTP HTTP
DNS
• CSS
Web Pages / Files
• JavaScript
HTTP
Web Browser TCP/IP
Client Side Web Server (Apache or IIS)
• HTML Server Side
• CSS • PHP
• JavaScript • ASP.NET
• JSP/EJB, etc
The rule-making body of the Web is the W3C.
W3C stands for the World Wide Web Consortium.
W3C puts together specifications for Web standards.
The most essential Web standards are HTML & CSS.
http://www.w3.org/
BENEFITS LIMITATIONS
Frameworks/Libraries:
MySQL: Database