O'Reilly logo

FuelPHP Application Development Blueprints by Sébastien Drouyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Conception

This step should be pretty straightforward from the specification phase. We will generate the following two models:

  • Project: This model will only have a name property.
  • Task: This model will have a name, a status, and a rank property. A project contains many tasks, and each task is related to a project, so we will add an additional column here, named project_id. This column will contain the ID of the project each task is associated with.

We can represent our models by the following ER diagram:

Conception

Entity Relationship diagram (Min-Max notation)

An ER diagram allows you to describe the data structure of your application. As you noticed, almost everything ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required