SlideShare a Scribd company logo
1 of 27
03/06/2013
BKBIET Phase I
Day 1
Thursday, 13 June 13
Today...
✤ Technical
✤ Web Technologies
✤ client-server technologies
✤ HTTP/HTML/JS
✤ web server/servlet-container/cgi
✤ DB/SQL
Thursday, 13 June 13
The Network
Thursday, 13 June 13
The Network
Thursday, 13 June 13
The Network
Thursday, 13 June 13
The Network
Thursday, 13 June 13
Client Server Model
✤ Why client server?
Thursday, 13 June 13
Client Server Model
✤ Why client server?
✤ alternatives?
Thursday, 13 June 13
Client Server Model
✤ Why client server?
✤ alternatives?
✤ basis of all distributed computing paradigms
Thursday, 13 June 13
Client Server Model
✤ Why client server?
✤ alternatives?
✤ basis of all distributed computing paradigms
✤ service-oriented, based on a request response protocol
Thursday, 13 June 13
Client Server Model
✤ Why client server?
✤ alternatives?
✤ basis of all distributed computing paradigms
✤ service-oriented, based on a request response protocol
✤ requires two distinct entities, a client and a server
Thursday, 13 June 13
Client Server Model
✤ Why client server?
✤ alternatives?
✤ basis of all distributed computing paradigms
✤ service-oriented, based on a request response protocol
✤ requires two distinct entities, a client and a server
✤ problems?
Thursday, 13 June 13
WebTechnologies
✤ interconnected computers : Internet
✤ interconnected, distributed knowledge : Hypertext
✤ language to express, hypertext : HTML
✤ tags
✤ links
✤ client :web-browser,
✤ server : web-server,
✤ protocol: Hyper Text Transfer Protocol
Thursday, 13 June 13
HTTP
✤ Request
✤ the url
✤ protocol
✤ host/domain,[port]
✤ path, parameters
✤ methods:
✤ GET, POST, PUT,DELETE
✤ HEAD, OPTIONS, TRACE...
✤ Cookies!
GET /index.html HTTP/1.1
Host: www.example.com
Thursday, 13 June 13
HTTP
✤ Response
✤ Status codes
✤ Response headers
✤ content type
✤ content length
✤ Response data
✤ Cookies!
Thursday, 13 June 13
HTTP
✤ Response
✤ Status codes
✤ Response headers
✤ content type
✤ content length
✤ Response data
✤ Cookies!
HTTP/1.1 200 OK
Date: Mon, 23 May 2005 22:38:34 GMT
Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux)
Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 131
Connection: close
<html>
<head>
<title>An Example Page</title>
</head>
<body>
Hello World, this is a very simple HTML
document.
</body>
</html>
Thursday, 13 June 13
HTTP
✤ Salient Properties:
✤ Idempotent, except for POST
✤ multiple calls should result in the same state
✤ Stateless
✤ why?
✤ problems?
Thursday, 13 June 13
HTTP Sessions
✤ Cookies to the rescue!
✤ Types
✤ session
✤ persistent
✤ secure
✤ third-party cookie
✤ super cookie
✤ Server --> Client
✤ Client --> Server
HTTP/1.1 200 OK
Content-type: text/html
Set-Cookie: name=value
Set-Cookie: name2=value2; Expires=Wed, 09 Jun 2021
10:18:14 GMT
 
(content of page)
GET /spec.html HTTP/1.1
Host: www.example.org
Cookie: name=value; name2=value2
Accept: */*
Thursday, 13 June 13
HTML
✤ The language of the internet?
✤ distributed information bank
✤ tag based structure
✤ links to other html documents
✤ styling provided through css
✤ latest versions HTML 5, CSS 3
✤ move from hypertext to hypermedia
<!DOCTYPE HTML>
<html>
<body>
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video
tag.
</video>
</body>
</html>
Thursday, 13 June 13
DynamicWeb
✤ Personalized, interactive and dynamic
✤ HTTP Sessions
✤ dynamically generated content
✤ server-side: cgi
✤ client-side: javascript
✤ Ajax
Thursday, 13 June 13
CGI
✤ basis of server side dynamism
✤ route the request from client to a server-side script
✤ let the script generate the response
✤ CGI can be anything
✤ perl, bash script
✤ C program
✤ Java, python or ruby
Thursday, 13 June 13
Java on the Server
✤ harness the power of java on the server side
✤ Java Servlets
✤ JSP: templates for java
✤ Enter frameworks
✤ struts
✤ spring
✤ MVC
Thursday, 13 June 13
Java on the Server
✤ harness the power of java on the server side
✤ Java Servlets
✤ JSP: templates for java
✤ Enter frameworks
✤ struts
✤ spring
✤ MVC
Thursday, 13 June 13
Web Application
✤ web page --> web app
✤ an interactive front-end
✤ enter applet,vbscript,javascript,....
✤ HTML as DOM
✤ Ajax/XHR
✤ frameworks : jQuery, backbone.js, ember.js, angular.js, knockout.js
Thursday, 13 June 13
Persistence
✤ Flat files --> Databases
✤ Relational Databases
✤ NoSQL
✤ No more 1 size fits all
✤ JDBC
✤ ORM : Hibernate
Thursday, 13 June 13
Let’s Start..
✤ Questions???
Thursday, 13 June 13
Let’s Start..
✤ Questions???
✤ Exercise
Thursday, 13 June 13

More Related Content

What's hot

Scalling web applications using memcache
Scalling web applications using memcacheScalling web applications using memcache
Scalling web applications using memcacheSudar Muthu
 
WordPress Optimization Tips for Performance & Speed
WordPress Optimization Tips for Performance & SpeedWordPress Optimization Tips for Performance & Speed
WordPress Optimization Tips for Performance & SpeedMike Hale
 
Are containers that we have now secure enough?
Are containers that we have now secure enough?Are containers that we have now secure enough?
Are containers that we have now secure enough?OpenVZ
 
Laying out the future
Laying out the futureLaying out the future
Laying out the futureChris Mills
 

What's hot (10)

Scalling web applications using memcache
Scalling web applications using memcacheScalling web applications using memcache
Scalling web applications using memcache
 
WPO @ PubCon 2010
WPO @ PubCon 2010WPO @ PubCon 2010
WPO @ PubCon 2010
 
WordPress Optimization Tips for Performance & Speed
WordPress Optimization Tips for Performance & SpeedWordPress Optimization Tips for Performance & Speed
WordPress Optimization Tips for Performance & Speed
 
Are containers that we have now secure enough?
Are containers that we have now secure enough?Are containers that we have now secure enough?
Are containers that we have now secure enough?
 
Having Fun with Local WordPress Development
Having Fun with Local WordPress DevelopmentHaving Fun with Local WordPress Development
Having Fun with Local WordPress Development
 
Resume
ResumeResume
Resume
 
Laying out the future
Laying out the futureLaying out the future
Laying out the future
 
Y NoSQL: An Example
Y NoSQL: An ExampleY NoSQL: An Example
Y NoSQL: An Example
 
Pdf
PdfPdf
Pdf
 
Compress
CompressCompress
Compress
 

Viewers also liked

Articulos sobre Organizaciones Educativas grupo 1
Articulos sobre Organizaciones Educativas grupo 1Articulos sobre Organizaciones Educativas grupo 1
Articulos sobre Organizaciones Educativas grupo 1grupo2jsa
 
A mega scam is snowballing at rupaichari block
A mega scam is snowballing at rupaichari blockA mega scam is snowballing at rupaichari block
A mega scam is snowballing at rupaichari blockBiswanath Bhattacharya
 
Let’s know our countries from...our school
Let’s know our countries from...our schoolLet’s know our countries from...our school
Let’s know our countries from...our schoolklrgkljt
 
Online sales story
Online sales storyOnline sales story
Online sales storycatalogsara
 
Sistem administrasi unit kegiatan mahasiswa islam
Sistem administrasi unit kegiatan mahasiswa islamSistem administrasi unit kegiatan mahasiswa islam
Sistem administrasi unit kegiatan mahasiswa islamAhmad Pratama Ramadhan
 
Tenencia de la tierra
Tenencia de la tierraTenencia de la tierra
Tenencia de la tierraCharlsarq
 
Arboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansaboca
Arboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansabocaArboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansaboca
Arboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansabocaAdriana Sautú
 
15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS
15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS
15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITSBangalore Generalnews
 
Bangladesh Leather and Leather goods export
Bangladesh Leather and Leather goods exportBangladesh Leather and Leather goods export
Bangladesh Leather and Leather goods exportSaifur Rahman Samrat
 
Labhacker - Câmara dos Deputados
Labhacker - Câmara dos DeputadosLabhacker - Câmara dos Deputados
Labhacker - Câmara dos DeputadosColaborativismo
 
Call Center Positions In Brunswick Georgia
Call Center Positions In Brunswick GeorgiaCall Center Positions In Brunswick Georgia
Call Center Positions In Brunswick GeorgiaRobyn Hatfield
 
INN530 - Assignment 2, Big data and cloud computing for management
INN530 - Assignment 2, Big data and cloud computing for managementINN530 - Assignment 2, Big data and cloud computing for management
INN530 - Assignment 2, Big data and cloud computing for managementSimen Smaaberg
 

Viewers also liked (20)

Articulos sobre Organizaciones Educativas grupo 1
Articulos sobre Organizaciones Educativas grupo 1Articulos sobre Organizaciones Educativas grupo 1
Articulos sobre Organizaciones Educativas grupo 1
 
A mega scam is snowballing at rupaichari block
A mega scam is snowballing at rupaichari blockA mega scam is snowballing at rupaichari block
A mega scam is snowballing at rupaichari block
 
Let’s know our countries from...our school
Let’s know our countries from...our schoolLet’s know our countries from...our school
Let’s know our countries from...our school
 
Online sales story
Online sales storyOnline sales story
Online sales story
 
волшебница осень
волшебница осеньволшебница осень
волшебница осень
 
Sistem administrasi unit kegiatan mahasiswa islam
Sistem administrasi unit kegiatan mahasiswa islamSistem administrasi unit kegiatan mahasiswa islam
Sistem administrasi unit kegiatan mahasiswa islam
 
Criticaa
CriticaaCriticaa
Criticaa
 
Tenencia de la tierra
Tenencia de la tierraTenencia de la tierra
Tenencia de la tierra
 
certificates_JVHB
certificates_JVHBcertificates_JVHB
certificates_JVHB
 
Scinnova international pvt. ltd
Scinnova international pvt. ltdScinnova international pvt. ltd
Scinnova international pvt. ltd
 
Arboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansaboca
Arboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansabocaArboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansaboca
Arboles de Panamá y el Neotrópico 5: Palobobo, balo y guabita cansaboca
 
15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS
15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS
15 GOVERNMENT BUILDINGS TO BE OFF CUBBON PARK LIMITS
 
ME-MTT3871 - event
ME-MTT3871 - eventME-MTT3871 - event
ME-MTT3871 - event
 
Document (6)
Document (6)Document (6)
Document (6)
 
Bangladesh Leather and Leather goods export
Bangladesh Leather and Leather goods exportBangladesh Leather and Leather goods export
Bangladesh Leather and Leather goods export
 
Labhacker - Câmara dos Deputados
Labhacker - Câmara dos DeputadosLabhacker - Câmara dos Deputados
Labhacker - Câmara dos Deputados
 
Fdsf
FdsfFdsf
Fdsf
 
Call Center Positions In Brunswick Georgia
Call Center Positions In Brunswick GeorgiaCall Center Positions In Brunswick Georgia
Call Center Positions In Brunswick Georgia
 
Good design makes sense: Full stop.
Good design makes sense: Full stop.Good design makes sense: Full stop.
Good design makes sense: Full stop.
 
INN530 - Assignment 2, Big data and cloud computing for management
INN530 - Assignment 2, Big data and cloud computing for managementINN530 - Assignment 2, Big data and cloud computing for management
INN530 - Assignment 2, Big data and cloud computing for management
 

Similar to Bkbiet day1

Tek 2013 - Building Web Apps from a New Angle with AngularJS
Tek 2013 - Building Web Apps from a New Angle with AngularJSTek 2013 - Building Web Apps from a New Angle with AngularJS
Tek 2013 - Building Web Apps from a New Angle with AngularJSPablo Godel
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance TestingAnand Bagmar
 
The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019
The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019
The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019Viktor Todorov
 
Art and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end ApproachArt and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end ApproachJiang Zhu
 
Amp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesAmp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesRobert McFrazier
 
V2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocketV2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocketbrent bucci
 
Web performance optimization - MercadoLibre
Web performance optimization - MercadoLibreWeb performance optimization - MercadoLibre
Web performance optimization - MercadoLibrePablo Moretti
 
Web performance mercadolibre - ECI 2013
Web performance   mercadolibre - ECI 2013Web performance   mercadolibre - ECI 2013
Web performance mercadolibre - ECI 2013Santiago Aimetta
 
Lone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New AngleLone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New AnglePablo Godel
 
The Need For Speed
The Need For SpeedThe Need For Speed
The Need For SpeedAndy Davies
 
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
Are Today's Good Practices… Tomorrow's Performance Anti-PatternsAre Today's Good Practices… Tomorrow's Performance Anti-Patterns
Are Today's Good Practices… Tomorrow's Performance Anti-PatternsAndy Davies
 
High Performance Websites By Souders Steve
High Performance Websites By Souders SteveHigh Performance Websites By Souders Steve
High Performance Websites By Souders Stevew3guru
 
High Performance Web Sites
High Performance Web SitesHigh Performance Web Sites
High Performance Web SitesPáris Neto
 

Similar to Bkbiet day1 (20)

Speed = $$$
Speed = $$$Speed = $$$
Speed = $$$
 
T5 Oli Aro
T5 Oli AroT5 Oli Aro
T5 Oli Aro
 
Tek 2013 - Building Web Apps from a New Angle with AngularJS
Tek 2013 - Building Web Apps from a New Angle with AngularJSTek 2013 - Building Web Apps from a New Angle with AngularJS
Tek 2013 - Building Web Apps from a New Angle with AngularJS
 
Front End Oprtimization
Front End OprtimizationFront End Oprtimization
Front End Oprtimization
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance Testing
 
The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019
The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019
The Recording HTTP Proxy: Not Yet Another Messiah - Bulgaria PHP 2019
 
Art and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end ApproachArt and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end Approach
 
Amp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesAmp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pages
 
V2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocketV2 peter-lubbers-sf-jug-websocket
V2 peter-lubbers-sf-jug-websocket
 
Web Performance Optimization
Web Performance OptimizationWeb Performance Optimization
Web Performance Optimization
 
Web performance optimization - MercadoLibre
Web performance optimization - MercadoLibreWeb performance optimization - MercadoLibre
Web performance optimization - MercadoLibre
 
Web performance mercadolibre - ECI 2013
Web performance   mercadolibre - ECI 2013Web performance   mercadolibre - ECI 2013
Web performance mercadolibre - ECI 2013
 
Front end-performance
Front end-performanceFront end-performance
Front end-performance
 
Lone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New AngleLone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New Angle
 
Tsung info
Tsung infoTsung info
Tsung info
 
The Need For Speed
The Need For SpeedThe Need For Speed
The Need For Speed
 
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
Are Today's Good Practices… Tomorrow's Performance Anti-PatternsAre Today's Good Practices… Tomorrow's Performance Anti-Patterns
Are Today's Good Practices… Tomorrow's Performance Anti-Patterns
 
High Performance Websites By Souders Steve
High Performance Websites By Souders SteveHigh Performance Websites By Souders Steve
High Performance Websites By Souders Steve
 
Plop
PlopPlop
Plop
 
High Performance Web Sites
High Performance Web SitesHigh Performance Web Sites
High Performance Web Sites
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Bkbiet day1

  • 1. 03/06/2013 BKBIET Phase I Day 1 Thursday, 13 June 13
  • 2. Today... ✤ Technical ✤ Web Technologies ✤ client-server technologies ✤ HTTP/HTML/JS ✤ web server/servlet-container/cgi ✤ DB/SQL Thursday, 13 June 13
  • 7. Client Server Model ✤ Why client server? Thursday, 13 June 13
  • 8. Client Server Model ✤ Why client server? ✤ alternatives? Thursday, 13 June 13
  • 9. Client Server Model ✤ Why client server? ✤ alternatives? ✤ basis of all distributed computing paradigms Thursday, 13 June 13
  • 10. Client Server Model ✤ Why client server? ✤ alternatives? ✤ basis of all distributed computing paradigms ✤ service-oriented, based on a request response protocol Thursday, 13 June 13
  • 11. Client Server Model ✤ Why client server? ✤ alternatives? ✤ basis of all distributed computing paradigms ✤ service-oriented, based on a request response protocol ✤ requires two distinct entities, a client and a server Thursday, 13 June 13
  • 12. Client Server Model ✤ Why client server? ✤ alternatives? ✤ basis of all distributed computing paradigms ✤ service-oriented, based on a request response protocol ✤ requires two distinct entities, a client and a server ✤ problems? Thursday, 13 June 13
  • 13. WebTechnologies ✤ interconnected computers : Internet ✤ interconnected, distributed knowledge : Hypertext ✤ language to express, hypertext : HTML ✤ tags ✤ links ✤ client :web-browser, ✤ server : web-server, ✤ protocol: Hyper Text Transfer Protocol Thursday, 13 June 13
  • 14. HTTP ✤ Request ✤ the url ✤ protocol ✤ host/domain,[port] ✤ path, parameters ✤ methods: ✤ GET, POST, PUT,DELETE ✤ HEAD, OPTIONS, TRACE... ✤ Cookies! GET /index.html HTTP/1.1 Host: www.example.com Thursday, 13 June 13
  • 15. HTTP ✤ Response ✤ Status codes ✤ Response headers ✤ content type ✤ content length ✤ Response data ✤ Cookies! Thursday, 13 June 13
  • 16. HTTP ✤ Response ✤ Status codes ✤ Response headers ✤ content type ✤ content length ✤ Response data ✤ Cookies! HTTP/1.1 200 OK Date: Mon, 23 May 2005 22:38:34 GMT Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT Content-Type: text/html; charset=UTF-8 Content-Length: 131 Connection: close <html> <head> <title>An Example Page</title> </head> <body> Hello World, this is a very simple HTML document. </body> </html> Thursday, 13 June 13
  • 17. HTTP ✤ Salient Properties: ✤ Idempotent, except for POST ✤ multiple calls should result in the same state ✤ Stateless ✤ why? ✤ problems? Thursday, 13 June 13
  • 18. HTTP Sessions ✤ Cookies to the rescue! ✤ Types ✤ session ✤ persistent ✤ secure ✤ third-party cookie ✤ super cookie ✤ Server --> Client ✤ Client --> Server HTTP/1.1 200 OK Content-type: text/html Set-Cookie: name=value Set-Cookie: name2=value2; Expires=Wed, 09 Jun 2021 10:18:14 GMT   (content of page) GET /spec.html HTTP/1.1 Host: www.example.org Cookie: name=value; name2=value2 Accept: */* Thursday, 13 June 13
  • 19. HTML ✤ The language of the internet? ✤ distributed information bank ✤ tag based structure ✤ links to other html documents ✤ styling provided through css ✤ latest versions HTML 5, CSS 3 ✤ move from hypertext to hypermedia <!DOCTYPE HTML> <html> <body> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> </body> </html> Thursday, 13 June 13
  • 20. DynamicWeb ✤ Personalized, interactive and dynamic ✤ HTTP Sessions ✤ dynamically generated content ✤ server-side: cgi ✤ client-side: javascript ✤ Ajax Thursday, 13 June 13
  • 21. CGI ✤ basis of server side dynamism ✤ route the request from client to a server-side script ✤ let the script generate the response ✤ CGI can be anything ✤ perl, bash script ✤ C program ✤ Java, python or ruby Thursday, 13 June 13
  • 22. Java on the Server ✤ harness the power of java on the server side ✤ Java Servlets ✤ JSP: templates for java ✤ Enter frameworks ✤ struts ✤ spring ✤ MVC Thursday, 13 June 13
  • 23. Java on the Server ✤ harness the power of java on the server side ✤ Java Servlets ✤ JSP: templates for java ✤ Enter frameworks ✤ struts ✤ spring ✤ MVC Thursday, 13 June 13
  • 24. Web Application ✤ web page --> web app ✤ an interactive front-end ✤ enter applet,vbscript,javascript,.... ✤ HTML as DOM ✤ Ajax/XHR ✤ frameworks : jQuery, backbone.js, ember.js, angular.js, knockout.js Thursday, 13 June 13
  • 25. Persistence ✤ Flat files --> Databases ✤ Relational Databases ✤ NoSQL ✤ No more 1 size fits all ✤ JDBC ✤ ORM : Hibernate Thursday, 13 June 13
  • 27. Let’s Start.. ✤ Questions??? ✤ Exercise Thursday, 13 June 13