Initial texed.co.uk code record
texed.co.uk is being organised as a file-first PHP code system with a robust public index, private administrator file management, hardened login and logout boundaries, and JSON-driven navigation records.
Record identity
Sitetexed.co.uk
Created2026-07-06
Updated2026-07-06
Tagstexed, code, documentation, php, json, vps, monthly-docs
Environment
hostingBluehost Enhanced VPS - NVMe 8
server modelself-managed Ubuntu VPS with direct console access
runtimePHP files under the public site root
data modelplain files, JSON records, and optional private runtime storage
visual systemblack, white, and faded purple only
| Path | Role | State | Note |
|---|---|---|---|
| index.php | public navigation surface | refined | Reads buttons.txt, menu.json, and tools.json, then displays public tools safely. |
| admin.php | private file-system control panel | refined | Restricts actions to the detected site root and creates backups before destructive file operations. |
| login.php | private session entry boundary | refined | Uses CSRF validation, rate limiting, private logs, secure cookies where HTTPS is available, and optional two-factor challenge flow. |
| logout.php | private session exit boundary | refined | Destroys the server-side session, expires the session cookie, and logs the closure reason. |
| buttons.txt | plain-text navigation record | active | Contains the Code Documentation link to documentation/code.php. |
| menu.json | JSON public menu record | active | Contains the Code Summary menu item. |
| tools.json | JSON public tools record | active | Contains the Code Summary tool item. |
| documentation/code.php | monthly code documentation viewer | created | Displays this initial record and can merge future records from code.records.json. |
Changes
- Established an initial code documentation page for the texed.co.uk file-first site model.
- Recorded the core files that form the public navigation, private administration, login, and logout system.
- Aligned the public documentation page with the same self-contained styling and no-CDN constraint used by the refined fil
Next actions
- Deploy documentation/code.php into the public documentation directory.
- Keep buttons.txt, menu.json, and tools.json pointing to documentation/code.php.
- Add future monthly records in code.records.json when the codebase changes.
- Use the admin panel to create backups before editing production files.