Design a system for an online bookshop, Programming Languages

Assignment Help:

As an XML expert you are required to model a system for an online bookshop. After an interview with the shop manager you have the following information:

  • The detail of the bookshop includes shop name, address, telephone number, website address (URL), and logo (image).
  • The bookshop has the following types of items for sale: books, magazines, music CD/DVD, games, etc. Each item has its name, item number, description, quantity and price.
  • A book can be paperback or hardback book.  A book also has information about title, publisher, author, ISBN number, publish year, edition, optionally with CD, etc.
  • A magazine can be a normal or e-magazine with name, publisher, ISSN number, publish year and Issues.
  • The music CD/DVD have title, publisher, publish year, the media (CD or DVD), and signer/player etc.
  • A game has name, producer, year of release and PEGI rating.  It also has the information of platform (e.g., PC, Wii, Xbox) and the media (CD, online, DVD). 

Task 1. Analyse the above-motioned scenario. Prepare data in XML, and add additional information you wish to record. Draw your data structure. You should include:

  • 3 pieces of data or more for each item.
  • 2 or more attributes
  • At least one optional data field.                                                       

Task 2. Using the above information and your additional information, and the data structure from Task 1, create an XML document and name it catalog_{studentID}.xml. (e.g, catalog _03047791.xml)                                         

Task 3. Using the structure of catalog _{studentID}.xml as a model, create a DTD file named catalog _{studentID}.dtd. Apply catalog _{studentID}.dtd to the contents of catalog _{studentID}.xml. Validate the XML document against your DTD using an online validator or AltovaXML2008.

Task 4. Create a CSS file catalog _{studentID}.css to render your XML data file to a web browser.

  • Create a list
  • Create at least one border
  • Use at least two different font sizes and two different font families.
  • Use two different font colours, at least one of which is defined using RGB values.
  • Display logo a image.
  • Use at least one floating box

Task 5. Write a short report up to 1000 words (save as report1 _{studentID}.doc, a word document) to describe how you designed and implemented the coursework part 1. The report should include the data structure. Discuss the limitations of DTD and CSS.


Related Discussions:- Design a system for an online bookshop

Shell script, append two text files vertically

append two text files vertically

Explain the booch methodology, Problem 1 Explain the Booch Methodology ...

Problem 1 Explain the Booch Methodology 2 Why does every interaction diagram need a written description? Explain 3 Explain the five core workflows of the Unified Process

Write a program to show twenty ellipses, Write a Program to Show Twenty Ell...

Write a Program to Show Twenty Ellipses 1. Write a program to show twenty ellipses which move away from the mouse pointer. Their initial locations should be random.

Write your own version of the strcmp function string_compare, Write your ow...

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, cha

ATM, The ATM will simulate a real world automated teller machine that suppo...

The ATM will simulate a real world automated teller machine that supports safe access to accounts from multiple concurrent clients.

Write a program that draws the initials j, Write a program that draws the i...

Write a program that draws the initials J G P on the form similar to that shown in Fig J 1 (using straight lines and curve semicircles). The figure can not have corners. All ends a

Inheritance, The Lost Bay Software Coop purchased EnviroMeasurements, a sma...

The Lost Bay Software Coop purchased EnviroMeasurements, a small startup with a product, GreenStation, that measures pollen count and air quality. The company has ventured

Program that takes integer array of 8 elements, Write a program that takes ...

Write a program that takes integer array of 8 elements from user and find the smallest element among them using pointers

We are looking for pool services software, We are looking for Pool Services...

We are looking for Pool Services Software Our company Pool Hands LLC is looking to build software for our internal use. We would like the software built therefore that it could

What are the characteristics of a good algorithm, What is an algorithm? Wha...

What is an algorithm? What are the characteristics of a good algorithm? An algorithm is defined as “a step-by-step procedure of accomplishing some task'''' An algorithm may be sh

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd