Web Project –
1- Markup Language
2- Scripting Language
1- Client Side Scripting – execute on the client.
2- Server Side Scripting – execute on the server.
3- Database – may be oracle / MySQL / DB2 / SQL Server
4- Web Server – java’s – Tomcat / Web Logic / Net dynamic /
J2EE / Glass Fish.
5- Designing Tool – Flash / Gif Animator / Photoshop
Markup Language – which language written b/w <> (tags) that
is called markup language. used for web development.
All markup language r product of W3C(World Wide Web Consortium)
All r Interpreted Language.
Markup languages -
GML – Generalized Markup Language – 1st markup language in market.
Problem – it is more complex.
SGML – Standard Generalized Markup Language – it is the standard
version of GML.
Problem – it is complex.
SGML – parts –
HTML – Hyper Text Markup Language – in HTML all tags r pre define,
used for creating static web pages.
Hyper Text – Text with Linked to another document.
Markup Language – written b/w tags - <>
DHTML – Dynamic HTML – in DHTML all tags r pre define, used for
creating dynamic web pages.
or
It is the concept by which we can create the dynamic web pages.
Concept of Scripting Languages & Style sheets (CSS).
Dynamic – Animations + Form validations + Banners + all dynamic
effects.
XML – eXtensible Markup Language – in XML all tags r user define.
XML play the imp. Role in data interchange on the net.
** XML not for presentation purpose.
** XML can work as a client side database.
** it is a kind of meta language – using that we can design
own language.
Method for data sending from one PC to another PC –
Text Format Binary Format
We can send only text other * we can send any format data,
format not support but if related software not
installed the we can’t view that.
Flop flop
W3C – we r design common format for data sending & that is XML.
Any Client –> OS must -> Browser -> user can view that.
Data Retrieving From XML document –
SAX DOM
(Simple API for XML) (Document Object Model).
With Sun Tech. – Java * with MS Tech.- VB/.net / VB Script
Static – we can’t add/ * dynamic – we can add/remove elements
remove elements.
Work with Top to down. * work with any Approach.
Fast * Slow.
For XML presentation -
XSL CSS
(XML style sheet Language) (Cascading style sheet.)
Conditional formatting. * non conditional formatting.
Programming. * non programming.
For XML tag declarations –
DTD XML Schema
Document Type Definition
* simple – basic * Advance – support inheritance concept.
* not support OOPs concept * support Oops Concept.
XHTML – XML + HTML , means – user define + pre define tags.
Not for WEB –
MML – Math Markup Language.
VocML – Voice Markup Language.
CML – Chemical Markup Language.
WML – Wireless Markup Language – written in XML.
Script Language –
Script –
Which language work with support of other language, not a
separate language depends on other language. That is called
script language. Used for creating dynamic web pages.
Type of Script –
Client side scripting – execute on the client.
Server side scripting – execute on the server.
Before submit all validations r – client side validations.
After page submit all validations r server side validations.
Client side scripting –
1- Java script – product of Sun + Netscape
2- VB Script – product of MS.
3- Jscript – product of MS
4- Java Applet – product of Sun
All r work with HTML(depends on HTML).
Java Script / Java Applet – it is a kind of client side scripting,
client side validations, client side programming or client side
processing. Used for creating dynamic Web pages.
Server Side –
CGI with Perl – Common Gateways Interface, it is process based server
side scripting
Out of Market – bcos of process based.
ASP – Active Server Page – Thread based server side scripting.
Problem – product of MS – platform dependent server side scripting.
work with only MS products – MS Web Servers
PWS - Personal Web Server
IIS - Internet Information Server
Servlets Thread based, product of Sun Micro System.
Adv – platform Independent Server side scripting, can work with
any web server excluding MS products
like – Tomcat, JWS, JSDK, J2EE, Glass Fish, Web Logic, Net Dynamic,
JBOSS, Web Sphere.
Problem – it is complex, simple hello msg display – 6 to 7 line code.
JSP – Java Server Pages, Thread based & product of Sun Micro System.
JSP is the Upper Layer of Java Servlets.
JSP -> Java Servlets -> compile -> class file -> execute
--------------------------------------
JSP Engine
JSP Tech. not replacement of Servlets Tech., it is the extension of
servlets tech.
[Link] – Thread based, product of MS
PHP/ PHP++ - Thread based, Open Source.
Java Servlets / JSP – it is a kind of server side scripting,
server side validations, server side programming or server side
processing. Used for creating dynamic Web pages.
HTML Page structure –
<html>
<head>
<title> hahahaha</title>
</head>
<body>
Display
</body>
</html>