180 likes | 288 Views
44238: Dynamic Web-site Development. Review & Assignment 2 Requirements. Ian Perry Room: C48 Extension: 7287 E-mail: I.P.Perry@hull.ac.uk. http://itsy.co.uk/ac/0607/Sem1&2/44238_DWSD/. ‘First Time Buyer’ - Web-site.
E N D
44238: Dynamic Web-site Development Review & Assignment 2 Requirements Ian Perry Room: C48 Extension: 7287 E-mail: I.P.Perry@hull.ac.uk http://itsy.co.uk/ac/0607/Sem1&2/44238_DWSD/
‘First Time Buyer’ - Web-site • Last year a Web Consultant was asked to develop a Web-site for ‘First Time Buyer’. • http://itsy.co.uk/ac/ftb/ • Dave, Jane & Simon were: • initially, quite pleased with the design of this Web-site (although it is somewhat inconsistent in look-and-feel), • but are now worried that maintaining the Web-site will soon become far too costly (in both time and money).
‘First Time Buyer’ - Problems • The Web Consultant only managed to implement fully 6 of the 9 pages of the proposed Web-site; • before the money that Dave, Jane & Simon had allocated to the project ran out. • Which is why: • there is no content for the Register with FTB, Properties by Age, or Properties by Bedrooms Web-pages. • the Properties by Town, Price & Type Web-pages only display the details for 30 properties; and adding, or removing, properties from these Web-pages would result in more Web Consultant’s fees.
‘First Time Buyer’ – And You! • What Dave, Jane & Simon require is that the FTB Web-site design is re-worked so that: • it delivers the same (or at least very similar) functionality, • and yet is much easier to maintain (ideally by the staff of FTB, rather than by employing a Consultant).
What have you Learnt? • You should, by now, all appreciate the disadvantages: • of trying to build a Web-site, by developing individual Web-pages; • which are then bolted together to form the Web-site, and which can be quite difficult to maintain. • And can see the advantages of: • designing/developing Web-sites that are composed of a number of re-usable, easily changeable, Web-page components; • that have the potential to be combined in a variety of ways, making both the initial building, and the subsequent maintenance of the Web-site, a much easier process.
Assignment 2 Requirements • Fully Dynamic Web-site (70%) • Deadline = 09 May 2007 • develop a Web-site, for First Time Buyer, which: • uses Web-based forms; in order to be able to capture specific user input. • employs Client Side Programs (i.e. JavaScript); to checkWeb-based forms for mandatory content. • employs Server Side Programs (e.g. VBScript); in order to retrieve Web-page content from a Remote Database.
Web-based Forms • Why? • Need to capture requests from remote users in a more structured way than can be achieved by the use of a simple e-mail message. • ‘Web-based Forms’ Workshop: • Should have given you enough skill to be able to build the TWO Web-based Forms required for your First Time Buyer Web-site.
Web-based Programming • There are a number of ways of making your Web-pages more dynamic: • most of which require the embedding extra program code (i.e. script) within the HTML of your Web-pages. • These scripts may then be interpreted either: • Client Side (i.e. by a Web Browser). • Server Side (i.e. by a Web Server).
JavaScript (Client Side) • Why? • Need to check Web-based Forms for mandatory content, before passing the user on to related ‘Success’ page. • JavaScript should be used for all of your Client Side Programming: • as it is much more portable, i.e. will ‘work’ on more hardware/software platforms than VBScript.
VBScript (Server Side) • Why? • Need to retrieve Web-page Content from a Remote Database. • AND to make the ‘Success’ pages more user friendly. • VBScript can be used both Server Side & Client Side: • However, you should have only used it for Server Side Programming (i.e. embedded in your AS-Pages).
Ass 2: Requirements - Part 1 • Your Web-site MUST run from a Remote Web-server. (15 Marks) • The home page of your Web-site MUST be: • calledindex.asp. • and be located in a sub-folder of your Remote Web-spacecalledAss2. • Make sure that you: • UPLOAD your Web-site well in advance of the assignment deadline. • and that you TEST it thoroughly.
Ass 2: Requirements - Part 1 • You will loose marks: • if any Images fail to appear, or Hyperlinks do not work, etc. • and/or: • any of the following 12 Web-pages are not present: • index.asp, contact.asp, buy.asp, register.asp, town.asp, price.asp, type.asp, age.asp, bedrooms.asp, enquire.asp, regsuc.asp, enqsuc.asp.
Ass 2: Requirements - Part 2 • You MUST implement 2 Web-based Forms. (20 Marks) • The ‘Register with FTB’ Form (i.e. register.asp) MUST be capable of capturing the following data: • Personal Details • FirstName(x), LastName(x), Street, Town, County, PostCode, Telephone Number(x), E-mail Address(x). • Property Details • Location, Type, Age, Minimum Price, Maximum Price(x), Bedrooms, Bathrooms, Receptions.
Ass 2: Requirements - Part 2 • The ‘Enquire about a Property’ Form (i.e. enquire.asp) MUST be capable of capturing the following data: • Personal Details • FirstName(x), LastName(x), Telephone Number(x), E-mail Address(x). • Enquiry Details • Property Ref.(x), Make an Offer, Want to View, Day, Time.
Ass 2: Requirements - Part 3 • You MUST add Client Side Programming (i.e. JavaScript), which checks your Web-based Forms for mandatory content. (20 Marks) • Each of your Web-based Forms (i.e. register.asp & enquire.asp) should ONLY proceed to its related ‘success’ Web-pageIF all mandatory datahas been entered. • You will, therefore, need to create 2 ‘success’ Web-pages, with file names of ‘regsuc.asp’ & ‘enqsuc.asp’. • AND enhance the Web-pages containing your Web-based Forms (i.e. register.asp & enquire.asp); • by adding JavaScript that checks for mandatory form data, as indicated by an (x) after the field name, • and only allow the user to proceed to the related ‘success’ Web-page when all of the mandatory fields have been completed.
Ass 2: Requirements - Part 4 • Your Web-site MUST deliver Web-page content from a Remote Database. (45 Marks) • You MUST use the Remote FTB Database in order to deliver the content of the five different ‘views’ of the basic details of the properties offered for sale by FTB. • The DSN Alias for this Remote Database, is ‘ftb’. • You MUST, therefore, enhance the following 5 AS-Pages: • town.asp, price.asp, type.asp, age.asp & bedrooms.asp. • By adding Server Side Programming (i.e. VBScript), so that the correct details (depending upon the view chosen by the user), ideally grouped by sub-category (as is the case with the ‘Town’ & ‘Type’ pages of the original FTB Web-site), are retrieved automatically from the Remote Database.
Ass 2: Requirements - Part 4 • The Remote FTB Database (i.e. ‘ftb.mdb’) contains a single Table (i.e. ‘Property’) with the following Table Structure: The ‘Reference’ Field is the Primary Key for the ‘Property’ Table. The DSN Alias for the Remote FTB Database, is ‘ftb’.
No More Lectures! • There are NO more Lectures in support of the DWSD Module. • There are, however, THREEAssignment Support Workshops; • where you can ask for help with Assignment 2 • i.e. ONE Next Week, and TWO after Easter. • Remember; the Assignment 2 Deadline is: • BEFORE 9:00pm, on Wednesday, 09, May, 2007. • Good Luck!