Skip to content

ShoyoFILMS/fudina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fudina

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

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.

Features

  • 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).

Installation

Simply upload the framework files to your web server.

Configuration & Usage

Editing Pages

Edit the page.php file located inside your specific page folder (e.g., /dimensions/pc/pages/top/page.php).

Adding New Pages

fudina manages pages via CSV files (e.g., /dimensions/pc/page.csv).

  1. Add a new row to the CSV file and configure the settings for your new page.
  2. Duplicate an existing page folder and rename it to match the page name defined in the CSV.

Page Templates

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).

About

simple website framework for php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors