SlideShare uma empresa Scribd logo
1 de 55
Baixar para ler offline
Fundamentals of WebHigh level overview of web concepts
Lemİ Orhan Ergİn
Principal software Engineer @ Sony
guide for non-developers
The aim of this training is to let you
•know concepts of web and web applications
•understand how web based software works
•understand the technical discussions better
•and answer your questions:)
agenda
•Web Concepts
Http/Https, Cookies, Caches, Forms, Html, Javascript, CSS, Request/
Response, Responsive Web Design
•Infrastructure
Servers, Databases, Load Balancers
web concepts
The Internet is a global system of interconnected
computer networks
www, email, social networking, file transfer, online
chat, commerce, game playing, teleconferencing,
VoIP, video on demand etc.
Internet is tangible network of computers
sharing/exchanging information with the help of
PROTOCOLS.
Internet
Protocol
Protocol is a form of etiquette.
Internet Protocols are the standards, designed to
specify how computers interact and exchange
messages over internet.
Protocols usually specifies:
The format of the messages &
how to handle errors
Open systems ınter-connection (OSI) model
is a conceptual model that describes the internal
architecture of a communications system by splitting
its components into abstraction layers.
tcp model
This model is a condensed version of the OSI model
and only has four layers. It is considered as standard
around internet.
http model
It stands for HypertextTransfer Protocol.
HTTP provides a set of rules and standards that
govern how information is transmitted on the World
Wide Web.
http://www.sony.co.uk
http model
HTTP is a client-server protocol by which two
machines communicate using a reliable, connection-
oriented transport service such as theTCP.
Opens a tcp/ip connection via sockets
Transmits the request for a document
Waits for a reply from the server
Once the response is arrived, the socket is closed
Request
Response
http model
There is no memory between client connections.
Pure HTTP server treats every request as if it was
brand-new (i.e. Stateless)
To load faster, Http pages are stored in your
computer and internet caches.You don’t have control
over some caches like the ones in proxies.
PORT NUMBERS
A port is an endpoint to a logical connection and the
way a client program specifies a specific server
program on a computer in a network
Port numbers range from 0 to 65536, but the first 1024 are reserved for privileged services.
The other ports could be used by any application.
HTTP: 80
SSH: 443
TELNET: 23
Privacy: Anyone can see the content
Integrity: Anyone can alter the content
Authentication: Authentication is sent in clear form
Stateless: Need to maintain information across
multiple request-responses
http Limitations
HTTPS stands for HypertextTransfer
Protocol over Secure Socket Layer, or
HTTP over SSL.
SSL acts like a sub layer under regular
HTTP application layering.
HTTPS encrypts an HTTP message
prior to transmission and decrypts a
message upon arrival.
httPS
HTTPS by default uses port 443 as opposed to the standard HTTP
port of 80.
URL's beginning with HTTPS indicate that the connection between
client and browser is encrypted using SSL
SSL transactions are negotiated by means of a key based encryption
algorithm between the client and the server, this key is usually either
40 or 128 bits in strength (the higher the number of bits the more
secure the transaction).
httPS
https://login.yahoo.com/config/login_verify?src=ym
SSL HANDSHAKE
HTTP server is implemented by servers
Each client-server transaction consists of 3 main parts:
1) Request/Response line 2) Header information 3)The body
http model
there are several ways
to send a request
GET
POST
PUT
DELETE
HEAD
OPTIONS
TRACE
CONNECT
HTTP METHOD: GET
•Retrieval of information
•Server sends a representation of a resource to client
HTTP METHOD: POST
•The body of the request is accepted as a resource
•Mainly the data of forms are submitted by post
Web Content
Scripts (javascript)
Styles (css)
Pages (html)
Images (jpg, png, gif)
Web content is sent from server and browsers
renders and displays that is programmed.
Data* (xml, json)
Web Content: HTML
HyperText Markup Language (HTML) is the main
markup language for creating web pages and other
information that can be displayed in a web browser.
Web Content: Javascripts
JavaScript (JS) is an interpreted computer programming language. It was
originally implemented as part of web browsers so that client-side
scripts could interact with the user, control the browser, communicate
asynchronously, and alter the document content that was displayed.
Web Content: CSS
Cascading Style Sheets (CSS) is a style sheet language used for
describing the presentation semantics (the look and formatting) of a
document written in a markup language.
Web Content: IMAGES
Any image could be displayed in an html page. It is important to keep
the side of images small for the sake of performance.
Web Content: XML
Extensible Markup Language (XML) is a
markup language that defines a set of
rules for encoding documents in a
format that is both human-readable and
machine-readable.
Web Content: JSON
JavaScript Object Notation (JSON), is a
text-based open standard designed for
human-readable data interchange
Server
Browser
Infrastructure
Server infrastructure could be that simple!
Load Balancer
Web Servers
Load Balancer
Application Servers
Database Servers
Proxy
Browser
Servers in the
same zone does
not interact over
proxy
Zone
The content can
be cached in any
of the levels
Central Cache Servers
The infrastructure
could be simpler
than here
Server infrastructure
could be much more
complex too
Client
request - response
You request a web page and get data
Server
Client
Browser caches the content
ServerCache
200
Client
You request the same web page with
last modified date of the cached content
Server
304
Client
Since server says “content has not
changed”, the data in cache is loaded
ServerCache
1
2
3
4
Server does not return content. It just
returns status code 304
Server returns content with code 200
Caching
Any content can be cached in any infrastructural node
•Scripts (javascript)
•Styles (css)
•Pages (http pages)
•Images
•Animations (flash)
Load Balancer
Web Servers
Load Balancer
Application Servers
Database Servers
Proxy
Browser
Zone
Central Cache Servers
Returns cached scripts,
styles and content from
browser cacheRefresh By f5
Cache-­‐Control:  no-­‐cache  //  HTTP  1.1
Pragma:  no-­‐cache  //  HTTP  1.0
Expires:  Sat,  26  Jul  1988  05:00:00  GMT  //  in  past
Asks for content if cache is not set
Load Balancer
Web Servers
Load Balancer
Application Servers
Database Servers
Proxy
Browser
Zone
Central Cache Servers
Refresh By
CTRL+f5
Asks for content. Browser
cache is not used.
Load Balancer
Web Servers
Load Balancer
Application Servers
Database Servers
Proxy
Browser
Zone
Central Cache Servers
cache on
server side
Cache could be on server side
and needs to be cleaned either
automatic or manually
ajax
Acronym for Asynchronous JavaScript an XML
It is a web development technique used on the client
side to create asynchronous web applications.
ajax
Let’s see how ajax works. Fill the
following text area.
ajax
Write a text and press the button
ajax
Page is not refreshed.A new text
appears below the entry area.
Let’s look at how it works
ajax
Page is initially loaded to
your machine
Source code of the page
can be displayed within
browser
HTML Code
Document Object model
ajax
ajax
When you click on the
button, web page calls the
server from client site
(i.e. from your browser)Server
Browser
ajax
Server sends new data as response.The data
is put to object graph of the page at runtime.
ajax
Object graph is changed.The new data is
displayed on browser. But you cannot see the
new data in the source code of the page.
You can trace the response of server via
plugins like FireBug
Cookies
A cookie, also known as an HTTP cookie, web cookie,
or browser cookie, is a small piece of data sent from a
website and stored in a user's web browser while a user
is browsing a website.
Usage of Cookies
•Session Management
•Shopping Cart,Authentication
•Personalization
•Remember me, Preferences
•Tracking & Analytics
•Ads, Browsing History,Analytics,Tracking
Cookie Content
A web browser is expected to be able to store at least
300 cookies of 4 kb each, and at least 20 cookies per
server or domain.
•Cookie domain
•Path
•Expiration time or maximum age
•Secure flag
•HttpOnly flag.
•Name–value pair Data to send to server
Data to be used by browsers
to determine when to delete a
cookie, block a cookie or
accept a cookie
Setting Cookies
Cookies can not only be set by server. These can be set
by Javascript in client’s browsers (if cookie is not marked as HTTPOnly).
Forms
An HTML form on a web page allows a user to
enter data that is sent to a server for processing.
Forms
Forms can be generated in several ways
Server
Browser
Client Side
Server
Browser
Server Side
by programming languagesby javascript editing DOM
Form Validation
Forms can be validated in client side via javascript
and in server side by application.
Server Browser
Please note that validation on client
side could be bypassed easily
Responsive web design
Responsive web design (RWD) is a web
design approach aimed at crafting sites to provide
an optimal viewing experience—easy reading and
navigation with a minimum of resizing, panning, and
scrolling—across a wide range of devices (from
desktop computer monitors to mobile phones)
http://discover.store.sony.com/sportswalkman/
http://www.slideshare.net/bytte/responsive-web-design-10389263
HTML5 vs FLASH
Web browsers cannot render Flash media
themselves, instead it is rendered primarily using the
proprietary but freely available Adobe Flash Player
http://sixrevisions.com/html/html5-infographics/
http://venturebeat.com/2012/01/31/html5-versus-flash-infographic/
All web browsers support HTML and other Web
standards to various degrees.
HTML5 vs FLASH
It’s time for reading some code
http://charag.com/client/eagleriverdaycamp/v2/eagle.html
http://citwings.com/phillips_locked_room_game.html
HTML5 Animation
Flash Animation
References
http://www.slideshare.net/simplyharshad/http-vs-https
HTTP vs HTTPS
Lemİ orhan ergİn
lemiorhan@agilistanbul.com
@lemiorhan
@lemiorhan
agilistanbul.com
@lemiorhan
LINKEDINTWITTERSLIDESHAREBLOGGER
Principal Software Engineer @ Sony
Founder & Author @ agilistanbul.com

Mais conteúdo relacionado

Mais procurados

Http - All you need to know
Http - All you need to knowHttp - All you need to know
Http - All you need to knowGökhan Şengün
 
Service Oriented Architecture Luqman
Service Oriented Architecture LuqmanService Oriented Architecture Luqman
Service Oriented Architecture LuqmanLuqman Shareef
 
World wide web architecture presentation
World wide web architecture presentationWorld wide web architecture presentation
World wide web architecture presentationImMe Khan
 
Cloud computing by Luqman
Cloud computing by LuqmanCloud computing by Luqman
Cloud computing by LuqmanLuqman Shareef
 
Introduction to web designing
Introduction to web designingIntroduction to web designing
Introduction to web designingRajat Shah
 
Common Gateway Interface
Common Gateway InterfaceCommon Gateway Interface
Common Gateway InterfaceBalu Masulkar
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1ghkadous
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
introduction for web connectivity (IoT)
introduction for web connectivity (IoT)introduction for web connectivity (IoT)
introduction for web connectivity (IoT)FabMinds
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webserviceDong Ngoc
 
Industrial training report
Industrial training report Industrial training report
Industrial training report Akash Kr Sinha
 

Mais procurados (20)

Http - All you need to know
Http - All you need to knowHttp - All you need to know
Http - All you need to know
 
Service Oriented Architecture Luqman
Service Oriented Architecture LuqmanService Oriented Architecture Luqman
Service Oriented Architecture Luqman
 
World wide web architecture presentation
World wide web architecture presentationWorld wide web architecture presentation
World wide web architecture presentation
 
Cloud computing by Luqman
Cloud computing by LuqmanCloud computing by Luqman
Cloud computing by Luqman
 
Introduction to web designing
Introduction to web designingIntroduction to web designing
Introduction to web designing
 
Common Gateway Interface
Common Gateway InterfaceCommon Gateway Interface
Common Gateway Interface
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1
 
Static dynamic and active web pages
Static dynamic and active web pagesStatic dynamic and active web pages
Static dynamic and active web pages
 
Java web services
Java web servicesJava web services
Java web services
 
Www(alyssa) (2)
Www(alyssa) (2)Www(alyssa) (2)
Www(alyssa) (2)
 
Fm 2
Fm 2Fm 2
Fm 2
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
introduction for web connectivity (IoT)
introduction for web connectivity (IoT)introduction for web connectivity (IoT)
introduction for web connectivity (IoT)
 
Common Gateway Interface
Common Gateway InterfaceCommon Gateway Interface
Common Gateway Interface
 
Web technology
Web technologyWeb technology
Web technology
 
CS6501 - Internet programming
CS6501 - Internet programming   CS6501 - Internet programming
CS6501 - Internet programming
 
Webbasics
WebbasicsWebbasics
Webbasics
 
Web service introduction
Web service introductionWeb service introduction
Web service introduction
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webservice
 
Industrial training report
Industrial training report Industrial training report
Industrial training report
 

Semelhante a 446-FUNDAMENTALS OF WEB FOR NON DEVELOPERS (Useful-Knowledge)

Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web ArchitectureChamnap Chhorn
 
21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMS21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMSkoolkampus
 
Evolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser SecurityEvolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser SecuritySanjeev Verma, PhD
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Serverwebhostingguy
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Softwarewebhostingguy
 
Web Database
Web DatabaseWeb Database
Web Databaseidroos7
 
0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdfZani10
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development PresentationTurnToTech
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebservertarensi
 
01 - Web Programming Intro.pptx
01 - Web Programming Intro.pptx01 - Web Programming Intro.pptx
01 - Web Programming Intro.pptxKarina González
 
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Developmentzaidfarooqui974
 
Choice of programming language for web developing.
Choice of programming language for web developing.Choice of programming language for web developing.
Choice of programming language for web developing.Mohammad Kamrul Hasan
 
Fundamental Internet Programming.pdf
Fundamental Internet Programming.pdfFundamental Internet Programming.pdf
Fundamental Internet Programming.pdfAshenafi Workie
 

Semelhante a 446-FUNDAMENTALS OF WEB FOR NON DEVELOPERS (Useful-Knowledge) (20)

Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web Architecture
 
21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMS21. Application Development and Administration in DBMS
21. Application Development and Administration in DBMS
 
Evolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser SecurityEvolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser Security
 
WP Chap 1 & 2.pptx
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptx
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Ch-1_.ppt
Ch-1_.pptCh-1_.ppt
Ch-1_.ppt
 
Intro webapps
Intro webappsIntro webapps
Intro webapps
 
Web Database
Web DatabaseWeb Database
Web Database
 
web development process WT
web development process WTweb development process WT
web development process WT
 
Wt unit 1 ppts web development process
Wt unit 1 ppts web development processWt unit 1 ppts web development process
Wt unit 1 ppts web development process
 
web devs ppt.ppsx
web devs ppt.ppsxweb devs ppt.ppsx
web devs ppt.ppsx
 
0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development Presentation
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
01 - Web Programming Intro.pptx
01 - Web Programming Intro.pptx01 - Web Programming Intro.pptx
01 - Web Programming Intro.pptx
 
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Development
 
Choice of programming language for web developing.
Choice of programming language for web developing.Choice of programming language for web developing.
Choice of programming language for web developing.
 
Fundamental Internet Programming.pdf
Fundamental Internet Programming.pdfFundamental Internet Programming.pdf
Fundamental Internet Programming.pdf
 
mst_unit1.pptx
mst_unit1.pptxmst_unit1.pptx
mst_unit1.pptx
 

Mais de nrvalluri

454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)
454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)
454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)nrvalluri
 
386-GROWING OLDER (Philosophy of Life)
386-GROWING OLDER (Philosophy of Life)386-GROWING OLDER (Philosophy of Life)
386-GROWING OLDER (Philosophy of Life)nrvalluri
 
349-BLOOD PRESSURE CHART (Health)
349-BLOOD PRESSURE CHART (Health)349-BLOOD PRESSURE CHART (Health)
349-BLOOD PRESSURE CHART (Health)nrvalluri
 
341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)
341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)
341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)nrvalluri
 
253-INDIA-PRACTICAL-VIEW (knowledge)
253-INDIA-PRACTICAL-VIEW (knowledge)253-INDIA-PRACTICAL-VIEW (knowledge)
253-INDIA-PRACTICAL-VIEW (knowledge)nrvalluri
 
252-MATH CARTOONS (Humour)
252-MATH CARTOONS (Humour)252-MATH CARTOONS (Humour)
252-MATH CARTOONS (Humour)nrvalluri
 
044-EXCELLENT QUOTES OF WARREN BUFFET (Inspiring)
044-EXCELLENT QUOTES OF WARREN BUFFET  (Inspiring)044-EXCELLENT QUOTES OF WARREN BUFFET  (Inspiring)
044-EXCELLENT QUOTES OF WARREN BUFFET (Inspiring)nrvalluri
 
220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)
220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)
220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)nrvalluri
 
210-NO TIME FOR GOD (Reality of Life)
210-NO TIME FOR GOD (Reality of Life)210-NO TIME FOR GOD (Reality of Life)
210-NO TIME FOR GOD (Reality of Life)nrvalluri
 
207-PREVENTING CANCER GROWTH (health)
207-PREVENTING CANCER GROWTH (health)207-PREVENTING CANCER GROWTH (health)
207-PREVENTING CANCER GROWTH (health)nrvalluri
 
202-BE A GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)
202-BE A  GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)202-BE A  GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)
202-BE A GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)nrvalluri
 
200-ALL ABOUT BLOOD PRESSURE (Health)
200-ALL ABOUT BLOOD PRESSURE (Health)200-ALL ABOUT BLOOD PRESSURE (Health)
200-ALL ABOUT BLOOD PRESSURE (Health)nrvalluri
 
199-DID YOU KNOW (About Heart) ...!!! (Knowledge)
199-DID YOU KNOW (About Heart) ...!!! (Knowledge)199-DID YOU KNOW (About Heart) ...!!! (Knowledge)
199-DID YOU KNOW (About Heart) ...!!! (Knowledge)nrvalluri
 
186-WHAT STEVE SAID BY SAM (Inspiring)
186-WHAT STEVE SAID BY SAM (Inspiring)186-WHAT STEVE SAID BY SAM (Inspiring)
186-WHAT STEVE SAID BY SAM (Inspiring)nrvalluri
 
183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)
183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)
183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)nrvalluri
 
112-YOU HAVE TWO CHOICES (Reality of Life)
112-YOU HAVE TWO CHOICES (Reality of Life)112-YOU HAVE TWO CHOICES (Reality of Life)
112-YOU HAVE TWO CHOICES (Reality of Life)nrvalluri
 
181-SMILE PLEASE!!! (Reality of Life)
181-SMILE PLEASE!!! (Reality of Life)181-SMILE PLEASE!!! (Reality of Life)
181-SMILE PLEASE!!! (Reality of Life)nrvalluri
 
176-SPIRITUALITY IN THE WORK PLACE (Spiritual)
176-SPIRITUALITY IN THE WORK PLACE (Spiritual)176-SPIRITUALITY IN THE WORK PLACE (Spiritual)
176-SPIRITUALITY IN THE WORK PLACE (Spiritual)nrvalluri
 

Mais de nrvalluri (20)

A present
A presentA present
A present
 
Creation
CreationCreation
Creation
 
454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)
454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)
454-MASTER THESE 15 SIMPLE SKILLS by DAVE KERPEN (life's lessons)
 
386-GROWING OLDER (Philosophy of Life)
386-GROWING OLDER (Philosophy of Life)386-GROWING OLDER (Philosophy of Life)
386-GROWING OLDER (Philosophy of Life)
 
349-BLOOD PRESSURE CHART (Health)
349-BLOOD PRESSURE CHART (Health)349-BLOOD PRESSURE CHART (Health)
349-BLOOD PRESSURE CHART (Health)
 
341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)
341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)
341-HOW TO SURVIVE A HEART ATTACK WHEN ALONE (health)
 
253-INDIA-PRACTICAL-VIEW (knowledge)
253-INDIA-PRACTICAL-VIEW (knowledge)253-INDIA-PRACTICAL-VIEW (knowledge)
253-INDIA-PRACTICAL-VIEW (knowledge)
 
252-MATH CARTOONS (Humour)
252-MATH CARTOONS (Humour)252-MATH CARTOONS (Humour)
252-MATH CARTOONS (Humour)
 
044-EXCELLENT QUOTES OF WARREN BUFFET (Inspiring)
044-EXCELLENT QUOTES OF WARREN BUFFET  (Inspiring)044-EXCELLENT QUOTES OF WARREN BUFFET  (Inspiring)
044-EXCELLENT QUOTES OF WARREN BUFFET (Inspiring)
 
220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)
220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)
220-THE TRUTH BEHIND HOLY AMARNATH (Spiritual)
 
210-NO TIME FOR GOD (Reality of Life)
210-NO TIME FOR GOD (Reality of Life)210-NO TIME FOR GOD (Reality of Life)
210-NO TIME FOR GOD (Reality of Life)
 
207-PREVENTING CANCER GROWTH (health)
207-PREVENTING CANCER GROWTH (health)207-PREVENTING CANCER GROWTH (health)
207-PREVENTING CANCER GROWTH (health)
 
202-BE A GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)
202-BE A  GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)202-BE A  GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)
202-BE A GREAT E BOOK OF 365 INSPIRATIONAL QUOTES (inspiring)
 
200-ALL ABOUT BLOOD PRESSURE (Health)
200-ALL ABOUT BLOOD PRESSURE (Health)200-ALL ABOUT BLOOD PRESSURE (Health)
200-ALL ABOUT BLOOD PRESSURE (Health)
 
199-DID YOU KNOW (About Heart) ...!!! (Knowledge)
199-DID YOU KNOW (About Heart) ...!!! (Knowledge)199-DID YOU KNOW (About Heart) ...!!! (Knowledge)
199-DID YOU KNOW (About Heart) ...!!! (Knowledge)
 
186-WHAT STEVE SAID BY SAM (Inspiring)
186-WHAT STEVE SAID BY SAM (Inspiring)186-WHAT STEVE SAID BY SAM (Inspiring)
186-WHAT STEVE SAID BY SAM (Inspiring)
 
183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)
183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)
183-THE BEAUTY OF AGING - THE WISE OLD MAN (Philosophy)
 
112-YOU HAVE TWO CHOICES (Reality of Life)
112-YOU HAVE TWO CHOICES (Reality of Life)112-YOU HAVE TWO CHOICES (Reality of Life)
112-YOU HAVE TWO CHOICES (Reality of Life)
 
181-SMILE PLEASE!!! (Reality of Life)
181-SMILE PLEASE!!! (Reality of Life)181-SMILE PLEASE!!! (Reality of Life)
181-SMILE PLEASE!!! (Reality of Life)
 
176-SPIRITUALITY IN THE WORK PLACE (Spiritual)
176-SPIRITUALITY IN THE WORK PLACE (Spiritual)176-SPIRITUALITY IN THE WORK PLACE (Spiritual)
176-SPIRITUALITY IN THE WORK PLACE (Spiritual)
 

Último

P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxraviapr7
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxKatherine Villaluna
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice documentXsasf Sfdfasd
 

Último (20)

P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptx
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice document
 

446-FUNDAMENTALS OF WEB FOR NON DEVELOPERS (Useful-Knowledge)

  • 1. Fundamentals of WebHigh level overview of web concepts Lemİ Orhan Ergİn Principal software Engineer @ Sony guide for non-developers
  • 2. The aim of this training is to let you •know concepts of web and web applications •understand how web based software works •understand the technical discussions better •and answer your questions:)
  • 3. agenda •Web Concepts Http/Https, Cookies, Caches, Forms, Html, Javascript, CSS, Request/ Response, Responsive Web Design •Infrastructure Servers, Databases, Load Balancers
  • 5. The Internet is a global system of interconnected computer networks www, email, social networking, file transfer, online chat, commerce, game playing, teleconferencing, VoIP, video on demand etc. Internet is tangible network of computers sharing/exchanging information with the help of PROTOCOLS. Internet
  • 6. Protocol Protocol is a form of etiquette. Internet Protocols are the standards, designed to specify how computers interact and exchange messages over internet. Protocols usually specifies: The format of the messages & how to handle errors
  • 7. Open systems ınter-connection (OSI) model is a conceptual model that describes the internal architecture of a communications system by splitting its components into abstraction layers.
  • 8. tcp model This model is a condensed version of the OSI model and only has four layers. It is considered as standard around internet.
  • 9. http model It stands for HypertextTransfer Protocol. HTTP provides a set of rules and standards that govern how information is transmitted on the World Wide Web. http://www.sony.co.uk
  • 10. http model HTTP is a client-server protocol by which two machines communicate using a reliable, connection- oriented transport service such as theTCP. Opens a tcp/ip connection via sockets Transmits the request for a document Waits for a reply from the server Once the response is arrived, the socket is closed Request Response
  • 11. http model There is no memory between client connections. Pure HTTP server treats every request as if it was brand-new (i.e. Stateless) To load faster, Http pages are stored in your computer and internet caches.You don’t have control over some caches like the ones in proxies.
  • 12. PORT NUMBERS A port is an endpoint to a logical connection and the way a client program specifies a specific server program on a computer in a network Port numbers range from 0 to 65536, but the first 1024 are reserved for privileged services. The other ports could be used by any application. HTTP: 80 SSH: 443 TELNET: 23
  • 13. Privacy: Anyone can see the content Integrity: Anyone can alter the content Authentication: Authentication is sent in clear form Stateless: Need to maintain information across multiple request-responses http Limitations
  • 14. HTTPS stands for HypertextTransfer Protocol over Secure Socket Layer, or HTTP over SSL. SSL acts like a sub layer under regular HTTP application layering. HTTPS encrypts an HTTP message prior to transmission and decrypts a message upon arrival. httPS
  • 15. HTTPS by default uses port 443 as opposed to the standard HTTP port of 80. URL's beginning with HTTPS indicate that the connection between client and browser is encrypted using SSL SSL transactions are negotiated by means of a key based encryption algorithm between the client and the server, this key is usually either 40 or 128 bits in strength (the higher the number of bits the more secure the transaction). httPS https://login.yahoo.com/config/login_verify?src=ym
  • 17. HTTP server is implemented by servers Each client-server transaction consists of 3 main parts: 1) Request/Response line 2) Header information 3)The body http model
  • 18. there are several ways to send a request GET POST PUT DELETE HEAD OPTIONS TRACE CONNECT
  • 19. HTTP METHOD: GET •Retrieval of information •Server sends a representation of a resource to client
  • 20. HTTP METHOD: POST •The body of the request is accepted as a resource •Mainly the data of forms are submitted by post
  • 21. Web Content Scripts (javascript) Styles (css) Pages (html) Images (jpg, png, gif) Web content is sent from server and browsers renders and displays that is programmed. Data* (xml, json)
  • 22. Web Content: HTML HyperText Markup Language (HTML) is the main markup language for creating web pages and other information that can be displayed in a web browser.
  • 23. Web Content: Javascripts JavaScript (JS) is an interpreted computer programming language. It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.
  • 24. Web Content: CSS Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics (the look and formatting) of a document written in a markup language.
  • 25. Web Content: IMAGES Any image could be displayed in an html page. It is important to keep the side of images small for the sake of performance.
  • 26. Web Content: XML Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
  • 27. Web Content: JSON JavaScript Object Notation (JSON), is a text-based open standard designed for human-readable data interchange
  • 29. Load Balancer Web Servers Load Balancer Application Servers Database Servers Proxy Browser Servers in the same zone does not interact over proxy Zone The content can be cached in any of the levels Central Cache Servers The infrastructure could be simpler than here Server infrastructure could be much more complex too
  • 30. Client request - response You request a web page and get data Server Client Browser caches the content ServerCache 200 Client You request the same web page with last modified date of the cached content Server 304 Client Since server says “content has not changed”, the data in cache is loaded ServerCache 1 2 3 4 Server does not return content. It just returns status code 304 Server returns content with code 200
  • 31. Caching Any content can be cached in any infrastructural node •Scripts (javascript) •Styles (css) •Pages (http pages) •Images •Animations (flash)
  • 32. Load Balancer Web Servers Load Balancer Application Servers Database Servers Proxy Browser Zone Central Cache Servers Returns cached scripts, styles and content from browser cacheRefresh By f5 Cache-­‐Control:  no-­‐cache  //  HTTP  1.1 Pragma:  no-­‐cache  //  HTTP  1.0 Expires:  Sat,  26  Jul  1988  05:00:00  GMT  //  in  past Asks for content if cache is not set
  • 33. Load Balancer Web Servers Load Balancer Application Servers Database Servers Proxy Browser Zone Central Cache Servers Refresh By CTRL+f5 Asks for content. Browser cache is not used.
  • 34. Load Balancer Web Servers Load Balancer Application Servers Database Servers Proxy Browser Zone Central Cache Servers cache on server side Cache could be on server side and needs to be cleaned either automatic or manually
  • 35. ajax Acronym for Asynchronous JavaScript an XML It is a web development technique used on the client side to create asynchronous web applications.
  • 36. ajax Let’s see how ajax works. Fill the following text area.
  • 37. ajax Write a text and press the button
  • 38. ajax Page is not refreshed.A new text appears below the entry area. Let’s look at how it works
  • 39. ajax Page is initially loaded to your machine Source code of the page can be displayed within browser
  • 41. ajax When you click on the button, web page calls the server from client site (i.e. from your browser)Server Browser
  • 42. ajax Server sends new data as response.The data is put to object graph of the page at runtime.
  • 43. ajax Object graph is changed.The new data is displayed on browser. But you cannot see the new data in the source code of the page. You can trace the response of server via plugins like FireBug
  • 44. Cookies A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a small piece of data sent from a website and stored in a user's web browser while a user is browsing a website.
  • 45. Usage of Cookies •Session Management •Shopping Cart,Authentication •Personalization •Remember me, Preferences •Tracking & Analytics •Ads, Browsing History,Analytics,Tracking
  • 46. Cookie Content A web browser is expected to be able to store at least 300 cookies of 4 kb each, and at least 20 cookies per server or domain. •Cookie domain •Path •Expiration time or maximum age •Secure flag •HttpOnly flag. •Name–value pair Data to send to server Data to be used by browsers to determine when to delete a cookie, block a cookie or accept a cookie
  • 47. Setting Cookies Cookies can not only be set by server. These can be set by Javascript in client’s browsers (if cookie is not marked as HTTPOnly).
  • 48. Forms An HTML form on a web page allows a user to enter data that is sent to a server for processing.
  • 49. Forms Forms can be generated in several ways Server Browser Client Side Server Browser Server Side by programming languagesby javascript editing DOM
  • 50. Form Validation Forms can be validated in client side via javascript and in server side by application. Server Browser Please note that validation on client side could be bypassed easily
  • 51. Responsive web design Responsive web design (RWD) is a web design approach aimed at crafting sites to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from desktop computer monitors to mobile phones) http://discover.store.sony.com/sportswalkman/ http://www.slideshare.net/bytte/responsive-web-design-10389263
  • 52. HTML5 vs FLASH Web browsers cannot render Flash media themselves, instead it is rendered primarily using the proprietary but freely available Adobe Flash Player http://sixrevisions.com/html/html5-infographics/ http://venturebeat.com/2012/01/31/html5-versus-flash-infographic/ All web browsers support HTML and other Web standards to various degrees.
  • 53. HTML5 vs FLASH It’s time for reading some code http://charag.com/client/eagleriverdaycamp/v2/eagle.html http://citwings.com/phillips_locked_room_game.html HTML5 Animation Flash Animation