Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SimplyEdit Backend as it is not used #6

Merged
merged 2 commits into from
May 26, 2023
Merged

Conversation

Potherca
Copy link
Member

The full tree of this repository looks like this:

├── lib/
└── www/
    ├── api/
    │   └── data/
    ├── css/
    ├── data/
    ├── js/
    ├── simply-edit/
    └── templates/

The part we are currently interested in is where HTTP requests go:

  ├── lib/
  │   ├── config.php ─────────╮   ◀───╮
  │   ├── filesystem.php  ◀───┤       │
  │   ├── http.php        ◀───╯       │
  │   └── router.php                  │ require_once
  └── www/                            │
      ├── api/          ─╖            │
      │   ├── data/      ║ .htaccess  │
      │   └── index.php ─╨────────────╯
      ├── simply-edit/      ──╖
      │   ├── config.php      ║
      │   ├── filesystem.php  ║
      │   ├── http.php        ║ .htaccess
      │   ├── index.php       ║
      │   ├── router.php  ◁───╢
      │   └── store.php       ║
      ├── templates/        ──╜
      ├── generated.html -> api/data/generated.html
      └── index.html

Anything under www/ would normally be handled by the index.php (for /) or router.php (for everything else).

But the index.html overwrites the index.php and api/ has its own .htaccess.

So it looks like the only config, filesystem, and router actually in use are those in lib/.

The full tree of this repository looks like this:

```
├── lib/
└── www/
    ├── api/
    │   └── data/
    ├── css/
    ├── data/
    ├── js/
    ├── simply-edit/
    └── templates/
```

The part we are currently interested in is where HTTP requests go:

```
  ├── lib/
  │   ├── config.php ─────────╮   ◀───╮
  │   ├── filesystem.php  ◀───┤       │
  │   ├── http.php        ◀───╯       │
  │   └── router.php                  │ require_once
  └── www/                            │
      ├── api/          ─╖            │
      │   ├── data/      ║ .htaccess  │
      │   └── index.php ─╨────────────╯
      ├── simply-edit/      ──╖
      │   ├── config.php      ║
      │   ├── filesystem.php  ║
      │   ├── http.php        ║ .htaccess
      │   ├── index.php       ║
      │   ├── router.php  ◁───╢
      │   └── store.php       ║
      ├── templates/        ──╜
      ├── generated.html -> api/data/generated.html
      └── index.html
```

Anything under `www/` would normally be handled by the `index.php` (for `/`) or
`router.php` (for everything else).

But the `index.html` overwrites the `index.php` and `api/` has its own `.htaccess`.

So it looks like the only config, filesystem, and router actually in use are those in `lib/`.
@Potherca Potherca requested a review from poef May 17, 2023 13:38
@Potherca Potherca added this to the v0.5.0 milestone May 22, 2023
@poef poef merged commit 60b342c into main May 26, 2023
@Potherca Potherca deleted the remove/simplybackend branch August 27, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants