kohki-shikata / capetown-cms

Capetown CMS: Navigating a New Era of Content Management. Embark on a new journey in content management, turning the Cape of Good Hope toward a future of limitless possibilities.
MIT License
0 stars 0 forks source link

オーバーライドモデルの検討・設計 #1

Open kohki-shikata opened 4 hours ago

kohki-shikata commented 4 hours ago

現状は以下の通り(構想段階)

/root-dir/
├─ /app # The area where users can freely customize and override
│  ├─ /themes
│  │  ├─ /default_theme # If same name of theme exists, overrides core theme
│  │  └─ /user_theme # Of course, users can freely create their original theme.
│  └─ /plugins # Plugins provide additional functions beyond the standard functions of Capetown CMS.
│     ├─ /plugin-a
│     └─ /plugin-made-by-user
├─ /core # The user must never update or delete any files below this area.
│  ├─ /capetown # The core features of Capetown CMS. The newer version of this app is installed in this directory with the new version number.
│  │  └─ /capetown-0.2.0
│  │     ├─ /themes
│  │     │  └─ /default_theme
│  │     └─ /plugins
│  └─ /laravel # The basement of Capetown of Laravel core packages. The newer version of laravel is installed in this directory with the new version number.
│     ├─ /laravel-11.0.2
│     └─ /laravel-12.0.0
├─ /media # Binary files uploaded by users are automatically stored in directories with three levels of random names, making it difficult to guess other filenames and file paths.
│  └─ /1012
│     └─ /2093
│        └─ /8977
│           └─ /user-uploaded.png
├─ /cache
└─ /config
   └─ /capetown.php # Capetown CMS's config file.

要検討事項