Entities, relationships, and attributes
Firstly, we need to define the entities of our application. In broad terms, an entity is a
thing (person, place, or object) about which the application should store data. From
the requirements, we can extract the following entities and attributes:
• Cats: They have a numeric identifier, a name, a date of birth, and a breed
• Breeds: They only have an identifier and a name
This information will help us when defining the database schema that will store the
entities, relationships, attributes, as well as the models, which are the PHP classes
that represent the objects in our database.
Do'stlaringiz bilan baham: |