NoShi Logo

NoShi

The no shi! CMS

Features

Free from

Installation

composer create-project -s dev cundd/noshi-boilerplate target/path/

Start the development server:

cd root/of/noshi/installation/;
./server.sh

Authoring

Added markdown files to the data directory

cd root/of/noshi/installation/;
cd data;

# Create a page (with a menu item):
touch About.md

# Create a 'hidden' page (without a menu item):
touch _Details.md

Themes

The default theme noshi-website is stored under vendor/cundd/noshi-website/. The page template is saved in Resources/Private/Templates/Page.html and the themes resources under Resources/Public/, both relative to the themes path.

The following variables inside the template file will be replaced:

Plugins

What is a plugin?

Everything

Really?

Okay, actually every class' instance that can be transformed to a string

Creating a plugin

Simply create a PHP class, that composer can autoload and require it in your template, in the format {Namespace\ClassName}. NoShi will then unfold an instance of the class and transform it to a string.

If the class implements \Cundd\Noshi\Ui\UiInterface to method setContext() will be invoked before rendering. setContext() receives the parent view as it's argument. The parent view's context as an example is the core Dispatcher.