18 January 2011
By Andrew Clifford
Last week I covered how the basic web technologies of HTML and CSS can produce elegant websites, but do not fully meet the requirements for the levels of dynamic behaviour that people expect.
The limitations of HTML and CSS are:
- It is not always possible to achieve the desired layout and styling using CSS without modifying the underlying HTML. This complicates the HTML and makes it harder to maintain, and means that changes to format have to be made in more than one place.
- HTML and CSS have few capabilities for dynamic behaviour, though it is possible to create simple pop-up boxes and drop-down menus using CSS alone. More complicated effects, such as animated displays, are not possible.
- HTML and CSS do not alter how the browser behaves. For example, there is nothing in HTML to warn you if you have made changes to text on a form, and then accidentally cancel the changes rather than commit them.
- HTML and CSS do not alter how the browser retrieves data from the server. For example, with plain HTML you can not build a form that carries out address lookup using a postcode; you would need the user to enter the postcode on one form, and then present a whole new page for them to select an address.
- Dynamically modify the structure of the HTML within the browser, so that more advanced CSS-based formatting can be applied without modifying the simple structure of the HTML created by the server.
- Respond to events in the browser, such as mouse clicks, and create animated effects such as moving or fading areas of the page.
- Read data on HTML forms as it is entered, so that forms can be validated before they are submitted.
- Retrieve data directly from the server without bringing up a new page, for example to lookup a set of addresses for a postcode that has been entered.
Next: jQuery part 3: overview of jQuery
To subscribe to the newlsetter, simply send an email to email@example.com.
We use the term "metadata-driven" to describe IT solutions in which functionality is defined in data. Taking this to the extreme can provide unparalleled levels of speed, simplicity and versatility.
Read full newsletter
System governance helps you implement high-quality systems, manage
existing systems proactively, and improve failing systems.
Try it for free!
Find out more