Session Aims and Objectives • Aims – To give an overview of the development of a web-page from initial idea to code. • Objectives, by end of this week’s sessions, you should be able to: – know where to start with a programming problem, and how to proceed Mark Dixon Page 2
Example: Land Area SPECIFICATION • User Requirements – need to know the land area in acres, given the length and width in metres • Software Requirements – Functional: – User should be able to enter the length and the width (in metres) – the length and width (in yds), and the area (in acres) should be calculated and displayed – Non-functional should be quick and easy to use Mark Dixon Page 3
Software Development Steps • Design – Identify inputs and outputs – User Interface (screen layout) – Behaviour • Code – User Interface (screen layout) – Behaviour Mark Dixon Page 4
Inputs and Outputs Mark Dixon Page 5
User Interface Design Mark Dixon Page 6
Behaviour Design Mark Dixon Page 7
Background • Acre – unit of measurement of land area – long strip of land: can be ploughed in a day • 1 Acre = 220 yds x 22 yds (= 4840 yds 2) 22 yds 220 yds • 1 furlong (furrow long) = 220 yds Mark Dixon Page 8
Belching Santa's • Invent a game – no limit to your imagination (apart from what you can code) Mark Dixon Page 9
Tutorial Exercises • Task 1: Get the Land Area example (from the lecture) working. • Task 2: Design and Build a 'Belching Santas' game Mark Dixon Page 10