Implementation

General

Best practices

Performance

Next steps

Elo

  • implement Elo calculation algorithm
  • implement Elo caching mechanism

Authentication

Permissions

Architecture

  • create overview/bird’s eye

Database

  • Check ER diagram
  • Create ‘news’ table + model + controller
  • Check models
  • Create migration script from old schema to new one
  • Optimize queries: https://omarbarbosa.com/posts/optimization-of-eloquent-queries-to-reduce-memory-usage
  • create legacy->new database mapping
  • finish design of new database schema
  • generate new models from database
    • check if the relations are correct
  • implement repository pattern via interfaces
  • migrate data from legacy to the new database schema
    • use command and seeder setup

Models

  • implement metadata for ArdPlayer
  • implement metadata for player/team import
    • check how to get all metadata for an ArdPlayer
  • move Player::aliases to Player::metadata->alias
  • move Player::other_socials to Player::metadata->socials