fudina は、PHPで構築されたシンプルで軽量なWebサイト向けの自作マイクロフレームワークです。 複雑な設定を必要とせず、直感的かつ迅速にWebアプリケーションやWebサイトを立ち上げることを目的に設計されています。
- 超軽量&シンプル: 不要な機能を極限まで削ぎ落とし、コアな機能のみを凝縮。
- デバイス・言語対応機能: デバイス(PC、スマホ、あるいはHMDなど)や言語に応じて同じURLで違うページを見せることができます。
- パンくずリスト生成機能: CSVで親ページを設定する事で疑似的なページの階層を設定、パンくずリストに反映します。
- 静的ページ機能: ページフォルダに静的なhtmlを置くことでphpに代わり、そのhtmlを表示します。
- コンテンツリスト機能: csvに設定した作品情報でネットに散らばったコンテンツのポータルページを簡単に作成できます(付録として収録)。
- 拡張機能: PHPで拡張機能を作成することができます。(例:パンくずリスト等)。
サーバにファイルをアップしてください
/demensions/pc/pages/top/page.phpなどページフォルダの中にあるpage.phpを編集してください
fudinaはページをCSV(/demensions/pc/page.csv等)で管理しています。CSVに新しい行を追加し、各種設定をしてください。 そのあとページフォルダを複製し、設定した名前を付けてください
/demensions/pc/frames/empty/ の中にページテンプレートがありpage.csvで設定することで ページ毎に書かずに同じ構成にすることができます(例:パンくずリスト等))
fudina is a simple, lightweight, custom PHP micro-framework designed for building websites. It aims to help developers launch web applications and websites intuitively and rapidly, without the need for complex configurations.
- Ultra-Lightweight & Simple: Stripped of unnecessary features to focus strictly on core functionalities.
- Device & Language Optimization: Serve different pages under the exact same URL based on the user's device (PC, smartphone, HMD, etc.) or language.
- Dynamic Breadcrumbs: Define a pseudo page hierarchy using a simple CSV file to automatically generate and reflect breadcrumbs.
- Static Page Support: Place a static HTML file inside a page folder to serve it directly, bypassing PHP processing.
- Content Directory (Portal) Feature: Easily create a portal page that aggregates content scattered across the web using a CSV file pre-configured with project/artwork metadata (included as a bonus).
- Extensibility: Build custom extensions seamlessly using standard PHP (e.g., custom breadcrumb logic).
Simply upload the framework files to your web server.
Edit the page.php file located inside your specific page folder (e.g., /dimensions/pc/pages/top/page.php).
fudina manages pages via CSV files (e.g., /dimensions/pc/page.csv).
- Add a new row to the CSV file and configure the settings for your new page.
- Duplicate an existing page folder and rename it to match the page name defined in the CSV.
Base templates are located in /dimensions/pc/frames/empty/. By assigning templates in page.csv, you can maintain a consistent layout across multiple pages without rewriting the structure each time (useful for shared layouts like breadcrumbs).