Wednesday, February 28, 2018

SOFT7008 Week 05 Lectures

This week we are looking at Checksums




Class 09 Checksums








Class 10 Coding checksums in PHP



Tuesday, February 20, 2018

SOFT7008 Week 04 Lectures

This week we are looking at forms.



Class 07 HTML forms & sending information to the PHP server




Class 08 Processing information from forms

Thursday, February 15, 2018

SOFT7008 Week 03 Class 05 Exercise Solution


This is my solution to the exercise. See how it compares with your.s

Wednesday, February 14, 2018

SOFT7008 Week 03

This week we are looking at functions.

Class 05 Functions in PHP

Don't forget to do the exercise. The solution will be released here on Friday at 1600


Class 06 Functions that return values


Monday, February 12, 2018

SOFT7008 Week 03 Lab

We had a 2-hours-is lab session on Monday night. Nobody asked any questions, but that's OK too.

Quite a few students were able to make the session, so I think Monday nights might be the best time slot for us.

Monday, February 5, 2018

SOFT7008 Week 02




Class 03
Working with numbers
example05.php

example07.php





Class 04
Control structures.  If, Switch, Loops. Arrays.
example09.php

example10.php

SOFT7008 Exercise 1 Feedback

Not everybody managed to get the exercise done on time.

A common mistake was to close of the list items too soon. When a list is nested inside another, it goes inside the li.  So closing off France with a /li when there are cities inside it, is incorrect.  Lists are not that important, but that exercise illustrates the structure of HTML.


If you struggled with this exercise, this video might help.

The HTML validator at validator.w3.org is a great resource for checking that HTML is correct.  Just because something looks OK in the browser, doesn't mean it's correct. We don't need a lot of HTML for this module.  So we won't dwell on it too much.

Friday, February 2, 2018

SOFT7008 Week 01 Exercise

Please complete the nested list exercise and submit it via Blackboard by Sunday lunchtime.

By now you should have watched the videos for Classes 01 & 02.

You should have your PHP server up an running. If you have not, or it you are not sure, please contact me.

When writing PHP & HTML you can use any text editor that you like. Most CIT students prefer Notepad++ or Programmers Notepad. Mac users like TextWrangler.  WordPad is a poor choice because it really encourages you to save the code as a .doc rather than a plain vanilla text file.

If you feel like you want to skip ahead on occasion I'll be putting the videos into this YouTube channel.

https://youtu.be/Qr_NHXdIMZg