Skip to the content.

I. Introduction

Dinkly is a modest little MVC (model, view, controller) PHP framework inspired by Ruby on Rails and earlier (simpler) incarnations of Symfony. It was designed from the ground-up to be fast, easy to understand, highly customizable, and have a small footprint. The Dinkly framework comes with everything you need to build a basic web application, and excels when used for rapid prototyping, though it is perfectly capable of handling much larger, more sophisticated, use-cases.

II. Features

III. Getting Started

1. Server Requirements

2. Installation

  1. Pull down the latest release from GitHub: https://github.com/lewsid/dinkly

  2. Fetch and install needed packages via composer: php composer.phar install --no-dev

This will create a new folder called vendor in the project root and populated with composer-provided packages.

3. Configuration

  1. Ensure that Dinkly’s web folder is web-accessible by your server software. This is typically achieved via a symbolic link.

  2. Create a new file called config.yml under the config directory and copy the contents of demo-config.yml into it.

  3. Note that config/bootstrap.php is where that you will want to toggle between your environments, if needed. The default is dev but change this as needed match other environments as specified in the primary configuration found in config/config.yml.

4. Build Commands

IV. Understanding the Architecture

Something about MVC.

1. Directory Organization

2. Routing

3. Controllers

a. Modules

b. Components

4. Views

5. Models

a. Schemas

b. Fixtures

c. Collections

d. Model Customization

Contributors

License