There are many established and up and coming technologies/languages for building web pages and sites. Since the establishment of HTML, new technologies for building more complex and powerful sites seem to emerge every year. These technologies often require programming skills to achieve sophisticated user/interface interaction, skills which the typical non-programmer freelance graphic/designer does not have. Because of this we have recently seen the emergence and increasing popularity of easy-to-use CMS (Content Management Systems) such as WordPress which make available sophisticated web 2.0 features to the non-programmer.
The web is one big compatible standard, right? WRONG!! Microsoft and Netscape's browser wars begun a long history of the buggy implementation of agreed standards due to (depending on how you view things) ineptitude or plain sabotage. Buggy browsers have frustrated many web designers seeking to build sites which will work on all computer operating systems and browsers.
Add to this the need to create attractive sites that work for disabled and able bodied surfers, are easy to update and simple to use, integrate ecommerce and databases, and can be effectively indexed and ranked by search indexes, and suddenly deciding upon the best technologies and approach becomes a bit of a minefield.
Therefore, before actually building a site, every web developer will need to consider ...
Here are 4 common scenarios ...
Available technologies can be roughly divided into 3 types ...
|Languages / technologies typically used by web site designers||Languages / technologies typically used by back-end server side programmers|
|Design||Design & "scripting"||Programming|
SGML XML and (X)HTML
Most web sites are built using a computer language know as HTML which uses a system of tags to control page elements and links. This is the oldest, most established and simplest method. Click here for more on HTML.
HTML is not absolutely strict in its syntax. A designer can often get away with writing sloppy code. When XML was introduced HTML was re-written in it. This new version of HTML is called XHTML. Because XHTML contains all of HTML in it designers could continue to create web sites without learning XML. But XML demands that they are more careful in how they write their code.
The rules of XHTML are only slightly different to HTML. The main ones are ...
A page that is XHTML compliant must have the following code at the top to enable a browser to recognise and display it correctly ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
If you make a new XHTML doc in Dreamweaver it will create this code for you. It will also add this important tag into the head tag ...
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Let it. This will help resolve XML conflicts (don't ask!)
unadorned.org has this definition ... "XHTML is a reformulation of HTML so that it conforms to the rules of XML. This means that XHTML is very similar to HTML, except for slight differences in the markup, but it is now an application of XML".
DHTML is the name given to the collection of web building tools that includes ...
These technologies allow more complex "interactive" web pages to be created.
Although not strictly a web page building language, Flash can be used to create pages and sophisticated web applications, and is used by designers and developers. Its lack of support on iOS devices is an increasing problem and has resulted in a down turn in its use. For more on Flash click here.
WordPress is a popular open
source CMS suitable for
Joomla is a "mid-range"
open source CMS suitable
for small development teams
Drupal is an advanced open
source CMS suitable for
The primary advantages of CMS's are ...
"Entry level" CMS systems, such as the "open source/freeware"WordPress, can be deployed by a site builder with no deep programming skills, they have become popular. A designer need not hand over a large portion of the budget to a programmer, but can build sophisticated functionality themselves.
More powerful CMS's, such as Drupal, are used by many web development companies, because they allow teams to work on projects simultaneously, integrate with advanced databases, and allow advanced and flexible extendibility with bespoke programming.
All CMS's are extendable by bespoke programming or a growing "library" of extensions and plug-ins which add functionality for developers and end-users.
A typical CMS will allow ...
SGML (Standard Generalised Markup Language) was originally created as
a means to make documents that were easy for a computer to process.
SGML was a major influence on the development of HTML (HyperText
Markup Language) and HTML can be considered an extension of SGML
although HTML has quite a few differences so cannot be considered a
part of SGML.
www.arl.org has this definition of SGML ... "Standard Generalized Markup Language. SGML is both a language and an ISO standard for describing information embedded within a document. HyperText Markup Language (HTML) is based on the SGML standard".
XML (eXtensible Markup Language) is also a descendant of SGML, XML
was developed to make SGML easier to read by machines and in doing so
means it is a stricter language and has also has taken over from SGML
replacing it almost entirely.
www.rustybrick.com has this definition ... "Short for Extensible Markup Language, a specification developed by the W3C. XML is a pared-down version of SGML, designed especially for Web documents. It allows designers to create their own customized tags, enabling the definition, transmission, validation, and interpretation of data between applications and between organizations".
Just as HTML is an extension of SGML, XHTML is an extension of XML
meaning all XHTML is also XML. As XHTML is also XML XHTML is also a
strict language, this means computers can more accurately process
XHTML as there is less room for ambiguous statements.
CGI (Common Gateway Interface) scripts are pieces of code (small programs) which "live" on web servers and transfer information between web sites and applications (typically databases) usually in order to retrieve, process and act on information typed into a web site by a surfer (such as a credit card order).
CGI scripts are usually commissioned by web developers and written by programmers. Be aware that even if you develop scripts, finding a server willing to host them and your site may be problematic.
New scripting features in authoring platforms such as Flash 4 are offering cost effective alternatives to the expense of developing bespoke CGI scripts.
www.eseehosting.com has this definition ... "The common gateway interface (CGI) is a standard way for a Web server to pass a Web user's request to an application program and to receive data back to forward to the user. When the user fills out a form on a Web page and sends it to the server, it usually needs to be processed by an application program. The Web server typically passes the form information to a small application program that processes the data. This method or convention for passing data back and forth between the server and the application is called the common gateway interface (CGI)".
XHTML and CSS provide the fundamental tools for making websites, however the resulting webpage is rather like a poster or leaflet, although the end user can read the webpage there is no way for them to interact with the webpage.
For a large number of sites this does not pose a problem, if the site is a tutorial site such as this one there is only a one way flow of information, from the site to the user. However many sites now aim to provide extra services and tailor their site to their users needs, to do this they need to be able to process data and gather information from the user and generate user specific pages. One way to provide this functionality is to used software that runs in the browser via the use of plug-ins such as Flash and Java but this means all users of your site will have to have these plug-ins installed, which is not an ideal situation, fortunately with the use of scripting dynamic content can be generated that is accessible with any modern web browser.
There are two main schools of scripting, client side scripting and server side scripting. Client side script is script that runs on the users computer using the browser, server side script runs on the web server the page is hosted on. Here is a list of a few of the main technologies.
Client side is best for processing user actions giving instantaneous feedback, it is also good for checking data that will be sent to web server to speed up error checking. However it is limited as it cannot directly interact with the server. Server side processing runs on the web server and is most commonly used to interface with databases and provide dynamically generated web pages. Although extremely powerful the interface is limited as it relies on you sending data to the server (usually via a form) and then the server creating the web page to send to you.
VBscript is a scripting language developed by Microsoft it is not wildly used as only IE fully supports it (both Firefox and Safari do not support VBscript).
Active Server Pages (ASP) is a server side scripting language developed by Microsoft, it is widely used but will only run on widows based web servers.
PHP is a very popular scripting language, it is open source and free to use, many sites (including Wikipedia) use PHP in combination with MySQL an open source database management system. PHP will run on both linux and Windows based web servers.
Content management systems have become widespread and sophisticated. Open source/freeware systems (WordPress, Joomla, Drupal etc) are increasingly being deployed by designers and large agencies because the are cheap and are increasingly offering features that rival established but costly technologies such as ASP and .Net.
Another highly powerful Microsoft technology.
JavaServer Pages is a similar type of technology but based on Java, it is not wildly used but may be useful if you are using other Java technology.
Choosing the right technology when creating web pages requires in-depth knowledge of techniques and computers.