explore the use of extensible files in web programming, using PHP and XML

profileSuperClass
 (Not rated)
 (Not rated)
Chat

CRICOS Provider No. 00103D Page 1 of 3 Assignment 2 Term 1, 2014 Introduction This is an individual assignment in which you can explore the use of extensible files in web programming, using PHP and XML. Details of the weight of the assignment and due date are given in the course description. Task Description Introduction A simple database with a single table contains data concerning rental properties in Australia. The table contains five fields that store data relating to street address, city, postcode, number of bedrooms and weekly rent e.g. 4/331 Albert Street, Ballarat, 3350, 3, 230.00. There are constraints placed on the data that are described below. The assignment tasks are closely associated with the lab work of topics 8 to 10. Code which is provided in the topic 10 lab work should be a useful guide throughout this assignment. The assignment requires a number of files and a report to be produced. The report should respond to written tasks that are included below. Initial task In a word document, create a table of about 6 records with no NULLs. The street address may contain a unit number as in the example given above. Add the table to your report, showing clearly the names of the table and the fields. Tasks supported by Topics 7 and 8 Mark up the table of data using XML tags and save it as an .xml file. Check that the file is well-formed and report the method used. Make a deliberate error and report the error message. Create a corresponding XMLSchema file (.xsd) that contains the following constraints: • the street address and city are strings each with a maximum of 30 characters; • the postcode is a string of exactly 4 digits, the first digit being non-zero; • the number of bedrooms is an integer between 1 and 5 (inclusive); • the weekly rent is a positive (non-zero) number less than 1000 expressed with two decimal places. Use the .xsd file to validate your .xml file. Test the validation of the .xml file by breaking each constraint in turn and report the...

  • 8 years ago
explore the use of extensible files in web programming, using PHP and XML A+ Tutorial use as Guide
NOT RATED

Purchase the answer to view it

blurred-text
  • attachment
    explore_the_use_of_extensible_files_in_web_programming_using_php_and_xml.txt