Standing on the shoulders of giants
![]() |
| Image: 'untitled' http://www.flickr.com/photos/34000660@N08/3347574988 Found on flickrcc.net |
- A usable site structure
- An appealing design
- Good content
a blog for the Certificate IV website design course
![]() |
| Image: 'untitled' http://www.flickr.com/photos/34000660@N08/3347574988 Found on flickrcc.net |
Posted by
Unknown
at
3:35 pm
0
comments
![]() |
| Image: 'left arrow' http://www.flickr.com/photos/92709190@N00/787920010 Found on flickrcc.net |
Posted by
Unknown
at
1:54 pm
0
comments
Labels: bootstrap, css, css layout, flex, float, page layout, scaffolding
Posted by
Unknown
at
1:33 pm
0
comments
There's no doubting that old adage: "a picture's worth a thousand words", and nothing sadder than a web page full of text with no supporting images. So you owe it to yourself and your readers to add a few eye catching graphics to every page you write.
If you want to download pictures to use you'll want to find royalty free stock images or pictures released under a creative commons license. In this post I'll walk you through the process of finding photographs that use the flickr creative commons license using a search engine I wrote called flickrCC
Posted by
Unknown
at
9:35 am
0
comments
Labels: cc, flickr, flickr.com, free clip art, free images, free photo editing, free photo editor, free photos, free stock photos, photo editor free, royalty free images, stock images, stock photo, stock photos
![]() |
| Image: 'the JavaScript Code' http://www.flickr.com/photos/89943077@N00/2378867408 |
Posted by
Unknown
at
4:13 pm
0
comments
![]() |
| Image: 'Browser' http://www.flickr.com/photos/38305415@N00/4397800453 |
Posted by
Unknown
at
2:11 pm
1 comments
Image: 'Traditional English Bow-top horse-drawn wagon
|
Posted by
Unknown
at
11:15 am
1 comments
Posted by
Unknown
at
9:43 am
0
comments

An assignment for the subject: Monitor traffic and compile website traffic reports.
Write a few pages outlining which reports you would recommend from a web log analysis program for the following 3 groups: web owner, system admin & web developer.
Include some screenshots of each report and some information on how often they should be accessed; what information they are showing and why it is important to the viewer; and what problems might be indicated by the report (along with some ideas about how to solve them if they do come up)
Also include some analysis of a web site - particularly what times are the busiest and the slowest and when it might be best to schedule updates to the site.
Image: 'Log Texture'
http://www.flickr.com/photos/82518118@N00/2313754224
Posted by
Unknown
at
1:59 pm
2
comments

I was thinking of u all fondly today and thought you deserve a little present:
fValidator is an open source (free) unobtrusive javascript tool for easy handling form validation. It allows a user to more easily enter fixed width input where you would like them to enter the data in a certain format (dates,phone numbers, etc). It also displays error messages right where you want them - just the ticket for your form validation needs.
Image: 'My plane ticket'
http://www.flickr.com/photos/44124300615@N01/2432095214
Posted by
Unknown
at
5:49 pm
0
comments
first up, please accept my apologies for being absent today. I did a pretty stupid thing on Saturday and need to lie around feeling remorseful for a bit (the pic here isn't my bike, but it's a pretty close approximation - I lost a little skin, sprained a few joints, cracked a rib, may have broken my thumb... and got off pretty lightly, all things considered).
On the Javascript front, I believe we just finished looking at form validation. To practice a bit I'd like you to create a contact form which prompts for a name, phone number, email address and comment - checking validity for each before submitting. For bonus points add an age field and check for a valid age (say between 5 and 105). Errors or omissions should be flagged by revealing an error message beside the relevant field using CSS and DOM magic.
Finished? Read through and try out some more advanced DOMination
CU soon, Peter
Image: 'Picture073_11Sep04'
http://www.flickr.com/photos/89689539@N00/373976620
Posted by
Unknown
at
3:32 pm
1 comments

This week saw us trying out some JavaScript looping
Read through a little intro and try out the exercises I've uploaded here:
http://bathurst-tafe.nsw.edu.au/~pshanks/javascript/loops-exercises/
Image: 'loopy'
http://www.flickr.com/photos/86176561@N00/273326027
Posted by
Unknown
at
1:16 pm
0
comments

Inclement whether prevents my attendance in person, but I'm with you in (e)spirit.
Today we're looking at conditional statements in JavaScript (if/then/else). These are described in the handout, page 14. Unfortunately that's not quite the whole story - you really need to know a bit about multiple if statements (and their clever cousin, the switch statement). See the web cheat sheet for a fine explanation/demonstration.
If you're keen to become a real JavaScript geek you might also want to know about the 'conditional operator' described about half way down this page by the Washington center for environmental visualisation(?).
Fully read up?
Try these interesting exercises (in groups, or as a hard old loner)...
Open http://bathurst-tafe.nsw.edu.au/~pshanksjavascript/conditionals-exercises/conditionals1.html in your favourite editor.
In this exercise, you'll write a function called guessAge() that, oddly enough, lets the user guess your age. The user's guess is in document.ageForm.ageGuess.value. The guessAge() function should pop up an alert box telling the user whether or not s/he guessed correctly.
Open http://bathurst-tafe.nsw.edu.au/~pshanksjavascript/conditionals-exercises/conditionals2.html in your favourite editor. You can copy your completed conditionals1.html to conditionals2.html if you'd like to edit your existing work rather than starting from scratch.
In this exercise, you'll modify your age guesser from exercise #1 to provide some additional feedback to the user. The guessAge() function's alert box should let the user know if s/he guessed correctly, if you're younger than the guess, or if you're older than the guess.
Open http://bathurst-tafe.nsw.edu.au/~pshanksjavascript/conditionals-exercises/conditionals3.html in your favourite editor.
Everyone knows that flowers need water to grow. This HTML page has a watering can and a flower. This particular flower needs to be watered three times before it can grow. When the user clicks on the watering can, it should change to the image shower.jpg. After one second, the watering can should stop watering the flower. (We provide this code for you; read the comments in the program carefully.) The third time the user waters the flower, the flower should bloom. (There's an image of a bloomed flower in flower.jpg.)
Posted by
Unknown
at
9:38 am
0
comments

suddenly realised that I've been very remiss about posting relevant JavaScript links here. Time to make amends.
First up, we've been working from a document I found on the interweb: a JavaScript tutorial. Thanks to the wonders of modern science this plain web page is now available as an open office document (37k) or a microsoft word doc (180k).
So far we've worked through the following sections:
1. Introduction
2. Embedding JavaScript into your HTML document
3. Variables
3.1. What are Variables?
3.2. Values of Variables
3.3. Data Type Conversion
4. Literals
4.1. Integers
4.2. Floating-point literals
4.3. Boolean literals
4.4. String literals
4.5. Escaping characters
5. Arrays
6. Operators
6.1. Selected assignment operators
6.2. Comparison operators
6.3. Selected Arithmetic Operators
6.4. Logical Operators
7. Using JavaScript Objects
8. Functions
8.1. Defining a Function
8.2. Calling a Function
Posted by
Unknown
at
9:16 am
0
comments
to celebrate our combined CertIV SQL class I've created a new blog just for our database subject. You can see it and read all about our subject on:
http://certivsql.blogspot.com/
Posted by
Unknown
at
4:59 pm
0
comments

Yahoo. Back for a new season of coding!
This semester we're going to spend a fiar slab of time learning structured query language (SQL to its friends).
To get into this we need to install a local web server, database server and database manager. Luckily someone has already put a package together for us to download and install. Xampp (38 MB from Apache friends) has everything an aspiring SQL guru could want.
After downloading and installing start the xampp control panel (it will be something like: C:\xampp\xampp-control.exe) and start up apache and mySQL by clicking on the start button for each.
Now open your web browser and test the installation by entering http://localhost into the address bar. You should be seeing something like this (you may need to click on the 'English' link first)...
click on the phpMyAdmin link in the tools section of the left hand menu to start up our database manager.
Before we can start entering SQL statements we need to create a new database to work with.
In this screenshot I'm about to create a new database called fred (you can click on the image for a larger version).
Now that we have a database we need a couple of tables and some data to play with. I've put together a little file to make this as panless as possible. Download ICAU4205A.sql and save it on your computer.
Once you've got it, click on the 'Import' tab at the top of the phpMyAdmin screen, browse to the file and click on the 'Go' button on the bottom right of the screen.
phpMyAdmin should do its magic and report back that "Import has been successfully finished, 16 queries executed." You should also see 5 new tables listed in the left hand column.
Time to get down to business.
For the next couple of weeks we're going to work through James Hoffman's Introduction to SQL
This week, everything up to the section on joins. Click on the 'SQL' tab at the top of the phpMyAdmin page and type in each of the examples in the document. Play a bit, have fun, and tune in here next week for another exciting installment...
Image: 'OINK! OINK!'
http://www.flickr.com/photos/49968232@N00/51679641
Posted by
Unknown
at
3:32 pm
2
comments

Spot the fault...
Assessment for the subject: Locating equipment, system and software faults will consist of a document listing various JavaScript faults, how they present themselves, what caused the error and how to fix it.
Run through this list of debugging challenges and choose 2 or 3 from each section: Lexical Errors; Syntactic Errors; Execution Errors; Logic Errors. Write up a short description of the problem (how it presented itself), what you found and how you fixed it. Screenshots would be handy.
Posted by
Unknown
at
1:33 pm
0
comments
We finished automating processes last week, looking at breaking down larger programs into sub-routines and procuedures. Next week we'll put the final nail in with a short quiz.
We followed that up with a look at functions and objects in JavaScript (which wasn't all that interesting), and revisited variables and data types (which was more relevant, if no more gripping)
We finished up with another look at locating equipment, system and software faults specifically, task 2: obtaining fault finding tools. To be honest, I'm not all that happy with these course notes (the readings are fine, but the activities seem too nebulous) - so I'm going to revert back to my original plan for this subject - concentrating mostly on debugging code, with a passing nod at equipment and some discussion of systems.
So, for task 2 I'd prefer that people investigated options for debugging JavaScript - either in the browser or using a stand-alone solution. Write up a blog post that discusses the options available for your platform of choice. Don't forget to include a description of that platform - versions and types of operating system and browser (if applicable).
The report should be about 500 words in length and should be ready for comment by next week.
Speaking of next week - we're going to make a start on 'Run standard diagnostic tests'. I had planned on testing web site performance, but have been told that the Cert III I.T. class will be attending the class too - and they've got no prior experience with web technologies, so we might need to take a different approach. Given that we've only got two weeks to cover the subject this will be a busy lesson - so don't be late :-)
Posted by
Unknown
at
6:18 am
1 comments
Last week saw us spiraling out of control... exploring loops.
Try these revision questions, and a new, improved cloze test on while loops.
We also learned how to use JavaScript to validate a form on a web page, looking at form fields and loops in the process!
Finally, we started on the first task for Locate equipment, system and software faults... Identifying appropriate information gathering techniques
Posted by
Unknown
at
6:21 am
3
comments
revising last week's programming lessons...
Posted by
Unknown
at
8:55 am
0
comments