• No results found

Lec 01 Introduction.pptx

N/A
N/A
Protected

Academic year: 2020

Share "Lec 01 Introduction.pptx"

Copied!
57
0
0

Loading.... (view fulltext now)

Full text

(1)

1

CS428 Web Engineering

Lecture 01

Overview

(2)

COURSE OBJECTIVE

To produce dynamic, animated, interactive, database driven

websites.

Familiarize students with WEB application development

tools and environment.

• Teach the concepts, principles and methods of web engineering.

Students will also learn MVC based Laravel PHP Framework

to create dynamic web applications.

(3)

LEARNING OUTCOMES

Identify candidate tools and technologies for developing web applications.

Develop responsive design interfaces for web

applications.

To produce dynamic web applications using

Laravel PHP Framework.

(4)

COURSE OVERVIEW

The course will consist of:

Ϟ 30-32 Lectures (1 hour each) Ϟ 15-16 Labs (2 hour each)

Ϟ 2 Assignments Ϟ 1 Project

Ϟ 2 Quizzes

Ϟ 2 Exams (Midterm and Final)

Work Load:

(5)

Evaluation Criteria

Assignment/Quiz (5 %)

Lab (15 %)

Project (20 %)

Midterm Exam (20 %)

During the 8th week.

Duration: 1.5 hour.

Will cover all material covered during the first seven weeks.

Final Exam (40 %)

During the 16th week.

Will cover whole of the course with a slight emphasis on

the material cover after the midterm exam.

(6)

BOOKS

Course Text Book

Web Engineering: A Practitioner’s Approach by Roger Pressman and David Lowe,

McGraw-Hill, 2009

Lab Text Book

Web 2.0 Architectures: What Entrepreneurs

(7)

Grading Scale

Grade Marks GPA

A 85 – 100 4.0

A- 80 – 84 3.7 – 3.9

B+ 75 – 79 3.5 – 3.7

B 70 – 74 3.0 – 3.4

C+ 65 – 69 2.5 – 2.9

C 60 – 64 2.0 – 2.4

D+ 55 – 59 1.5 – 1.9

D 50 – 54 1.0 – 1.4

(8)

SOFTWARES

Web Server (Apache)

Database (MySQL)

Framework (Laravel)

Text Editor (Notepad ++, PhpStorm)

http://notepad-plus-plus.org/

(9)

Programming Languages

HTML5

CSS3

JavaScript

jQuery

AJAX

(10)

Framework

Bootstrap (CSS framework)

Angular JS (Client side framework)

(11)

Instructor Introduction

Course Instructor:

Yasir Naeem Sherwani

Email Address:

[email protected]

Contact Hours:

Tue, Wed, Thu, Sat (12pm – 4pm)Friday (10am – 12pm)

(Room # CS-102)

Course web page:

(12)

Web Programming vs Web Engineering

Web Programming:

More focus on programming of HTML, CSS, JavaScript

and PHP only.

Web Engineering

It is advanced course.

Web Programming is prerequisite of web

engineering.

More concentration on currently available web

application development tools and framework.

(13)

Today’s computer are more useful and the

reason behind it is Internet.

Internet is huge network of computers, who

can talk to each other 24 hours a day.

ARPANET was born in 1969.

Develop for US Department of Defense Advanced Research Projects Agency.

(14)

The main purpose to combine all small

isolated networks in USA means to form a

network of networks.

ARPANET make possible 60,000 computers

(15)

A number of other networks were developed

during the late 70s and 80s, BITNET and CSNET. For variety of reasons, neither BITNET nor

CSNET became a dominant national network.

A new national network, NSFnet was created in

(16)

By 1990, NSFnet had replaced ARPAnet for

most non-military uses.

By 1992, NSFnet connected more than 1

million computers around the world.

(17)

Internet is network of networks.

A large number of networks, interconnected physically

Capable of communicating and sharing data with each other

From the user’s point view, Internet – a collection of interconnected networks – looks like a single, unified network

(18)
(19)

19

Packet (1)

The smallest unit of data transmitted over a

computer network

A message to be transferred over the network is

broken up into small packets by the sending computer

Each packet contains the following info:Sender's address

Destination address

Data

(20)

20

Packet (2)

All packets travel independently

When all packets are received by the destination

computer, it reassembles them to form the

(21)

21

Protocols

Networks use protocols, or rules, to exchange info

through shared channels

Protocols prevent collisions of packets caused by simultaneous transmission between two or more computers

Several protocols are available for various types of

(22)

22

Internet Networking Protocols

Communications on the Internet is controlled by a set of two protocols:

(23)

23

TCP/IP (1)

Transmission Control Protocol/Internet Protocol

Networking protocol used by all computers and

networks on the Internet

Originally developed by the US DoD for Unix, but

(24)

24

TCP/IP (2)

Transmission Control Protocol/Internet Protocol

TCP breaks down the message to be sent over the

Internet into packets

IP routes these packets through the Internet to

get them to their destination

When the packets reach the destination

(25)

WORLD WIDE WEB - 1989

In 1989 the World Wide Web is developed.

Tim Berners Lee, British Physicist at the CERN

in Geneva started an idea there.

He somehow wanted to make it simple for his

colleagues to share there documents.

(26)

World wide web is a way of accessing information

over the internet. The web uses HTTP protocol.

The documents are formatted in a markup

language called HTML that supports links to other documents, as well as graphics, audio, and video files.

Web Browser like Netscape Navigator and

(27)

27

(28)

28

Internet Services

There are many, but we will look at only the following:

FTP

Telnet Web eMail

(29)

CLIENT AND SERVER ARCHITECTURE

Internet is based on client server architecture.

On internet we have two types of computers

some are called client and some are called server.

Server computer is those who serves or

(30)

Client is user’s computer.

Example: your personal desktop pc is client,

and the websites (www.yahoo.com) which is resided on computer is server computer.

(31)

CLIENT-SERVER MODEL

Client A

Internet

Server X

Client C Client

(32)

DEKTOP SOFTWARE & WEB BASED

SOFTWARE

SOFTWARE is group of components, which are

written in any programming language.

These components/modules together solved a purpose or task.

Desktop Software

(33)

Desktop Software: They reside at your local computer and execute only at your local

computer e.g. Any program developed through

MS Excel, MS Word

Web-based Software: they reside on a server

machine.

There are different programming languages

present through which we can create software.

(34)

Some programming languages are designed to develop only desktop software and some are designed to develop web-based apps only.

(35)

WHAT IS A WEBSITE?

A collection of related documents/pages available on

the Web

The first portion of the URLs in the Web pages of a

Web site is the same e.g.

http://www.uol.edu.pk/http://www.uol.edu.pk/cs

http://www.uol.edu.pk/cs1010

(36)

What is a URL?

Uniform Resource Locator

The unique address assigned to each unique

(37)

URL

URL stands for Uniform Resource Locator.

Is a way of specifying the location of resource

on internet.

Resource can be a web page, image, file of

some kind.

(38)

URL

URL looks like this:

http://www.bw.org:80/object?query#location

Scheme: specifies the protocol being used most

URL for web pages will be either http or https.

Host: is the IP address of the host server.

Scheme Host Port Path Query

(39)

Port: is the TCP port number, default port number is 80 for http scheme, normally emit port number and colon before it.

Path: field is the path of the object that specify, typically it look likes a unix file path. and it always begin with /

Query String: is we passed on the software running on the server, its typically used CGI, PHP queries.

Fragment Identifier: is used to jump to location within a page or other resource.

(40)

EXAMPLE

http://www.bw.org/

This URL specifies a host name and path is

single slash (/) indicating the root directory. It is often default if you emit path.

http://www.bw.org/contact/

(41)

Relative URL

Filename.html

This is called relative URL. In this case web

(42)

42

IP Address (1)

A unique identifier for a computer on a TCP/IP

network

Format: four 8-bit numbers separated by periods.

Each 8-bit number can be 0 to 255

Example:

(43)

43

IP Address (2)

Networks using TCP/IP route messages based on

the IP address of the destination

Any IP addresses (as long as they are unique) can

be assigned within a Private Network

However, connecting a Private Network to the

(44)
(45)

45

Domain Names

IP addresses are fine for computers, but difficult

to recognize and remember for humans

A domain name is a meaningful,

easy-to-remember ‘label’ for an IP address

Examples:

180.150.151.104 www.uol.edu.pk

(46)

A fully qualified domain name can be made up of a top level domain (TLD), second level domain (SLD).

Seven popular Top Level Domains are:

.com, .edu, .org, .gov, .net, .countryname, .int

SLDs represent the name of a company/institution/

entity

Subdomains represents the functional unit of a

(47)

cs . uol . edu . pk

Sub

(48)

COMPONENTS OF A WEBSITE

48

index.html page1.html page2.html page3.html

(49)

BROWSER AND WEB SERVER

Browser is a desktop software, through which you

access web pages.

Examples:

Internet Explorer, Mozilla Firefox, Google Chrome, Opera, Netscape Navigator etc…

Web server is a software that facilitate the user’s request for a webpage.

Examples:

(50)

50

CLIENT COMPUTER

Web Browser (IE, Opera, Mozilla, Google Chrome…)

SERVER COMPUTER

Web Server (IIS, Apache…)

Website 1 Website 2 Website 3

Web pages Web pages Web pages

requ est

(51)

SERVER SIDE PROGRAMMING

Server side programming means the program

we write to build back end of a website.

Server side programming languages are those

languages which fulfill the request of client after performing some action.

(52)

CLIENT SIDE PROGRAMMING

Client side programming means the program

which we write to build front end of a website.

Client side programming languages are those

languages which execute on client machine.

Examples: JavaScript, HTML, CSS

(53)

What is an HTML File?

HTML stands for Hyper Text Markup Language.

An HTML file is a text file containing small markup tags

The markup tags tell the Web browser how to display

page.

An HTML file must have an .htm or .html file

extension.

An HTML file can be created using a simple text editor .

(54)

An HTML tags are case-insensitive

Note: If you want to follow the latest web standards, you should always use lowercase tags.

(55)

HTML is originally based on SGML (Standard

Generalized Markup Language).

Hyperlinks are fundamental capability of

HTML, this is what makes the web go round.

(56)

Versions of HTML

There are several versions of HTML available.

Good news all the browsers support all the versions.

HTML 2.0 (1995) first standardized version

HTML 3.2 (1997)Approved by www consortium

HTML 4.01 (1998) clear the issues in previous

version

(57)

HTML5

WHATWG – The Web Hypertext Application

Technology Working Group

W3C favored XHTML 2.0

HTML5 is actually group of related

technologies, which HTML is part, these technologies including DOM, working with

References

Related documents

The analysis then turns to highlight the importance of harnessing the momentum from other global initiatives such as CEDAW (Convention on the Elimination of All Forms of

Optimized for specific device capabilities (smaller and touch-enabled screens, GPS, gyroscope,1.

If you do not qualify for the plan you’ve chosen from this brochure or if you have discontinued group coverage, please contact your Blue Cross and Blue Shield of

Tier 1: $15 copay *; Tier 2: $30 copay *; Tier 3: $60 copay *; Tier 4: 40% coinsurance* $4,000 OOP maximum per member per year *If a brand drug is chosen when generic

Lifepaths 1st Term Length Benefits Special Rules Hazardous Duty Rank 2nd Term Length Benefits Special Rules Hazardous Duty Rank 3rd Term Length Benefits

Not need developers can develop applications developed application developer, best software development tool in files like jessica loves playing guitar will start.. You exactly

Candidates are required to pay the respective fees or generate challan (In case of payment through SBI Challan) and keep a copy of the same in the given time (i.e before last date of

families t he make up of same-sex and gender diverse parented families in australia varies immensely: blended families with children from previous, sometimes heterosexual,