Tuesday, October 21, 2014

SOFT6007 Class 21



We looked at JavaScript for rollovers and a coin toss game. I asked students to extend the coin toss example to turn it into a slot machine.

code:
rollover
coins


Some images:






Monday, October 20, 2014

SOFT6008 COM2.A Classes 22 & 23

I spent a lot of time helping students with Photoshop.

Some students just concentrated on getting ready for the exam instead of working on the assignment. That's good too.

Saturday, October 18, 2014

SOFT6008 Study Tips

The best way to learn to programs is by starting with a problem, and writing code yourself to solve it from scratch. That can be hard work, but it's the only way. Googling other people's solutions is not very useful. It's like trying to lose weight by watching other  people play soccer. 

SOFT6008 validation in action



This happened to me this morning. 

Wednesday, October 15, 2014

SOFT6008 COM2.B CLASS 17 & 18

Students worked on the assignment.

In the second half of the class I showed off a few Photoshop party tricks.


SOFT6008 Class 20



We did a walkthrough of code for the DNI checksum and discussed some common and some unusual strategies for coding the Luhn algorithm.


SOFT6008 COM2A Class 19

We took a look at some party tricks in Photoshop.

Photoshop now in IT2.1

O happy day

SOFT6008 DWEB2 Class 18 & 19

Attendance was very poor.

Students worked on the assignment.

I gave out a handout. I will give it out in the lecture anyway later.

I said that we will do a room swap from next week. But that plan has changed. We now have Photoshop in IT2.1

Tuesday, October 14, 2014

Mumps (świnki)

Students should check with their parents that they have been vaccinated against mumps.  Any student who hasn't might want to consider getting vaccinated.

The vaccine is especially important if are a male who hasn't had the mumps and you are planning on making babies in the future.

SOFT6007 ITM1 Classes 18 & 19

Students worked on coding forms.

I circulated the URL for the PHP server we will use to test forms.

SOFT6007 DWEB Class 19 & 20

Students worked on coding forms.

I circulated the URL for the PHP server we will use to test forms.

SOFT6007 Class 17 Forms



We looked at forms.

Here's an example with a variety of different kinds of inputs
http://mcom.cit.ie/staff/Computing/cmcguane/SOFT6007/Week3/Week3Forms.html

Some notes on HTML5 form imput types
http://www.w3schools.com/html/html5_form_input_types.asp

Someone asked what would happen you selected  few locations for "Where you have lived". If all of the items have the same name then only the last will be sent. It's possible to send an array of items. But we are avoiding using that.

SOFT6007 DWEB Class 18

Students completed work on the image maps

Monday, October 13, 2014

SOFT6008 DWEB2 Class 17

Students worked on the assignment

SOFT6008 COM2.A Classes 17 & 18

Students worked on the assignment.

Attendance was poor

Friday, October 10, 2014

Thursday, October 9, 2014

SOFT6008 Class 16 X - extra class

This covers the check sum calculations for Europa Series bank notes, Polish PESEL numbers, Spanish DNI numbers, and French INSEE numbers.

Wednesday, October 8, 2014

SOFT6008 Slot Machine Solution updated

Some students didn't build on the coins example to make a slot machine like I recommended and instead went for my solution. That was an old solution that used names instead of IDs. I've since updated that so it uses only getElementById.

Of course it's always better to attempt your own solution to an exercise. That's how the learning happens.

SOFT6008 COM2.B Classes 13 & 14

Students worked on the pizza exercise.

Some students worked out the checksum calculation for Polish ID numbers. Nice one.