Documente Academic
Documente Profesional
Documente Cultură
Learning Objective:
Web designing
Web development
Client side
Server side
HTML
he History of Web Designing has evolved over a matter of one and a half decades as of now.
Website designing was previously a matter of debate as to whether it was he job of a
programmer or a designer. After the initial hype over the website media and a confused phase of
both developers and clients, web communication today has evolved as one of the most
diversified and successful medium of of advertisement and knowledge outsourcing. However,
the history of web designing germinated from CERN, a renowned physics institute, where Tim
Berners Lee was working. The credit of development of the WWW goes o this man.
STAGE 1:
It was because of the need to circulate Lee's research papers among the concerned people that he
decided to work on HTML and browser software. So the initial stage of web page development
is synonymous to web browser development. That was the year 1993 when Mosaic web browser
had become the platform for sharing information among the scientists of CERN. Web page
development as we know it today was still unknown and graphical image representation did not
happen. The web page could only support text based messages.
In 1994 the W3C decides upon the rules and standards of web development language of HTML.
Thus HTML 2, 3, and 4 was developed.
STAGE 2:
The history of web designing goes through the second stage of development. It was then
basically a war of technological betterment with no proper objective in mind. Most companies
thought that maintaining a website was compulsory for profit making but there was no clear
explanation of the why of the phenomenon of web designing and development. The
improvement included features such as replacement of words with icons, buttons with bevelled
edges and much more.
Muhmmad Asif/handout1 2|Page Web Design And development
STAGE 3:
Gradually web developers became more objective oriented and this set into action the third
generation evolution of web designing strategies. By then, it was well understood that the
audience had to be interacted with. It was necessary to club technology with utilitarian purpose
for persistence in the success of the web development. Websites were now a platform for
inquiry, information and sale.
Multi media features such as sound and animation, database, e-commerce, and 3D worlds were
the new features of websites.
STAGE 4:
The fourth generation websites made a little improvement with the addition of the unique web-
driven selling proposition such as online tutorials and course notes.
Web designing:
Web design is the process of planning and creating a website. Text, images, digital media and
interactive elements are used by web designers to produce the page seen on the web browser. Web
designers utilize markup language, most notably HTML for structure and CSS for presentation as well as
JavaScript to add interactivity to develop pages that can be read by web browsers.
Web development:
Web development is a broad term for the work involved in developing a web site for the Internet
(World Wide Web) or an intranet (a private network). This can include web design, web content
development, client-side/server-side scripting, web server and network security configuration, and e-
commerce development.
Among web professionals, "web development" usually refers to the main non-design aspects of building
web sites: writing markup and coding.
Web development can range from developing the simplest static single page of plain text to the most
complex web-based internet applications, electronic businesses, or social network services.
Muhmmad Asif/handout1 3|Page Web Design And development
Client Side scripting are the programming language which runs on client computer. It will run by
the Web Browser. Any user in the world can view the full script by simple going to page source.
Some Client-Side scripting languages are:
JavaScript:
function factorial(n) {
if (n == 0) {
return 1;
}
return n * factorial(n - 1);
}
Muhmmad Asif/handout1 4|Page Web Design And development
HTML/CSS:
HTML
HTML is a language for describing web pages.HTML stands
for Hyper Text Markup Language.HTML is not a programming language, it is a markup
language
Example Code:
My First Heading
My first paragraph.
My first paragraph. CSS Cascading Style Sheets (CSS) is a style sheet language used to describe
the presentation semantics (the look and formatting) of a document written in a markup
language. Its most common application is to style web pages written in HTML and XHTML, but
the language can also be applied to any kind of XML document, including plain XML, SVG and
XUL. Example Code:
body
{background-color:#d0e4fe;}
h1{color:orange;
text-align:center;}
p{font-family:"Times New Roman";
font-size:20px;}
HTML5 and CSS3 Latest HTML proposed standard combined with the latest proposed standard
for CSS natively supports much of the client-side functionality provided by other frameworks
such as Flash and Silverlight.
Muhmmad Asif/handout1 5|Page Web Design And development
Flash:
Flash Adobe Flash Player is an ubiquitous browser plugin ready for RIAs. Flex 2 is also
deployed to the Flash Player (version 9+).
Adobe Flash Player is the standard for delivering high-impact, rich Web content. Designs,
animation, and application user interfaces are deployed immediately across all browsers and
platforms, attracting and engaging users with a rich Web experience.
ActionScript 3.0
ActionScript 3.0 has a similar syntax to ActionScript 2.0 but a different set of APIs for creating
objects. Compare the script below to the previous ActionScript 2.0 version:
Example Code:
AJAX:
Classic web pages, (which do not use AJAX) must reload the entire page if the content should
change.
Ajax Asynchronous JavaScript provides new methods of using JavaScript, and other languages
to improve the user experience.
Examples of applications using AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.
Muhmmad Asif/handout1 6|Page Web Design And development
Example Code:
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
JQuery:
JQuery Cross-browser JavaScript library designed to simplify and speed up the client-side
scripting of HTML.
jQuery is a library of JavaScript Functions.
jQuery is a lightweight “write less, do more” JavaScript library.
The jQuery library contains the following features:
Example Code:
$(document).ready(function() {
$("p.neat").addClass("ohmy").show("slow");
});
Muhmmad Asif/handout1 7|Page Web Design And development
Microsoft Silverlight:
Microsoft Silverlight Microsoft’s browser plugin that enables animation, vector graphics and
high-definition video playback, programmed using XAML and .NET programming languages.
Windows? Check. Mac? Check. Linux? Check. Silverlight works on all major OS’s plus all
major browsers, including Firefox, Google Chrome, Safari, and yes, Internet Explorer.
Muhmmad Asif/handout1 8|Page Web Design And development
Real Studio :
Real Studio Web Edition is a rapid application development environment for the web. The
language is object oriented and is similar to both VB and Java. Applications are uniquely
compiled to binary code.
The nature of client side coding allows you to alter the HTML on a local client and refresh the
pages with updated content (locally),they are not provide securities and core programming logic.
web designers must bear in mind the importance and relevance to security with their server side
scripts. If a server side script accepts content from a locally modified client side script, the web
development of that page is poorly sanitized with relation to security.
Muhmmad Asif/handout1 9|Page Web Design And development
Server Side Scripting are the programming language which runs on Web Servers to generate
dynamic web pages. Nobody can view the programming code of server side scripting.
PHP
PHP is a widely-used general-purpose scripting language that is especially suited for Web
development and can be embedded into HTML. If you are new to PHP and want to get some
idea of how it works, try the introductory tutorial. After that, check out the online manual, and
the example archive sites and some of the other resources available in thelinks section.
PHP was originally created by Rasmus Lerdorf in 1995. The main implementation of PHP is
now produced by The PHP Group and serves as the de facto standard for PHP as there is no
formal specification. PHP is free software released under the PHP License which is incompatible
with the GNU General Public License (GPL) due to restrictions on the usage of the term PHP.
Ever wondered how popular PHP is? see the Netcraft Survey.
Example Code:
function myFunction() {
return 'John Doe';
}
echo 'My name is ' . myFunction() . '!';
Muhmmad Asif/handout1 10 | P a g e Web Design And development
Ruby:
Ruby is a language of careful balance. Its creator, Yukihiro “matz” Matsumoto, blended parts of
his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that
balanced functional programming with imperative programming.
He has often said that he is “trying to make Ruby natural, not simple,” in a way that mirrors life.
Ruby is simple in appearance, but is very complex inside, just like our human body.
Since its public release in 1995, Ruby has drawn devoted coders worldwide. In 2006, Ruby
achieved mass acceptance. With active user groups formed in the world’s major cities and Ruby-
related conferences filled to capacity.
CGI:
CGI - The Common Gateway Interface (CGI) is a standard that defines how web
server software can delegate the generation of web pages to a stand-alone application or an
executable file. Such applications, known as CGI scripts, can be written in any programming
language, although scripting languages are often used.
Muhmmad Asif/handout1 11 | P a g e Web Design And development
Example Code:
Perl:
Perl is a highly capable, feature-rich programming language with over 23 years of development.
Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid
prototyping and large scale development projects.
Example Code:
my $x = "foo";
my $some_condition = 1;
if ($some_condition) {
my $y = "bar";
print $x; # prints "foo"
print $y; # prints "bar"
}
print $x; # prints "foo"
print $y; # prints nothing; $y has fallen out of scope
Muhmmad Asif/handout1 12 | P a g e Web Design And development
ColdFusion:
Python:
Python is a programming language that lets you work more quickly and integrate your systems
more effectively. You can learn to use Python and see almost immediate gains in productivity
and lower maintenance costs.
Python runs on Windows, Linux/Unix, Mac OS X, and has been ported to the Java and .NET
virtual machines.
Python is free to use, even for commercial products, because of its OSI-approved open source
license.
Example Code:
ASP:
ASP-Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft’s
first server-side script-engine for dynamically-generated web pages. Initially released as an add-
on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack (ca 1998), it was
subsequently included as a free component of Windows Server (since the initial release of
Windows 2000 Server). ASP.NET has superseded ASP.
ASP 2.0 provided six built-in objects: Application, ASPError, Request, Response, Server, and
Session. Session, for example, represents a cookie-based session that maintains the state of
Muhmmad Asif/handout1 14 | P a g e Web Design And development
variables from page to page. The Active Scripting engine’s support of the Component Object
Model (COM) enables ASP websites to access functionality in compiled libraries such as DLLs.
Example Code:
NET:
.NET is an integral part of many applications running on Windows and provides common
functionality for those applications to run. This download is for people who need .NET to run an
application on their computer. For developers, the .NET Framework provides a comprehensive
and consistent programming model for building applications that have visually stunning user
experiences and seamless and secure communication. Example Code:
Websphere:
Websphere In computing, IBM WebSphere refers to a brand of software products in the genre
of enterprise software known as “application and integration middleware”. These software
products are used by end-users to create applications and integrate applications with other
applications. IBM WebSphere has been available to the general market for over a decade.
Muhmmad Asif/handout1 15 | P a g e Web Design And development
JSP:
JSP JavaServer Pages (JSP) is a Java technology that helps software developers serve
dynamically generated web pages based on HTML, XML, or other document types. Released in
1999 as Sun’s answer to ASP and PHP, JSP was designed to address the perception that the Java
programming environment didn’t provide developers with enough support for the Web.
Imagine you want your web site visitors to fill a form with their name and email address, and
you want to make sure they fill both fields before they click the “Submit” button. Since this
validation has to happen inside the client (before they send anything back to the server) a good
language to use would be JavaScript (Yes, client-side). Your JavaScript code will check if both
fields are properly filled; if they are, it will send the form back to the server, if they are not, it
will display an alert telling the user to fill both fields.
Now imagine you are building a web site whose contents will be dynamically created based on
additional information stored inside the server, just like a news web site, or an online store, or a
blog, or a forums system like the one we have here. Building each and every one of the pages
manually would be just too complicated since the information is constantly changing, so you
might want to use a server-side language to build a site that delivers web pages that have been
dynamically built, every time, based on the user’s requests.
Muhmmad Asif/handout1 16 | P a g e Web Design And development
Protocols:
www = world wide web.
http = Hyper Text transfer protocol.
ftp = File transfer protocol.
Smtp = simple mail transfer protocol.
Pop = post office protocol.
Tcp/ip = transfer control protocol/internet protocol.
url = universal resourse locater.
Isp = internet service provider.
Domain:
Virtual Directory:
I. Virtual directory for web.
C:\\input\www.root\web1 ; web1=virtual directory