|
Website development is very exciting, and it includes a vast array of available technologies.
I have broken down the website development section into two separate sub-sections: client-side scripting and server-side scripting. Each of which are explained above.
Common tools used for website development include: Microsoft's Visual Studio, Macromedia's Dreamweaver, Modelworks' JPad, Helios' TextPad, Multi-Edit, and many others. (and even Notepad for us hard-core programmers)
HTML stands for Hyper Text Markup Language. HTML is the standard programming language for creating and displaying web pages... through the creation of tags which tell the web browser how to display the page. HTML files have the file extension .htm or .html
<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my web page. <b>This text is bold</b>
</body>
</html>
XHTML stands for eXtensible HyperText Markup Language. XHTML is a stricter and cleaner version of HTML, aimed to replace HTML, and is defined as an XML application.
<!DOCTYPE Doctype goes here>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title goes here</title>
</head>
<body>
Body text goes here
<div lang="no" xml:lang="no">Inside an XHTML div tag</div>
</body>
</html>
DHTML stands for Dynamic HTML. DHTML is a combination of technologies used to create dynamic and interactive web sites. To most people DHTML means a combination of HTML, Style Sheets, and JavaScript.
<html>
<body> <h1 id="header">My header</h1> <script type="text/javascript">
document.getElementById('header').style.color="red"
</script></body>
</html>
XML stands for eXtensible Markup Language. XML was designed to describe data and to focus on what data is (as apposed to HTML, which was
designed to display data and to focus on how data looks). In XML you must define your own tags, and use a Document Type Definition (DTD) or
XML Schema to describe the data.
<?xml version="1.0" encoding="ISO-8859-1"?>
<messages>
<note id="p501">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
<note id="p502">
<to>Jani</to>
<from>Tove</from>
<heading>Re: Reminder</heading>
<body>I will not!</body>
</note>
</messages>
A Java Applet is a small Java program that is included as part of a web page. The applet is usually embedded in an HTML page on a web site and can be executed from within a browser. Java Applets are used to spice up your web page.
<APPLET CODE="filename.class" WIDTH="400" HEIGHT="200">
<PARAM NAME="SPEED" VALUE="100">
<PARAM NAME="IMAGE1" VALUE="thisimage.gif">
<PARAM NAME="IMAGE2" VALUE="thatimage.jpg">
</APPLET>
JavaScript is the scripting language of the Web! JavaScript was designed to add interactivity to HTML pages, and it is used in millions of web pages to improve the design, validate forms, detect browsers, etc. JavaScript is the most popular scripting language on the Internet.
<html>
<body>
<script type="text/javascript" language="JavaScript">
document.write("Hello World!")
</script>
</body>
</html>
VBScript is a Microsoft scripting language, and is designed to be a light version of Microsoft's programming language Visual Basic.
<html>
<body>
<script type="text/vbscript" language="VBScript">
document.write("Today's date is " & date())
</script>
</body>
</html>
Flash is a tool for creating interactive and animated web sites. Flash was created by Macromedia, and is now very common on the Internet. Once the flash animation is created, it is then embedded within your HTML page.
<html>
<body>
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>
</body>
</html>
SMIL stands for Synchronized Multimedia Integration Language. SMIL is a HTML-like language for describing audiovisual presentations, and is written in XML. It can be used to create slide-show presentations with text, video, audio, etc.
<smil>
<body>
<seq repeatCount="indefinite">
<img src="image1.jpg" dur="3s" />
<img src="image2.jpg" dur="3s" />
</seq>
</body>
</smil>
ASP stands for Active Server Pages. ASP is a Microsoft technology that is usually run on an IIS web server. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Then the ASP file is returned to the browser as plain HTML. ASP files have the file extension .asp
<html>
<body>
<% response.write("Hello World!") %>
</body>
</html>
ASP.NET is the latest version of Microsoft's Active Server Pages technology (ASP). ASP.NET is the next generation ASP, but it's not an upgraded version of ASP. ASP.NET is an entirely new technology for server-side scripting; it was written from the ground up and is not backward compatible with classic ASP. ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating dynamic and interactive web pages. ASP.NET files have the file extension .aspx
<script runat="server">
Sub submit(Source As Object, e As EventArgs)
button1.Text="You clicked me!"
End Sub
</script>
<html>
<body>
<form runat="server">
<asp:Button id="button1" Text="Click me!"runat="server" OnClick="submit"/>
</form>
</body>
</html>
JSP stands for JavaServer Page. JSP is an extension to the Java servlet technology from Sun Microsystems that allows HTML to be combined with Java on the same page. JSPs are the primary method in the J2EE platform for displaying dynamic web pages. JSP files have the file extension .jsp
<html>
<body>
<% out.println("Hello World!"); %>
</body>
</html>
PHP stands for PHP: Hypertext Preprocessor. PHP is a server-side scripting language, like ASP, and is executed on the server. PHP runs on different platforms (Windows, Linux, Unix, etc.) and is commonly used with an Apache web server and a MySQL database. PHP is free to download and use. PHP files have the file extension .php
<html>
<body>
<?php echo "Hello World!"; ?>
</body>
</html>
Perl stands for Practical Extraction Report Language. Perl is a programming language written by Larry Wall, which is similar to the C language; however it combines syntax from several Unix utilities and languages. Perl is an interpreted language that can optionally be compiled just before execution into either C code or cross-platform bytecode. Perl is known for it’s good text manipulation facilities. Perl files have the file extension .pl
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "<html><body>Hello world!</body></html>\n";
ColdFusion, made by Allaire and owned by Macromedia, is a tag–based programming language used for writing web-based applications. ColdFusion is also a web application development tool that allows developers to build dynamic data-driven applications for use on the Internet (similar to what Visual Studio is for ASP.NET). ColdFusion files have the file extension .cfm or .cfml
<html>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
|