Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.14 KB

File metadata and controls

52 lines (34 loc) · 2.14 KB

Module 7: Architecture


Getting Started

Prior to completing the module below it is highly recommended that you look at the following learning material:


The Test

  1. Create a new branch in your 'php-final' git repo called 'architecture' and commit all the work from this module there.
  2. Following the Laravel conventions and patterns for database architectures, create an Entity Relationship Diagram (ERD) using Crow's Foot Notation to diagram the Entities and Relationships below.
  3. Be creative and use whatever attributes you think are necessary for each Entity. Be sure to include necessary "timestamp" attributes for each Entity to conform to the Laravel standard.
  4. Use whatever diagramming tool you like. You could even draw it and take a picture if you like, as long as the diagram is clear.

Company

  • belongs to: Company Type
  • has and belongs to many: Users
  • has many companies
  • belongs to (0 or 1 Company)

Company Type

  • has many: Companies

User

  • has and belongs to many: Companies
  • has and belongs to many: User Types per company
  • has one User: Status

User Status

  • has many: Users

Wrapping Up

When you are done, push your code to GitHub. Please create a tag called v1.7 with a message of "ready for review". Be sure your tags are pushed to the remote repository and are visible in GitHub.

Create an issue titled Review Module 7 - Architecture and @mention your mentor and team leader.