Skip to content

Creating a Component

joeconradt edited this page May 27, 2014 · 10 revisions

A big part of Inkstand is components, which are large chunks of features that can be collectively enabled/disabled, or downloaded/removed. Components are built using an MVC pattern and follow certain routing conventions and syntax.

All components live in the /components folder of an Inkstand instance.

Folder Structure

A basic component is setup like this:

/components
| - /[mycomponent]
| -- /controller
| ---- /page.controller.php
| -- /model
| ---- /page.php
| -- /view
| ---- /index.php
| -- /component.config.php
| -- /page.sql.php

Clone this wiki locally