Welcome to SET09103 Advanced Web Technologies!
This first tutorial serves as a preparation. It allows you to
check whether you have all the prerequisite knowledge you need
for this module and whether your computer account is working.
If you find that you are lacking some prerequisite knowledge,
please, use this week and next week to catch up. If there
are any problems with your Napier computer account, please,
contact C&IT as soon as possible.
Decide which programming language you want to use
You can use any programming language of your choice, but only PHP and
Perl will be supported by the lecturer.
Check your computer account
Please, login to the account you want to use for server-side programming.
and check the following:
- Do you know how to edit, save webpages and scripts?
- Does the programming language you chose run on the server?
- Do you know how to access the server remotely (in case you want
to upload files from home)?
If you are using the School of Computing (DCS/socweb) server and have
questions about it, have a look
at the Unix/telnet help.
(This link is also on the module website.)
Check your programming skills
Below are two exercises, which help you to get back into web programming
in case you haven't done it for a while.
- Create a basic HTML page that contains a web form with one text field
asking a user to enter an amount in dollars.
- Write a script that
converts dollar amounts into pounds. Use a fictional exchange
rate of $ 1 = £ 0.5004. Your script should check whether the
user input is a positive number. If the user enters a value below 0,
the script should print an error message.
If you have problems with the first exercise,
have a look at the links for "HTML Intro, HTML Tags, HTML Forms" on the
module website.
If you cannot complete this exercise during this tutorial, you may not
have sufficient prerequisite knowledge for this module. Please, talk to the
module leader about this.
If you have problems with the second exercise, do the PHP (or Perl) exercises
for this week (on the module website).
They will remind you how to create scripts.
If you cannot get any script to work at all during this tutorial, you may not
have sufficient prerequisite knowledge for this module. Please, talk to the
module leader about this.
Any questions?
If you have any questions about this module, please, ask Uta Priss (the
module leader). But, please, be patient. In the first tutorial there are
often some problems with students' accounts etc which need to be sorted.