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
Thursday, September 27, 2018
Friday, September 21, 2018
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.
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
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.
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.
Wednesday, March 28, 2018
SOFT7008 Week 10 Lecture(s)
Class 17 Web Application Security
Further reading:
https://www.wired.com/2016/05/hacker-lexicon-sql-injections-everyday-hackers-favorite-attack/
https://arstechnica.com/information-technology/2012/08/passwords-under-assault/
https://arstechnica.com/information-technology/2013/03/how-i-became-a-password-cracker/
Monday, March 26, 2018
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.
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, March 7, 2018
SOFT7008 Week 06 Lectures
This week we are looking at the different ways we can store information when moving between PHP pages.
Some reading:
Some interesting detours:
Class 11: Remembering values in PHP
Class 12: Cookies
Some reading:
- http://www.theatlantic.com/technology/archive/2011/08/the-next-online-privacy-battle-powerful-supercookies/243800/
- http://www.theatlantic.com/technology/archive/2012/02/im-being-followed-how-google-151-and-104-other-companies-151-are-tracking-me-on-the-web/253758/
- http://www.wired.com/threatlevel/2010/07/zombie-cookies-lawsuit/
- http://www.wired.com/business/2009/08/you-deleted-your-cookies-think-again/
- http://www.wired.com/threatlevel/2012/02/google-safari-browser-cookie/
- http://www.wired.com/business/2010/12/zombie-cookie-settlement/
- https://www.cookielaw.org/
Some interesting detours:
Online Privacy: How did we get here?
Credit Reports
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.
Don't forget to do the exercise. The solution will be released here on Friday at 1600
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.
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.
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
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
Subscribe to:
Posts (Atom)