SlideShare a Scribd company logo
1 of 25
An Introduction to
Web Technologies
Internet and WWW
• Inter-network and World Wide Web
• Interlinked hypertext documents accessed
using HTTP Protocol
• Client - Server architecture
Why Internet?
Use of internet
• Email
• Social Networking, Chat
• Information sharing
• Getting updates – News around the world
• Entertainment – Games, Videos and Music
• Virtual classrooms
• Remote Access
• Online Jobs
Why Websites?
Offline Apps vs. Online Apps
ONLINE APPS
• No need to install
• Just login and use
• Available from anywhere where
Internet connection is available
• Operating system independent
• No piracy issues
Why Websites?
Offline Apps vs. Online Apps
OFFLINE APPS
• Ease of use
• Generally have more features
• Easier to develop but difficult to update
Technologies Overview
List of Technologies
Client Side Technologies
• HTML, CSS, JavaScript, VBScript
• XHTML, DHTML, WML, AJAX
• FLASH
Server Side Technologies
• ASP, PHP, Perl, JSP
• ASP.NET, Java
• MySQL, SQL Server, Access
Technologies Overview
List of Technologies
Some More Advanced Technologies
• XML, XSLT, RSS, Atom
• X-Path, XQuery, WSDL
• XML-DOM, RDF
• Ruby on Rails, GRAIL Framework
• REST, SOAP
How to choose a
Technology?
Depends on:
• What is the type of content?
• Who is your audience?
• Who will modify your content?
• What are your Future Plans?
• Availability of technology?
• Your previous experience?
• Portability and Data sharing
HTML
Hyper Text Markup Language
• Documents
– Document = page = HTM file = topic
– Content (text, images)
– Tags (display commands)
• Other terms
– Window: browser display window
– URL: Uniform Resource Locator
– Hyperlink: hypertext jump to a resource
– Resource: URL, image, mailto, external file
HTML
HTML pages are tag-based documents
• Really plain ASCII text files
• Don't look like documents they represent
• Tags indicate how processing program should
display text and graphics
• Processed by browsers “on the fly”
• Tags usually appear in pairs
• Most have reasonable names or mnemonics
• Most can be modified by attributes/values
That’s how this…
<html>
<head><title>Welcome onboard</title></head>
<body bgcolor=“#f4f4f4">
<h1>Welcome</h1>
<img src=“dcetech.gif" width=“222" height=“80" alt=“DCETECH"
BORDER="0“ />
<h2>A Message from the Speaker </h2>
<p><font color=red>Good evening! Thank you for coming here!
</font></p>
<p>Hello and welcome to Web technologies workshop! I'm <b>Ankit
Jain,</b>, 4th
year Computer Engg <a
href=“http://dcetech.com"> Head DCETECH.COM </a>. Dcetech is a
student portal and only one of its kind in India.It is not
only a technical oriented site which caters only for engineers
but its for students from any background! Also students from
any educational institution can register and join Dcetech.
</p>
. . .
</body>
</html>
Turns into this…
Some HTML Tags example
• START TAG END TAG
• <HTML> </HTML>
• <HEAD> </HEAD>
• <TITLE> </TITLE>
• <BODY> </BODY>
• <H1>, <H2>, ... </H1>, </H2>, ...
• <IMG ...> </IMG> (optional)
• <A ...> </A>
• <P> </P>
• <BR/> (none; "empty" tag)
• <OL> </OL>
• <UL> </UL>
• <LI> </LI>
Basic Structure of HTML document
Example of basic tag positioning
<html>
<head>
<title>Title bar text</title>
</head>
<body>
<p>Look, I'm a paragraph!
</p>
</body>
</html>
Attributes and Values
• Properties, traits, or characteristics that
modify the way a tag looks or acts
– Usually in pairs: <body bgcolor="teal">
– Sometimes not: <option selected>
• Most HTML tags can take attributes
– Format of value depends on attribute
– width="150" ... href="page3.htm" not
width="page3.htm" ... href="150"
Tables
<table border="1">
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
</tr>
</table>
Row 1, Cell 1 Row 1, Cell 2
Row 2, Cell 1 Row 2, Cell 2
CSS
• What CSS Controls
– Page background, colors, images, fonts and text,
margins and spacing, headings, positioning, links,
lists, tables, cursors, etc.
• W3C intends CSS to "…relieve HTML of the
responsibility of presentation."
– Translation: "Don't bug us for new tags; change
existing tags & make your own using CSS."
• Idea is to put all formatting in CSS
– To that end, many tags are "deprecated" by CSS:
<font>, <basefont>, <center>, <strike>…
Basic CSS Rule
• Rules have very specific parts and syntax
– Rules have two basic parts: selector and
declaration
– Declaration also has two parts: property and value
– Selector tells the rule what to modify
– Declaration tells the rule how to modify it
h2 { font-style : italic ; }
rule
property value
selector declaration
JavaScript
• What JavaScript isn’t
– Java (object-oriented programming language)
– A "programmers-only" language
• What JavaScript is
– Extension to HTML (support depends on browser)
– An accessible, object-based scripting language
• What JavaScript is for
– Interactivity with the user:
* input (user provides data to application)
* processing (application manipulates data)
* output (application provides results to user)
Usage of JS
• Direct insertion into page (immediate)
<body><p>Today is
<script>document.write( Date() );
</script></p>
• Direct insertion into page (deferred)
<head>
<script>
function dwd()
{
document.write( Date() );
}
</script>
</head>
. . .
<body>
<p>Today is <script>dwd(); </script></p>
PHP
• Procedural language
– Compare with JavaScript which is event-driven
• C-like syntax - { } ;
• Extensive Function Library
• Good Web-server integration
– Script embedded in HTML
– Easy access to form data and output of HTML
pages
• Not fully object-oriented
– Java is fully object oriented – all functions have
to be in a class
– In PHP, classes are additional but quite simple to
use
PHP
– PHP scripts are essentially HTML pages with
the occasional section of PHP script.
– PHP script is enclosed in the tag pair:
• <?php print date(“H:I”) ?>
PHP - C Like Language
• Free format - white space is ignored
• Statements are terminated by semi-colon ;
• Statements grouped by { … }
• Comments begin with // or a set of comments /* */
• Assignment is ‘=’: $a=6
• Relational operators are ,< , > == ( not a single equal)
• Control structures include if (cond) {..} else { }, while
(cond) { .. } , for(startcond; increment; endcond) { }
• Arrays are accessed with [ ] : $x[4] is the 5th element of
the array $x – indexes start at 0
• Associative Arrays (hash array in Perl, dictionary in Java) are
accessed in the same way: $y[“fred”]
• Functions are called with the name followed by arguments in
a fixed order enclosed in ( ) : substr(“fred”,0,2)
• Case sensitive - $fred is a different variable to $FRED
Conclusion & Future Work
• Most Web pages – remote or local – are a
combination of those technologies
– Raw content, placed inside…
– HTML tags, formatted with…
– CSS rules, interactivity produced by…
– JavaScript scripts on Clients sides and…
– PHP scripts on server sides
• Newer technologies like DHTML, XHTML, and
XML are based on these
– A little knowledge now can prepare you for new
technologies!
Questions

More Related Content

Viewers also liked

COFACE Insolvencias en Europa Occidental Septiembre 2015
COFACE Insolvencias en Europa Occidental Septiembre 2015COFACE Insolvencias en Europa Occidental Septiembre 2015
COFACE Insolvencias en Europa Occidental Septiembre 2015Jaime Cubillo Fleming
 
CONIG® v1.5 Converged Information Governance
CONIG® v1.5 Converged Information GovernanceCONIG® v1.5 Converged Information Governance
CONIG® v1.5 Converged Information GovernanceYalcin Gerek
 
Evaluating impact of cross-platform frameworks in energy consumption of mobil...
Evaluating impact of cross-platform frameworks in energy consumption of mobil...Evaluating impact of cross-platform frameworks in energy consumption of mobil...
Evaluating impact of cross-platform frameworks in energy consumption of mobil...University of Geneva
 
"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf
"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf
"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdfIcp Miglioli
 
Λατινικά, ενότητα 32, ασκήσεις
Λατινικά, ενότητα 32, ασκήσειςΛατινικά, ενότητα 32, ασκήσεις
Λατινικά, ενότητα 32, ασκήσειςgina zaza
 
Created In God's Image
Created In God's Image Created In God's Image
Created In God's Image albsalud
 
Anime unlimit dibuj arte tomo ii movimiento
Anime unlimit dibuj arte tomo ii  movimientoAnime unlimit dibuj arte tomo ii  movimiento
Anime unlimit dibuj arte tomo ii movimientoIsshin Stark
 
Agile Dojo - Agilité en Environnement Procédural
Agile Dojo - Agilité en Environnement Procédural Agile Dojo - Agilité en Environnement Procédural
Agile Dojo - Agilité en Environnement Procédural Agilbee (Patrice Petit)
 

Viewers also liked (10)

COFACE Insolvencias en Europa Occidental Septiembre 2015
COFACE Insolvencias en Europa Occidental Septiembre 2015COFACE Insolvencias en Europa Occidental Septiembre 2015
COFACE Insolvencias en Europa Occidental Septiembre 2015
 
CONIG® v1.5 Converged Information Governance
CONIG® v1.5 Converged Information GovernanceCONIG® v1.5 Converged Information Governance
CONIG® v1.5 Converged Information Governance
 
Evaluating impact of cross-platform frameworks in energy consumption of mobil...
Evaluating impact of cross-platform frameworks in energy consumption of mobil...Evaluating impact of cross-platform frameworks in energy consumption of mobil...
Evaluating impact of cross-platform frameworks in energy consumption of mobil...
 
Plazola vol. 7
Plazola vol. 7Plazola vol. 7
Plazola vol. 7
 
"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf
"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf
"Vitruvian man" En www.agalano.com/Cursos/MetExpI/Vitruvian%20Man.pdf
 
Λατινικά, ενότητα 32, ασκήσεις
Λατινικά, ενότητα 32, ασκήσειςΛατινικά, ενότητα 32, ασκήσεις
Λατινικά, ενότητα 32, ασκήσεις
 
Created In God's Image
Created In God's Image Created In God's Image
Created In God's Image
 
Perspectivas
PerspectivasPerspectivas
Perspectivas
 
Anime unlimit dibuj arte tomo ii movimiento
Anime unlimit dibuj arte tomo ii  movimientoAnime unlimit dibuj arte tomo ii  movimiento
Anime unlimit dibuj arte tomo ii movimiento
 
Agile Dojo - Agilité en Environnement Procédural
Agile Dojo - Agilité en Environnement Procédural Agile Dojo - Agilité en Environnement Procédural
Agile Dojo - Agilité en Environnement Procédural
 

Similar to Introduction_Web_Technologies

Introduction web tech
Introduction web techIntroduction web tech
Introduction web techLiaquat Rahoo
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyLeslie Doherty
 
Intro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniterIntro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniterbrightrocket
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Dutyreedmaniac
 
Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1Mohd Harris Ahmad Jaal
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Henry S
 
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLWEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLsmitawagh14
 
IntroductiontoPHP.ppt
IntroductiontoPHP.pptIntroductiontoPHP.ppt
IntroductiontoPHP.ppttruptitasol
 

Similar to Introduction_Web_Technologies (20)

Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 
Unit 01 (1).pdf
Unit 01 (1).pdfUnit 01 (1).pdf
Unit 01 (1).pdf
 
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
 
025444215.pptx
025444215.pptx025444215.pptx
025444215.pptx
 
PHP MySQL Workshop - facehook
PHP MySQL Workshop - facehookPHP MySQL Workshop - facehook
PHP MySQL Workshop - facehook
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Intro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniterIntro to ExpressionEngine and CodeIgniter
Intro to ExpressionEngine and CodeIgniter
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
 
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLWEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
 
25444215.pptx
25444215.pptx25444215.pptx
25444215.pptx
 
web development
web developmentweb development
web development
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
test
testtest
test
 
IntroductiontoPHP.ppt
IntroductiontoPHP.pptIntroductiontoPHP.ppt
IntroductiontoPHP.ppt
 

Introduction_Web_Technologies

  • 1. An Introduction to Web Technologies
  • 2. Internet and WWW • Inter-network and World Wide Web • Interlinked hypertext documents accessed using HTTP Protocol • Client - Server architecture
  • 3. Why Internet? Use of internet • Email • Social Networking, Chat • Information sharing • Getting updates – News around the world • Entertainment – Games, Videos and Music • Virtual classrooms • Remote Access • Online Jobs
  • 4. Why Websites? Offline Apps vs. Online Apps ONLINE APPS • No need to install • Just login and use • Available from anywhere where Internet connection is available • Operating system independent • No piracy issues
  • 5. Why Websites? Offline Apps vs. Online Apps OFFLINE APPS • Ease of use • Generally have more features • Easier to develop but difficult to update
  • 6. Technologies Overview List of Technologies Client Side Technologies • HTML, CSS, JavaScript, VBScript • XHTML, DHTML, WML, AJAX • FLASH Server Side Technologies • ASP, PHP, Perl, JSP • ASP.NET, Java • MySQL, SQL Server, Access
  • 7. Technologies Overview List of Technologies Some More Advanced Technologies • XML, XSLT, RSS, Atom • X-Path, XQuery, WSDL • XML-DOM, RDF • Ruby on Rails, GRAIL Framework • REST, SOAP
  • 8. How to choose a Technology? Depends on: • What is the type of content? • Who is your audience? • Who will modify your content? • What are your Future Plans? • Availability of technology? • Your previous experience? • Portability and Data sharing
  • 9. HTML Hyper Text Markup Language • Documents – Document = page = HTM file = topic – Content (text, images) – Tags (display commands) • Other terms – Window: browser display window – URL: Uniform Resource Locator – Hyperlink: hypertext jump to a resource – Resource: URL, image, mailto, external file
  • 10. HTML HTML pages are tag-based documents • Really plain ASCII text files • Don't look like documents they represent • Tags indicate how processing program should display text and graphics • Processed by browsers “on the fly” • Tags usually appear in pairs • Most have reasonable names or mnemonics • Most can be modified by attributes/values
  • 11. That’s how this… <html> <head><title>Welcome onboard</title></head> <body bgcolor=“#f4f4f4"> <h1>Welcome</h1> <img src=“dcetech.gif" width=“222" height=“80" alt=“DCETECH" BORDER="0“ /> <h2>A Message from the Speaker </h2> <p><font color=red>Good evening! Thank you for coming here! </font></p> <p>Hello and welcome to Web technologies workshop! I'm <b>Ankit Jain,</b>, 4th year Computer Engg <a href=“http://dcetech.com"> Head DCETECH.COM </a>. Dcetech is a student portal and only one of its kind in India.It is not only a technical oriented site which caters only for engineers but its for students from any background! Also students from any educational institution can register and join Dcetech. </p> . . . </body> </html>
  • 13. Some HTML Tags example • START TAG END TAG • <HTML> </HTML> • <HEAD> </HEAD> • <TITLE> </TITLE> • <BODY> </BODY> • <H1>, <H2>, ... </H1>, </H2>, ... • <IMG ...> </IMG> (optional) • <A ...> </A> • <P> </P> • <BR/> (none; "empty" tag) • <OL> </OL> • <UL> </UL> • <LI> </LI>
  • 14. Basic Structure of HTML document Example of basic tag positioning <html> <head> <title>Title bar text</title> </head> <body> <p>Look, I'm a paragraph! </p> </body> </html>
  • 15. Attributes and Values • Properties, traits, or characteristics that modify the way a tag looks or acts – Usually in pairs: <body bgcolor="teal"> – Sometimes not: <option selected> • Most HTML tags can take attributes – Format of value depends on attribute – width="150" ... href="page3.htm" not width="page3.htm" ... href="150"
  • 16. Tables <table border="1"> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> <tr> <td>Row 2, Cell 1</td> <td>Row 2, Cell 2</td> </tr> </table> Row 1, Cell 1 Row 1, Cell 2 Row 2, Cell 1 Row 2, Cell 2
  • 17. CSS • What CSS Controls – Page background, colors, images, fonts and text, margins and spacing, headings, positioning, links, lists, tables, cursors, etc. • W3C intends CSS to "…relieve HTML of the responsibility of presentation." – Translation: "Don't bug us for new tags; change existing tags & make your own using CSS." • Idea is to put all formatting in CSS – To that end, many tags are "deprecated" by CSS: <font>, <basefont>, <center>, <strike>…
  • 18. Basic CSS Rule • Rules have very specific parts and syntax – Rules have two basic parts: selector and declaration – Declaration also has two parts: property and value – Selector tells the rule what to modify – Declaration tells the rule how to modify it h2 { font-style : italic ; } rule property value selector declaration
  • 19. JavaScript • What JavaScript isn’t – Java (object-oriented programming language) – A "programmers-only" language • What JavaScript is – Extension to HTML (support depends on browser) – An accessible, object-based scripting language • What JavaScript is for – Interactivity with the user: * input (user provides data to application) * processing (application manipulates data) * output (application provides results to user)
  • 20. Usage of JS • Direct insertion into page (immediate) <body><p>Today is <script>document.write( Date() ); </script></p> • Direct insertion into page (deferred) <head> <script> function dwd() { document.write( Date() ); } </script> </head> . . . <body> <p>Today is <script>dwd(); </script></p>
  • 21. PHP • Procedural language – Compare with JavaScript which is event-driven • C-like syntax - { } ; • Extensive Function Library • Good Web-server integration – Script embedded in HTML – Easy access to form data and output of HTML pages • Not fully object-oriented – Java is fully object oriented – all functions have to be in a class – In PHP, classes are additional but quite simple to use
  • 22. PHP – PHP scripts are essentially HTML pages with the occasional section of PHP script. – PHP script is enclosed in the tag pair: • <?php print date(“H:I”) ?>
  • 23. PHP - C Like Language • Free format - white space is ignored • Statements are terminated by semi-colon ; • Statements grouped by { … } • Comments begin with // or a set of comments /* */ • Assignment is ‘=’: $a=6 • Relational operators are ,< , > == ( not a single equal) • Control structures include if (cond) {..} else { }, while (cond) { .. } , for(startcond; increment; endcond) { } • Arrays are accessed with [ ] : $x[4] is the 5th element of the array $x – indexes start at 0 • Associative Arrays (hash array in Perl, dictionary in Java) are accessed in the same way: $y[“fred”] • Functions are called with the name followed by arguments in a fixed order enclosed in ( ) : substr(“fred”,0,2) • Case sensitive - $fred is a different variable to $FRED
  • 24. Conclusion & Future Work • Most Web pages – remote or local – are a combination of those technologies – Raw content, placed inside… – HTML tags, formatted with… – CSS rules, interactivity produced by… – JavaScript scripts on Clients sides and… – PHP scripts on server sides • Newer technologies like DHTML, XHTML, and XML are based on these – A little knowledge now can prepare you for new technologies!