John M. Astell ♦ Portfolio

Web Sites & Scripting

Web Sites

I design and create web sites using HTML5, HTML4, CSS3, CSS2, JavaScript, and jQuery. I recently designed and implemented the following sites:

HTML5

HTML5 is great! It's been taking a long time to get here, but it will be very powerful once it (and its related technologies) are finalized and working in most users' browsers. Many modern browsers already support a number of the draft HTML5 features. Rather than talking about it further, click this link to see my very own HTML5 demos!

JavaScript

jQuery

jQuery is a free-to-use JavaScript library that can greatly help the creation of JavaScript scripts for browsers. It supports the "big 5" modern browsers in widespread use (Chrome, Firefox, Internet Explorer, Opera, and Safari), is fast, and is fairly compact for good download speeds. It is good for working with the DOM of web pages, for handling events, for animation, and for working with AJAX. If that's not enough, jQuery has scads of useful plugins, which provide tools to do a number of tasks. Need to parse the URL of a web page? Just use jQuery URL Parser!

jQuery is written in JavaScript, so jQuery and your own JavaScript code can be mixed together in a script. Anything you can do in jQuery you can code for yourself in JavaScript. But, using jQuery gives you functionality that's already coded, tested, and known to work across all major modern browsers. However, jQuery doesn't have to be used for everything, just because you're using it for something. There is some overhead involved in processing jQuery calls, so for simple things it may make more sense to code it in JavaScript. See this article on jQuery and Performance. You also might not want to include the jQuery library on pages intended for mobile devices, but in this case you could use jQuery Mobile instead.

jQuery in This Website

Several pages in this website make extensive use of jQuery:

jQuery Demos

The jQuery code used in these demos is in this page's HTML file rather than in a separate file, so that all you need to do to examine it is to look at the HTML source. The JavaScript/jQuery code is written for ease of readability and is not minified.

Perl and Perl/Tk