Skip to content

Adding Atomicity to the route process #5

@rigsnv

Description

@rigsnv

Requirements:

Implementing Atomicity property to the route command so that if any of the subprocesses fail, the whole operation fails and any completed process is reverted.

Specifications:

  1. A way to keep track of completed process to be able to revert them.
  • Either by creating a temporary log file that is automatically deleted after the process is completed or by storing the data in variables.
  1. A function that deletes any files and directories created or reverts any modifications made to files by any of the subprocesses to the following paths:
  • src/Router/routes.php
  • src/Controllers/[route-name]Controller.php
  • src/Views/[route-name].php
  • src/Views/layouts/main.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions