learning data modelling by example chapter 7) data models for
TRANSCRIPT
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 1
7. Commercial Web Sites ..............................................................................................................................2
7.0 Welcome .............................................................................................................................................2
7.1 Introduction ........................................................................................................................................ 2
7.2 Avon Cosmetics................................................................................................................................... 3
7.3 Cirque du Soleil ................................................................................................................................... 4
7.4 Clown Registry .................................................................................................................................... 5
7.5 Dog Whisperer .................................................................................................................................... 6
7.6 eBay Deals........................................................................................................................................... 7
7.7 Internet Movie Database ....................................................................................................................8
7.8 Just Giving (Charity) ..........................................................................................................................10
7.9 LinkedIn.............................................................................................................................................12
7.10 Shrek Movies...................................................................................................................................13
7.11 TicketMaster ...................................................................................................................................14
7.12 What have we learned ? .................................................................................................................14
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 2
7. Commercial Web Sites
7.0 Welcome
You are invited to follow developments on our Web Site :- http://www.databaseanswers.org/index.htm
You can also join our Database Answers Community http://databaseanswers.ning.com/
Barry Williams
Principal Consultant
Database Answers Ltd.
7.1 IntroductionThis Chapter will discuss Data Models for a number of different Commercial Web Sites.
The approach in this Chapter is to discuss a number of independent and unrelated Data Models that have someinteresting characteristics.
We selected the Data Models in this Chapter because we found them interesting.
At Database Answers, we do not have any association with any of these Commercial organisations.
7.1.1 What is this ?
7.1.2 Why is it important ?
7.1.3 What will I Learn ?
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 3
7.2 Avon CosmeticsHere is the link to the Data Model on the Database Answers Web Site :-
http://www.databaseanswers.org/data_models/avon_cosmetics/index.htm
We created this Model in response to a request from a man who had been in a car accident and was notable to work. With the use of our Database, based on this Model, he was able to help this wife and feelgood about himself and the support he was able to give his wife.
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 4
7.3 Cirque du SoleilHere is the link to the Data Model on the Database Answers Web Site :-
http://www.databaseanswers.org/data_models/cirque_du_soleil/index.htm
We created this Model because we enjoy Cirque du Soleil and try to arrange our company outings tocoincide with their visits to London, England.
It shows an example of Inheritance, where Performers are a Sub-Type of People.
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 5
7.4 Clown RegistryHere is the link to the Data Model on the Database Answers Web Site :-
http://www.databaseanswers.org/data_models/clown_registry/index.htm
We created this Model because the Clown Registry was featured in an episode of CSI on TV here in England.
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 6
7.5 Dog WhispererHere is the link to the Data Model on the Database Answers Web Site :-
http://www.databaseanswers.org/data_models/dog_whisperer/index.htm
We created this Model because we enjoy the Dog Whisperer when it was on TV here in England.
It shows an example of Inheritance, where Performers are a Sub-Type of People.
When we watch the TV show, it soon becomes apparent that Cesar Millan (the so-called ‘Dog Whisperer’)has a very structured approach to solving dog’s behavioural problems by focussing on the Dog’s State ofMind, which always ends as Calm and Submissive.
The foundation is that all problems have prescribed Treatments which are designed to achieve a desiredoutcome. This gave the TV program an interest beyond just dogs.
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 7
7.6 eBay DealsThis Data Model was created to help people keep track of their eBay Deals :-
http://www.databaseanswers.org/data_models/ebay_deals/index.htm
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 8
7.7 Internet Movie DatabaseThis Data Model appears on this page :-
http://www.databaseanswers.org/data_models/imdb/index.htm
This version shows Entities and Key fields (but no attributes) :-
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 9
This version also shows the attributes :-
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 10
7.8 Just Giving (Charity)This Data Model appears on this page :-
http://www.databaseanswers.org/data_models/just_giving/index.htm
This is a Logical Model showing Inheritance :-
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 11
This is a Physical Model showing how Inheritance can be implemented in a relational Database :-
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 12
7.9 LinkedInThis Data Model appears on this page :-
http://www.databaseanswers.org/data_models/linked_in/index.htm
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 13
7.10 Shrek MoviesThis Data Model appears on this page :-
http://www.databaseanswers.org/data_models/shrek_2_movie/index.htm
Most of the Data Models have been created using a very affordable Modelling Tool called Dezign.
This one was created using ERWin.
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 14
7.11 TicketMasterThis Data Model appears on this page :-
http://www.databaseanswers.org/data_models/ticketmaster/index.htm
7.12 What have we learned ?In this Chapter we have learned the kind of techniques that are used to create Data Models forDatabases that support some of the most popular Web Sites on the Internet.
These can be very useful if you are thinking about creating your own version of some commercial website.
Learning Data Modelling by Example Chapter 7) Data Models for Commercial Web Sites
Page 15