SlideShare a Scribd company logo
1
HTML (Hypertext MarkUP
Language)
 HTML is the lingua franca for publishing hypertext on
the World Wide Web
 Define tags <html><body> <head>….etc
 Allow to embed other scripting languages to manipulate
design layout, text and graphics
 Platform independent
 Current version is 4.x and in February W3C released the
first draft of a test suite 4.01
 For more info: http://www.w3.org/MarkUp/
2
HTML (Hypertext Markup Language)
 Example HTML code:
<HTML>
<head>
<title>Hello World</title>
</head>
<body bgcolor = “#000000”>
<font color = “#ffffff”>
<H1>Hello World</H1>
</font>
</body>
</HTML>
3
HTML (Hypertext Markup Language)
4
HTML (Hypertext Markup Language)
 Common features
– Tables
– Frame
– Form
– Image map
– Character Set
– Meta tags
– Images, Hyperlink, etc…
5
HTML (Hypertext Markup Language)
 File Extensions:
HTML, HTM
 Recent recommendation of W3C is XHTML 1.0
combines the strength of HTML 4 with the
power of XML.
 XHTML 1.0 is the first major change to HTML
since HTML 4.0 was released in 1997
 More info: http://www.w3.org/TR/xhtml1/
6
CSS (Cascading Style Sheet)
 Simple mechanism for adding style to web page
 Code be embedded into the HTML file
 HTML tag:
<style type=“text/css”>CODE</style>
 Also be in a separate file FILENAME.css
 HTML tag:
<link rel=“stylesheet” href=“scs.css” type=“text/css”>
 Style types mainly include:
• Font
• Color
• Spacing
7
CSS (Cascading Style Sheet)
 Controls format:
– Font, color, spacing
– Alignment
– User override of styles
– Aural CSS (non sighted user and voice-browser)
– Layers
 Layout
 User Interface
8
CSS (Cascading Style Sheet)
 Client’s browser dependable
 Example code:
p,h1,h2 {
margin-top:0px;
margin-bottom:100px;padding:20px 40px 0px 40px;
}
 More info:
http://www.w3.org/Style/CSS/
http://www.w3schools.com/css/css_intro.asp
9
CSS (Cascading Style Sheet)
<HTML>
<head>
<title>Hello World</title>
<style type=“text/css”>
p,h1,h2 {
margin-top:0px;
margin-bottom:100px;padding:40px 40px 0px 40px;
}
</style>
</head>
<body bgcolor = “#000000”>
<font color = “#ffffff”>
<h1>Hello World<h1>
</font>
</body>
</HTML>
10
CSS (Cascading Style Sheet)
11
HTML without CSS
12
JavaScript
 Compact object-based scripting language
 Code be embedded into HTML file
 HTML tag
<script language=“javascript”>CODE</script>
 Also be in a separate file FILENAME.js
 HTML tag
<SCRIPT LANGUAGE="JavaScript"
SRC=“FILENAME.js"></SCRIPT>
13
JavaScript
 Main objectives:
User interface, CGI capabilities without involving server
 Client side compilation
 Server provides no support
 Security hazard for client’s computer
 SCS websites JavaScript's Examples
http://www.cs.cmu.edu
14
VBScripts
 Microsoft’s share of scripting language
 Similar objectives as JavaScript and any other
scripting language
 Similar to Visual Basic
<SCRIPT LANGUAGE="VBScript">CODE</script>
 VBScript is integrated with WWW and web
browsers
 Other Microsoft developer tools
15
PHP (Hypertext Preprocessor)
 PHP- HTML-embedded scripting language
 Syntax looks like C, JAVA, and PERL
 File extension: FILENAME.php
 Main Objective:
• Generate Dynamic content
• User Interface
 Server side loadable module
 Server side execution
 Current version and release: 4.3.x
 More info: http://www.php.net
16
PHP (Hypertext Preprocessor)
 Sample Code
<HTML>
<head><title>
PHP Sample Code</title></head>
<body bgcolor = "#000000">
<font color = "#ffffff"><h1>
This is a PHP TEST</h1>
<p>
<?php
$cnt=0;
while($cnt <= 4)
{ $cnt++;
echo "Hello World<P>"; }
?>
</body></HTML>
17
PHP (Hypertext Preprocessor)
18
PHP (Hypertext Preprocessor)
 PHP is getting really popular in the web developers
community
 ODBC support
 PHP developer community think this is the web future
 SCS Undergraduate sites; done in PHP:
http://www.ugrad.cs.cmu.edu/
 Drawback:
• Security
• Easy manipulation of code for hackers
19
CGI (Common Gateway Interface)
 Standard for external gateway programs to
interface with information servers such as HTTP
servers
 Real-time execution
 Main Objective:
• Dynamic Content
• User Interface
 Current version 1.1
20
CGI (Common Gateway Interface)
 Various choice in Programming language
selections
C, C++, PERL, Python
 PERL; most popular and widely used
 Server side execution
 Script runs as a stand alone process unlike PHP
 Basic difference with PHP is the execution
approach
21
PERL (Practical Extraction and Report
Language)
 Commonly used PERL Libraries (Modules):
• CGI.pm
• DB.pm
• DBI.pm
• CPAN.pm
• Mysql.pm
 More on PERL Libraries:
• http://www.perl.com/CPAN-local/README.html
• http://www.perl.com
• http://www.perl.org
22
PERL (Practical Extraction and Report
Language)
 Sample PERL code:
#!/usr/local/bin/perl5.6.1
## printenv -- demo CGI program which just prints its environment
##
print "Content-type: text/plainnn";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|n|n|g;
$val =~ s|"|"|g;
print "${var}="${val}"n";
}
 https://superman.web.cs.cmu.edu/cgi-bin/printenv
23
PERL (Practical Extraction and Report
Language)
 More Example of PERL CGI Scripts:
• http://calendar.cs.cmu.edu/scsEvents/submit.html
• http://calendar.cs.cmu.edu/scs/additionalSearch
 Drawback:
• Security
• Easy manipulation of code for hackers
24
Mod_PERL (PERL Module for
Apache)
 Module that brings together the power of PERL and
Apache HTTP server
 PERL interpreter embedded in Web Server
 Can provide 100x speedups for CGI scripts execution due
to Apache::Registry module
 Reduce load on server
 Less coordination of server process
 More info:
• http://perl.apache.org/
• http://www.modssl.org/docs/2.8/ssl_intro.html
25
Secured Web Server (HTTPS,
MOD_SSL)
 Provide strong cryptography for web server
 Mod_ssl is the module for Apache to enable
encrypted web connection
 Use Secured Socket Layer (SSL v2/v3) and
Transport Layer Security
 Two categories of cryptographic algorithms
• Conventional (Symmetric)
• Public Key (Asymmetric)
26
Secured Web Server (HTTPS,
MOD_SSL)
 Conventional or Symmetric
• Sender and Receiver share a key
 Public key or Asymmetric
• Solve the key exchange issue
 Certificate
• A certificate associates a public key with the real identity of
an individual, server
• Includes the identification and signature of the Certificate
Authority that issued the certificate
27
Secured Web Server (HTTPS,
MOD_SSL)
28
WebISO (Initial Sign-on and
Pubcookie)
 One time authentication process
 Typically username/password-based central
authentication
 Use standard web browser
 Eventually the session time-out
 Commonly uses double encryption
29
WebISO (Initial Sign-on and
Pubcookie)
 Pubcookie
Main Model:
 User-Agent: Web browsers
 Authentication Service:
Kerberos, LDAP, NIS
 Example:
https://wonderwoman.web.cs.cmu.edu/Reports
30
WebISO (Initial Sign-on and
Pubcookie)
31
Cookies
 Web cookies are simply bits of software placed on
your computer when you browse websites
 WebISO (Pubcookie) use cookie implementation
to keep track of a user
 Drawback:
Security
32
Kerberos
 Network authentication protocal
 Developed in MIT
 Strong cryptography
 Private (shared) key
 Use ticket to authenticate
 Never sends password over the network
 Single sign-on approach for network
authentication
33
Database Technology (MYSQL)
 Database driven backend infrastructure
 Content is independent from design
 CGI and PHP are widely used
 Provide the flexibility of data storage
 Popular database for web systems:
MYSQL, MSQL, Cold Fusion, MS-ACCESS, ORACLE
 SCS database driven sites USE MYSQL
 Example of SCS database driven sites
34
Database Technology (MYSQL)
 Great database package for handling text
 Drawback
– View
– Multi-master replication
– Locking
– Support for sub quires
– Character set handling
 More info: http://www.mysql.com
35
XML XSLT (Extensible Stylesheet
Language Transformations)
 XSLT is designed for use as part of XSL
 Stylesheet language for XML
 XSLT is also designed to be used independently
of XSL
 Work under the umbrella of XML
 Example:
http://wonderwoman.web.cs.cmu.edu:8888/xml/
36
JAVA Applets
 Precompiled code
 Included in HTML page
 HTML tag:
<applet code=FILENAME.class>LIST OF
PARAMETER</applet>
 The class is executed by clients browser’s JVM (Java
Virtual Machine)
 JAR (Java Archive) Bundle multiple files into a single
archive file
 More info: http://java.sun.com/applets/
37
Flash
 Multimedia web development
 Audio, video, animation really flashy web content
 3D graphics
 More info:
http://www.macromedia.com/devnet/mx/flash/
 SCS Web site (Flash):
http://www.cs.cmu.edu/fla/
 Performance on low bandwidth is an issue
38
Server, Web Server, Load balancing
 Servers
SUN, High-end INTEL
 Operating Systems:
Solrais, Linux, Windows
 Web Server
Apache, IIS, Enterprise, SUN ONE
 Load Balancing
Commercial vs Non-commercial product
39
VoiceXML (Voice Extensible Markup
Language)
 Designed for creating
• Audio Dialog that feature synthesized speech
• Digitized audio
• Recognition of spoken and DTMF(Dual-tone-multi-
frequency) key input
• Recording of spoken input
• Telephony
• Mixed initiative conversation
http://www.w3.org/TR/voicexml20/
http://www.voicexml.org/
40
List of Useful Links
http://www.w3.org/MarkUp/
http://www.w3.org/Style/CSS/
http://www.w3schools.com/css/css_intro.asp
http://www.php.net
http://www.perl.com/
http://www.perl.org
http://www.perl.com/CPAN-local/README.html
http://perl.apache.org
http://www.modssl.org/docs/2.8/ssl_intro.html
http://web.mit.edu/kerberos/www/
http://www.mysql.com
http://www.w3.org/TR/xslt
http://www.xml.com/pub/a/2000/08/holman/s1.html?page=2
http://java.sun.com/applets
http://www.macromedia.com/devnet/mx/flash/
http://www.w3.org/TR/voicexml20/
http://www.voicexml.org/
http://www.w3.org/TR/xhtml1/

More Related Content

What's hot

Tech talk php_cms
Tech talk php_cmsTech talk php_cms
Tech talk php_cms
Shehrevar Davierwala
 
Advantages of Choosing PHP Web Development
Advantages of Choosing PHP Web DevelopmentAdvantages of Choosing PHP Web Development
Advantages of Choosing PHP Web Development
Grey Matter India Technologies PVT LTD
 
Php Tutorial
Php TutorialPhp Tutorial
Php Tutorial
SHARANBAJWA
 
Web-Technologies 26.06.2003
Web-Technologies 26.06.2003Web-Technologies 26.06.2003
Web-Technologies 26.06.2003
Wolfgang Wiese
 
Vorlesung "Web-Technologies"
Vorlesung "Web-Technologies" Vorlesung "Web-Technologies"
Vorlesung "Web-Technologies"
Wolfgang Wiese
 
web Based Application Devlopment using PHP
web Based Application Devlopment using PHPweb Based Application Devlopment using PHP
web Based Application Devlopment using PHP
maccodder
 
PHP programmimg
PHP programmimgPHP programmimg
PHP programmimg
Sharbani Bhattacharya
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
Sasi Kumar
 
Multilingual Drupal presentation from "Do it With Drupal"
Multilingual Drupal presentation from "Do it With Drupal"Multilingual Drupal presentation from "Do it With Drupal"
Multilingual Drupal presentation from "Do it With Drupal"
Gábor Hojtsy
 
Facebook thrift
Facebook thriftFacebook thrift
Facebook thrift
Priyadarshi Raj
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
JIGAR MAKHIJA
 

What's hot (15)

Tech talk php_cms
Tech talk php_cmsTech talk php_cms
Tech talk php_cms
 
Advantages of Choosing PHP Web Development
Advantages of Choosing PHP Web DevelopmentAdvantages of Choosing PHP Web Development
Advantages of Choosing PHP Web Development
 
Php Tutorial
Php TutorialPhp Tutorial
Php Tutorial
 
Php intro
Php introPhp intro
Php intro
 
Presentation php
Presentation phpPresentation php
Presentation php
 
Web-Technologies 26.06.2003
Web-Technologies 26.06.2003Web-Technologies 26.06.2003
Web-Technologies 26.06.2003
 
Vorlesung "Web-Technologies"
Vorlesung "Web-Technologies" Vorlesung "Web-Technologies"
Vorlesung "Web-Technologies"
 
web Based Application Devlopment using PHP
web Based Application Devlopment using PHPweb Based Application Devlopment using PHP
web Based Application Devlopment using PHP
 
PHP programmimg
PHP programmimgPHP programmimg
PHP programmimg
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
 
Wc13
Wc13Wc13
Wc13
 
24307183 php
24307183 php24307183 php
24307183 php
 
Multilingual Drupal presentation from "Do it With Drupal"
Multilingual Drupal presentation from "Do it With Drupal"Multilingual Drupal presentation from "Do it With Drupal"
Multilingual Drupal presentation from "Do it With Drupal"
 
Facebook thrift
Facebook thriftFacebook thrift
Facebook thrift
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 

Similar to Chowdhury webtech

Php intro
Php introPhp intro
Php intro
Jennie Gajjar
 
Web technology html5 php_mysql
Web technology html5 php_mysqlWeb technology html5 php_mysql
Web technology html5 php_mysql
durai arasan
 
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
Ch10 Hacking Web Servers http://ouo.io/2Bt7XCh10 Hacking Web Servers http://ouo.io/2Bt7X
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
phanleson
 
Visual studio
Visual studioVisual studio
Visual studio
anupathak17jul
 
Web Development in Perl
Web Development in PerlWeb Development in Perl
Web Development in Perl
Naveen Gupta
 
Webhouse
WebhouseWebhouse
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnishRajnish Kalla
 
Net framework
Net frameworkNet framework
Net frameworksumit1503
 
Chapter 1
Chapter 1Chapter 1
Ethical hacking Chapter 10 - Exploiting Web Servers - Eric Vanderburg
Ethical hacking   Chapter 10 - Exploiting Web Servers - Eric VanderburgEthical hacking   Chapter 10 - Exploiting Web Servers - Eric Vanderburg
Ethical hacking Chapter 10 - Exploiting Web Servers - Eric Vanderburg
Eric Vanderburg
 
How To Implement a CMS
How To Implement a CMSHow To Implement a CMS
How To Implement a CMS
Jonathan Smith
 
Making Of PHP Based Web Application
Making Of PHP Based Web ApplicationMaking Of PHP Based Web Application
Making Of PHP Based Web Application
Sachin Walvekar
 
Net Fundamentals
Net FundamentalsNet Fundamentals
Net FundamentalsAli Taki
 
2016 03 15_biological_databases_part4
2016 03 15_biological_databases_part42016 03 15_biological_databases_part4
2016 03 15_biological_databases_part4
Prof. Wim Van Criekinge
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
SAMIR BHOGAYTA
 

Similar to Chowdhury webtech (20)

Php intro
Php introPhp intro
Php intro
 
Php intro
Php introPhp intro
Php intro
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
Web technology html5 php_mysql
Web technology html5 php_mysqlWeb technology html5 php_mysql
Web technology html5 php_mysql
 
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
Ch10 Hacking Web Servers http://ouo.io/2Bt7XCh10 Hacking Web Servers http://ouo.io/2Bt7X
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
 
Dynamic Web Programming
Dynamic Web ProgrammingDynamic Web Programming
Dynamic Web Programming
 
Visual studio
Visual studioVisual studio
Visual studio
 
Phpyahoo
PhpyahooPhpyahoo
Phpyahoo
 
Web Development in Perl
Web Development in PerlWeb Development in Perl
Web Development in Perl
 
Webhouse
WebhouseWebhouse
Webhouse
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
Net framework
Net frameworkNet framework
Net framework
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Ethical hacking Chapter 10 - Exploiting Web Servers - Eric Vanderburg
Ethical hacking   Chapter 10 - Exploiting Web Servers - Eric VanderburgEthical hacking   Chapter 10 - Exploiting Web Servers - Eric Vanderburg
Ethical hacking Chapter 10 - Exploiting Web Servers - Eric Vanderburg
 
How To Implement a CMS
How To Implement a CMSHow To Implement a CMS
How To Implement a CMS
 
Making Of PHP Based Web Application
Making Of PHP Based Web ApplicationMaking Of PHP Based Web Application
Making Of PHP Based Web Application
 
Net Fundamentals
Net FundamentalsNet Fundamentals
Net Fundamentals
 
2016 03 15_biological_databases_part4
2016 03 15_biological_databases_part42016 03 15_biological_databases_part4
2016 03 15_biological_databases_part4
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 

More from karan saini

Topology ppt
Topology pptTopology ppt
Topology ppt
karan saini
 
Tibor
TiborTibor
Thestoryofmylife 140221061604-phpapp01
Thestoryofmylife 140221061604-phpapp01Thestoryofmylife 140221061604-phpapp01
Thestoryofmylife 140221061604-phpapp01
karan saini
 
Thestoryofmylife 140221061604-phpapp01 (1)
Thestoryofmylife 140221061604-phpapp01 (1)Thestoryofmylife 140221061604-phpapp01 (1)
Thestoryofmylife 140221061604-phpapp01 (1)
karan saini
 
Snrg2011 6.15.2.sta canney_suranofsky
Snrg2011 6.15.2.sta canney_suranofskySnrg2011 6.15.2.sta canney_suranofsky
Snrg2011 6.15.2.sta canney_suranofsky
karan saini
 
Science
ScienceScience
Science
karan saini
 
Risc and cisc eugene clewlow
Risc and cisc   eugene clewlowRisc and cisc   eugene clewlow
Risc and cisc eugene clewlow
karan saini
 
Py4inf 05-iterations
Py4inf 05-iterationsPy4inf 05-iterations
Py4inf 05-iterations
karan saini
 
Py4inf 05-iterations (1)
Py4inf 05-iterations (1)Py4inf 05-iterations (1)
Py4inf 05-iterations (1)
karan saini
 
Periodic table1
Periodic table1Periodic table1
Periodic table1
karan saini
 
Maths project
Maths projectMaths project
Maths project
karan saini
 
Lecturespecial
LecturespecialLecturespecial
Lecturespecial
karan saini
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
karan saini
 
Lcd monitors
Lcd monitorsLcd monitors
Lcd monitors
karan saini
 
Lab3
Lab3Lab3
L11cs2110sp13
L11cs2110sp13L11cs2110sp13
L11cs2110sp13
karan saini
 
Helen keller-1226880485154369-8
Helen keller-1226880485154369-8Helen keller-1226880485154369-8
Helen keller-1226880485154369-8
karan saini
 
Hardware
HardwareHardware
Hardware
karan saini
 
Gsm cdma1
Gsm cdma1Gsm cdma1
Gsm cdma1
karan saini
 
Final 121114041321-phpapp01
Final 121114041321-phpapp01Final 121114041321-phpapp01
Final 121114041321-phpapp01
karan saini
 

More from karan saini (20)

Topology ppt
Topology pptTopology ppt
Topology ppt
 
Tibor
TiborTibor
Tibor
 
Thestoryofmylife 140221061604-phpapp01
Thestoryofmylife 140221061604-phpapp01Thestoryofmylife 140221061604-phpapp01
Thestoryofmylife 140221061604-phpapp01
 
Thestoryofmylife 140221061604-phpapp01 (1)
Thestoryofmylife 140221061604-phpapp01 (1)Thestoryofmylife 140221061604-phpapp01 (1)
Thestoryofmylife 140221061604-phpapp01 (1)
 
Snrg2011 6.15.2.sta canney_suranofsky
Snrg2011 6.15.2.sta canney_suranofskySnrg2011 6.15.2.sta canney_suranofsky
Snrg2011 6.15.2.sta canney_suranofsky
 
Science
ScienceScience
Science
 
Risc and cisc eugene clewlow
Risc and cisc   eugene clewlowRisc and cisc   eugene clewlow
Risc and cisc eugene clewlow
 
Py4inf 05-iterations
Py4inf 05-iterationsPy4inf 05-iterations
Py4inf 05-iterations
 
Py4inf 05-iterations (1)
Py4inf 05-iterations (1)Py4inf 05-iterations (1)
Py4inf 05-iterations (1)
 
Periodic table1
Periodic table1Periodic table1
Periodic table1
 
Maths project
Maths projectMaths project
Maths project
 
Lecturespecial
LecturespecialLecturespecial
Lecturespecial
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lcd monitors
Lcd monitorsLcd monitors
Lcd monitors
 
Lab3
Lab3Lab3
Lab3
 
L11cs2110sp13
L11cs2110sp13L11cs2110sp13
L11cs2110sp13
 
Helen keller-1226880485154369-8
Helen keller-1226880485154369-8Helen keller-1226880485154369-8
Helen keller-1226880485154369-8
 
Hardware
HardwareHardware
Hardware
 
Gsm cdma1
Gsm cdma1Gsm cdma1
Gsm cdma1
 
Final 121114041321-phpapp01
Final 121114041321-phpapp01Final 121114041321-phpapp01
Final 121114041321-phpapp01
 

Recently uploaded

How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 

Recently uploaded (20)

How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 

Chowdhury webtech

  • 1. 1 HTML (Hypertext MarkUP Language)  HTML is the lingua franca for publishing hypertext on the World Wide Web  Define tags <html><body> <head>….etc  Allow to embed other scripting languages to manipulate design layout, text and graphics  Platform independent  Current version is 4.x and in February W3C released the first draft of a test suite 4.01  For more info: http://www.w3.org/MarkUp/
  • 2. 2 HTML (Hypertext Markup Language)  Example HTML code: <HTML> <head> <title>Hello World</title> </head> <body bgcolor = “#000000”> <font color = “#ffffff”> <H1>Hello World</H1> </font> </body> </HTML>
  • 4. 4 HTML (Hypertext Markup Language)  Common features – Tables – Frame – Form – Image map – Character Set – Meta tags – Images, Hyperlink, etc…
  • 5. 5 HTML (Hypertext Markup Language)  File Extensions: HTML, HTM  Recent recommendation of W3C is XHTML 1.0 combines the strength of HTML 4 with the power of XML.  XHTML 1.0 is the first major change to HTML since HTML 4.0 was released in 1997  More info: http://www.w3.org/TR/xhtml1/
  • 6. 6 CSS (Cascading Style Sheet)  Simple mechanism for adding style to web page  Code be embedded into the HTML file  HTML tag: <style type=“text/css”>CODE</style>  Also be in a separate file FILENAME.css  HTML tag: <link rel=“stylesheet” href=“scs.css” type=“text/css”>  Style types mainly include: • Font • Color • Spacing
  • 7. 7 CSS (Cascading Style Sheet)  Controls format: – Font, color, spacing – Alignment – User override of styles – Aural CSS (non sighted user and voice-browser) – Layers  Layout  User Interface
  • 8. 8 CSS (Cascading Style Sheet)  Client’s browser dependable  Example code: p,h1,h2 { margin-top:0px; margin-bottom:100px;padding:20px 40px 0px 40px; }  More info: http://www.w3.org/Style/CSS/ http://www.w3schools.com/css/css_intro.asp
  • 9. 9 CSS (Cascading Style Sheet) <HTML> <head> <title>Hello World</title> <style type=“text/css”> p,h1,h2 { margin-top:0px; margin-bottom:100px;padding:40px 40px 0px 40px; } </style> </head> <body bgcolor = “#000000”> <font color = “#ffffff”> <h1>Hello World<h1> </font> </body> </HTML>
  • 12. 12 JavaScript  Compact object-based scripting language  Code be embedded into HTML file  HTML tag <script language=“javascript”>CODE</script>  Also be in a separate file FILENAME.js  HTML tag <SCRIPT LANGUAGE="JavaScript" SRC=“FILENAME.js"></SCRIPT>
  • 13. 13 JavaScript  Main objectives: User interface, CGI capabilities without involving server  Client side compilation  Server provides no support  Security hazard for client’s computer  SCS websites JavaScript's Examples http://www.cs.cmu.edu
  • 14. 14 VBScripts  Microsoft’s share of scripting language  Similar objectives as JavaScript and any other scripting language  Similar to Visual Basic <SCRIPT LANGUAGE="VBScript">CODE</script>  VBScript is integrated with WWW and web browsers  Other Microsoft developer tools
  • 15. 15 PHP (Hypertext Preprocessor)  PHP- HTML-embedded scripting language  Syntax looks like C, JAVA, and PERL  File extension: FILENAME.php  Main Objective: • Generate Dynamic content • User Interface  Server side loadable module  Server side execution  Current version and release: 4.3.x  More info: http://www.php.net
  • 16. 16 PHP (Hypertext Preprocessor)  Sample Code <HTML> <head><title> PHP Sample Code</title></head> <body bgcolor = "#000000"> <font color = "#ffffff"><h1> This is a PHP TEST</h1> <p> <?php $cnt=0; while($cnt <= 4) { $cnt++; echo "Hello World<P>"; } ?> </body></HTML>
  • 18. 18 PHP (Hypertext Preprocessor)  PHP is getting really popular in the web developers community  ODBC support  PHP developer community think this is the web future  SCS Undergraduate sites; done in PHP: http://www.ugrad.cs.cmu.edu/  Drawback: • Security • Easy manipulation of code for hackers
  • 19. 19 CGI (Common Gateway Interface)  Standard for external gateway programs to interface with information servers such as HTTP servers  Real-time execution  Main Objective: • Dynamic Content • User Interface  Current version 1.1
  • 20. 20 CGI (Common Gateway Interface)  Various choice in Programming language selections C, C++, PERL, Python  PERL; most popular and widely used  Server side execution  Script runs as a stand alone process unlike PHP  Basic difference with PHP is the execution approach
  • 21. 21 PERL (Practical Extraction and Report Language)  Commonly used PERL Libraries (Modules): • CGI.pm • DB.pm • DBI.pm • CPAN.pm • Mysql.pm  More on PERL Libraries: • http://www.perl.com/CPAN-local/README.html • http://www.perl.com • http://www.perl.org
  • 22. 22 PERL (Practical Extraction and Report Language)  Sample PERL code: #!/usr/local/bin/perl5.6.1 ## printenv -- demo CGI program which just prints its environment ## print "Content-type: text/plainnn"; foreach $var (sort(keys(%ENV))) { $val = $ENV{$var}; $val =~ s|n|n|g; $val =~ s|"|"|g; print "${var}="${val}"n"; }  https://superman.web.cs.cmu.edu/cgi-bin/printenv
  • 23. 23 PERL (Practical Extraction and Report Language)  More Example of PERL CGI Scripts: • http://calendar.cs.cmu.edu/scsEvents/submit.html • http://calendar.cs.cmu.edu/scs/additionalSearch  Drawback: • Security • Easy manipulation of code for hackers
  • 24. 24 Mod_PERL (PERL Module for Apache)  Module that brings together the power of PERL and Apache HTTP server  PERL interpreter embedded in Web Server  Can provide 100x speedups for CGI scripts execution due to Apache::Registry module  Reduce load on server  Less coordination of server process  More info: • http://perl.apache.org/ • http://www.modssl.org/docs/2.8/ssl_intro.html
  • 25. 25 Secured Web Server (HTTPS, MOD_SSL)  Provide strong cryptography for web server  Mod_ssl is the module for Apache to enable encrypted web connection  Use Secured Socket Layer (SSL v2/v3) and Transport Layer Security  Two categories of cryptographic algorithms • Conventional (Symmetric) • Public Key (Asymmetric)
  • 26. 26 Secured Web Server (HTTPS, MOD_SSL)  Conventional or Symmetric • Sender and Receiver share a key  Public key or Asymmetric • Solve the key exchange issue  Certificate • A certificate associates a public key with the real identity of an individual, server • Includes the identification and signature of the Certificate Authority that issued the certificate
  • 27. 27 Secured Web Server (HTTPS, MOD_SSL)
  • 28. 28 WebISO (Initial Sign-on and Pubcookie)  One time authentication process  Typically username/password-based central authentication  Use standard web browser  Eventually the session time-out  Commonly uses double encryption
  • 29. 29 WebISO (Initial Sign-on and Pubcookie)  Pubcookie Main Model:  User-Agent: Web browsers  Authentication Service: Kerberos, LDAP, NIS  Example: https://wonderwoman.web.cs.cmu.edu/Reports
  • 30. 30 WebISO (Initial Sign-on and Pubcookie)
  • 31. 31 Cookies  Web cookies are simply bits of software placed on your computer when you browse websites  WebISO (Pubcookie) use cookie implementation to keep track of a user  Drawback: Security
  • 32. 32 Kerberos  Network authentication protocal  Developed in MIT  Strong cryptography  Private (shared) key  Use ticket to authenticate  Never sends password over the network  Single sign-on approach for network authentication
  • 33. 33 Database Technology (MYSQL)  Database driven backend infrastructure  Content is independent from design  CGI and PHP are widely used  Provide the flexibility of data storage  Popular database for web systems: MYSQL, MSQL, Cold Fusion, MS-ACCESS, ORACLE  SCS database driven sites USE MYSQL  Example of SCS database driven sites
  • 34. 34 Database Technology (MYSQL)  Great database package for handling text  Drawback – View – Multi-master replication – Locking – Support for sub quires – Character set handling  More info: http://www.mysql.com
  • 35. 35 XML XSLT (Extensible Stylesheet Language Transformations)  XSLT is designed for use as part of XSL  Stylesheet language for XML  XSLT is also designed to be used independently of XSL  Work under the umbrella of XML  Example: http://wonderwoman.web.cs.cmu.edu:8888/xml/
  • 36. 36 JAVA Applets  Precompiled code  Included in HTML page  HTML tag: <applet code=FILENAME.class>LIST OF PARAMETER</applet>  The class is executed by clients browser’s JVM (Java Virtual Machine)  JAR (Java Archive) Bundle multiple files into a single archive file  More info: http://java.sun.com/applets/
  • 37. 37 Flash  Multimedia web development  Audio, video, animation really flashy web content  3D graphics  More info: http://www.macromedia.com/devnet/mx/flash/  SCS Web site (Flash): http://www.cs.cmu.edu/fla/  Performance on low bandwidth is an issue
  • 38. 38 Server, Web Server, Load balancing  Servers SUN, High-end INTEL  Operating Systems: Solrais, Linux, Windows  Web Server Apache, IIS, Enterprise, SUN ONE  Load Balancing Commercial vs Non-commercial product
  • 39. 39 VoiceXML (Voice Extensible Markup Language)  Designed for creating • Audio Dialog that feature synthesized speech • Digitized audio • Recognition of spoken and DTMF(Dual-tone-multi- frequency) key input • Recording of spoken input • Telephony • Mixed initiative conversation http://www.w3.org/TR/voicexml20/ http://www.voicexml.org/
  • 40. 40 List of Useful Links http://www.w3.org/MarkUp/ http://www.w3.org/Style/CSS/ http://www.w3schools.com/css/css_intro.asp http://www.php.net http://www.perl.com/ http://www.perl.org http://www.perl.com/CPAN-local/README.html http://perl.apache.org http://www.modssl.org/docs/2.8/ssl_intro.html http://web.mit.edu/kerberos/www/ http://www.mysql.com http://www.w3.org/TR/xslt http://www.xml.com/pub/a/2000/08/holman/s1.html?page=2 http://java.sun.com/applets http://www.macromedia.com/devnet/mx/flash/ http://www.w3.org/TR/voicexml20/ http://www.voicexml.org/ http://www.w3.org/TR/xhtml1/