Thursday, December 6, 2018

SOFT7008 Week 12 Lecture

One student came to class to ask some questions. When he was done he left.  I waited for more, but none arrived.

I left at 1845.

SOFT7008 Week 11 Lecture

Nobody turned up. I waited until 1835.

Friday, November 23, 2018

SOFT7008 Week 10 Lecture

We went straight to the lab. I explained how TurnItIn works and talked students through how to interpret the headline score.

I tested code for students who were finished (or nearly) and helped with debugging. We wrapped up about 2130 since we had no break.

Thursday, November 15, 2018

SOFT7008 Week 09 Lecture

I talked a little bit about the exam and the essays.

I explained hash functions on the board.

We adjourned to the lab at 1830 because getting the code sorted is our main priority now.



In the lab we looked at the PESEL again. If you are being pedantic you need to check the date and month. For simplicity any date that is <32 is good. But the month is more complicated:
If the m2 > 3 and the m1 is odd then it is bad

Friday, November 9, 2018

SOFT7008 Week 09 Videos

Class 17: Security. Hash Functions


This is the last video (unless I get inspired). In subsequent weeks we will recap anything that is unclear, and work in the labs on the assessments.

Thursday, November 8, 2018

SOFT7008 Week 08 Lecture

In the lecture we briefly recapped on connecting to a Database. We spent most of the class discussing the assessments.

I showed students how to access the e-Journals on the CIT Library website.  IEEE and ACM are good places to look for authoritative articles.

At 1900-ish we moved to the lab. Students worked on the assignments.

Monday, November 5, 2018

SOFT7008 Week 08 Classes

Class 15: Database Consistency [& Normalization]




Class 16: Connecting to a Database

Thursday, November 1, 2018

SOFT7008 Week 07 Lecture

I did a quick recap of relational databases, normalization, and SQL. I could tell from everyone's faces that it was news to nobody.

At 1900 we moved to the lab to work on this week's exercise.

SOFT7008 Week 07 Classes

This week we begin our look at Relational Databases & SQL

Class 13: Introduction to Databases



Class 14: Introduction to SQL

Thursday, October 18, 2018

SOFT7008 Week 06 Lecture

We looked at the different ways to make data persist in PHP and how long it can last.  We also considered a bit how cookies can pose a threat to privacy.

Thursday, October 11, 2018

SOFT7008 Week 05 lecture

Some students came to class despite the weather warning.

Students worked on the checksum exercises. We did some on the board.

SOFT6008 Week 06 Classes

Class 11: Remembering Values



Class 12: Cookies



More about cookies:


SOFT6008 Week 05 Class

In light of the weather warning for tonight I e-mailed exercises to students and suggested that they could work from home if they wish. I will be available online on Google Hangouts to answer any questions.  For those students that want to come to class I will be here anyway.

Thursday, October 4, 2018

SOFT7008 Week 05 Videos

Class 09: The magic of cheksums





Class 10: User input validation in PHP

SOFT7008 Week 04 Lecture

I spoke a bit about HTML 5 inputs and how the browser do some very basic form validation for us.

We did some exercises using regular expressions. They didn't go as well as I would have liked. So perhaps some students need look at those again.

I previewed next weeks videos by introducing checksums.  We looked at the Luhn credit card validation algorithm.  Students seemed less impressed by this magic that I was expecting.

We moved to the lab at 2000


I e-mailed students the specification for the coding component of the module.

Friday, September 28, 2018

SOFT7008 Week 04 Videos



This is a solution to the exercise posed last week.


Week 04 Videos are Classes 07 & 08





Class 07







Class 08


More:

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

Wednesday, January 31, 2018

SOFT7008 Week 01








Class 01
Intro to HTML & PHP


Class 02
Variable & string variables.