Web Development With Java
Web Development With Java
com/Gctpak
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
Browsers do not display the HTML tags, but use them to render the
content of the page
For example:
<!DOCTYPE.html>
<html>
<head>
<title>Page.Title</title>
</head>
<body>
<h1>MyFirstHeading</h1>
<p>Myfirstparagraph.</p>
</body>
</html>
JAVASCRIPT:
JavaScript is a programming language commonly used in web
development.
Web Page:
A web page is a document that is suitable for the World Wide
Web and web browsers. A web browser displays a web page on
a monitor or mobile device.
webpage is a document commonly written in HyperText Markup
Language (HTML) that is accessible through the Internet or other
network using an Internet browser
Website:
A set of related web pages located under a single domain name. and
published on at least one web server.
For example www.tevta.gop.pk
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
2-HTTP Basics:
HTTP (Hypertext Transfer Protocol) is the set of rules for transferring
files (text, graphic images, sound, video, and other multimedia files)
on the World Wide Web. As soon as a Web user opens their
Web browser, the user is indirectly making use of HTTP. HTTP is an
application protocol that runs on top of the TCP/IP suite of protocols
(the foundation protocols for the Internet).
World Wide Web: The World Wide Web (WWW) is combination of all
resources and users on the Internet that are using the Hypertext
Transfer Protocol (HTTP).
Protocol : When computers communicate with each other, there
needs to be a common set of rules and instructions that each
computer follows. A specific set of communication rules is called a
protocol. Some examples of these different protocols include PPP,
TCP/IP, SLIP, HTTP, and FTP.
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
Examples :
The Programming languages for server-side programming are :
1) PHP
2) C++
3) Java and JSP
4) Python
5) Ruby on Rails
Syntax:
<!DOCTYPE html>
<html>
<head>
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
Client-side Programming:
It is the program that runs on the client machine (browser) and deals
with the user interface/display and any other processing that can
happen on client machine like reading/writing cookies.
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
1) Javascript
2) VBScript
3) HTML
4) CSS
5) AJAX
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
1. Presentation layer:
The outermost layer in this kind of model deals
with the presentation of content & Interaction with the user. It can
be called view/presentation UI. In this layer the application shows to
be what is needed to be seen and give the tools for interaction. The
extract kind of interaction depend on the application. One can create
a web app that only shows information to the user without any kind
of interaction, not even hyper link to be clicked. This layer
communicate with the business layer.
2. Business layer:
The central layer of the model deals with the logic of
the programme. It receives data
From the upper layer & transform It under the inner application
logics. It also retrieve data from the deepest data level & uses the
logic.
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab
www.SalmanAdeeb.wixsite.com/DAE-CIT-books www.facebook.com/Gctpak
It Includes:-
1. Performing all required Calculation & validation
2. Managing all work flow
3. Managing all data access from the presentation layer.
3. Data layer:
The deepest level in the three layer architecture is data
layer which deals with the data
Retrieval from its source. It is an abstraction to get plain data that
can be in a wide variety of forms. Its play a huge role on the re-
usability and exchange of technologies used in this layer are
Database Management system like My SQL.
www.youtube.com/AdeebTechnologyLab www.facebook.com/Adeeb.Technology.Lab