Thursday, September 27, 2018

SOFT7008 Week 03 Lecture

We looked at passing parameters.

We paid particular to the difference between passing variables by value and by reference.

Students did a paper exercise on passing by value and by reference.

We looked at recursive functions for multiplication and Fiboancci sequence. The Colin tried the code for the Towers of Hanoi off the top of his head.  The code was OK but tracing the execution of it on the board was a head-wreck.

We moved to the lab at about 1930

Friday, September 21, 2018

SOFT7008 Week 03 Videos

Video lectures for Week 03:

Class 05






Class 06

Thursday, September 20, 2018

SOFT7008 Week 02 Lecture

I did a very rapid summary of the contents of this weeks lecture videos.

I gave students exercises to do. They took a bit longer than I was expected.

I did Exercise 1 on the screen and e-mailed it to students.  We went to the lab early so that students without machines could get cracking on the code.


Thursday, September 13, 2018

SOFT7008 Week 01 Lecture

While we were waiting for everyone to arrive I gave out a HTML exercise.

For this module should should already know

  • some HTML
  • how to program



I spoke a little bit about the inverted classroom model.  Note everybody watched the videos in advance.  But that's not a big surprise

I asked students to install XAMPP on their machine if they had them handy.  We looked at how to view html file and PHP files via localhost. The files must be in htdocs.

We looked at variables in PHP and string manipulation.

Students did an exercise on variable substitution in PHP. That's tricky.

We looked at the assessment for the module.

We didn't continue on the the labs at 2015. We all went home.

I asked students to watch the following videos before next week's facetime.  We'll see how that works and whether it frees up time for coding.

Class 03





Class 04

SOFT7008 Week 01

I e-mailed students and asked them to watch these videos in advance of the class.


Class 01







Class 02

Monday, April 23, 2018

LEGS8007 IP Law Repeat

The exam for the repeat of this module will be on the 24th May at 10 am in Melbourn.

SOFT7008 Week 11

There are no more lectures for this module.  Starting this week there will be evening support sessions on both Monday and Wednesday nights.

Monday, March 26, 2018

SOFT7008 Week 09 Lectures



Class 15 Database Design







Class 16 Connecting to the Database






Wednesday, March 21, 2018

SOFT7008 Week 08

Monday was a holiday so we had no live session that night.

Instead of lectures this week we had a live support session on Wednesday night. Most students worked on the programming assignments.

Tuesday, March 13, 2018

SOFT7008 Week 07 Lectures

This week we are looking at Databases and SQL.


Class 13 Introduction to databases





Class 14 Introduction to SQL

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