2017 © Pedro Peláez
 

library simple-mvc

A simple and full stack Push & Pull MVC framework.

image

wdalmut/simple-mvc

A simple and full stack Push & Pull MVC framework.

  • Tuesday, April 23, 2013
  • by wdalmut
  • Repository
  • 3 Watchers
  • 22 Stars
  • 418 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 13 Forks
  • 0 Open issues
  • 13 Versions
  • 1 % Grown

The README.md

A simple MVC [VC] framework

A simple push & pull MVC framework heavly inspired to different PHP microframeworks and PHP MVC framework like ZF1., (*1)

Why?

I want to try out the test-driven development [at least write some tests ;)]., (*2)

Just for my pleasure., (*3)

Goals

  • PHPUnit
  • Very simple implementation (only 8 classes + autoloader)
  • PHP 5.3+ implementation

Features

  • 100% MVC implementation [66% no model support] ;)
  • Useful hooks (Fixed events)
    • Loop Startup
    • Pre Dispatch
    • Init Hook
    • Post Dispatch
    • Loop Shutdown
  • View Renderer Switch
  • View Helpers
  • Partial views
  • Two step view (Layout support)
  • Controllers stack
  • Headers handler
  • Event manager (Self designed hooks)
  • Router
    • Only controller/action names
    • Dash URLs support (/a-dash/the-name-of-content)
  • Pull Driven requests
    • View request data to a controller-action
  • Rewritable views
    • Different views mount points for rewrite views

Install with Composer

If you want you can use Composer for install simple-mvc. Create the composer.json, (*4)

{
    "require": {
        "wdalmut/simple-mvc": "*"
    }
}

Now you can install the framework, (*5)

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

You can use the Composer autoloader, (*6)

<?php
require_once 'vendor/autoloader.php';

$app = new Application();
//...

Examples and docs

Build Status

  • Master branch
    • Build Status
  • Development branch
    • Build Status

The end., (*7)

The Versions

23/04 2013

dev-master

9999999-dev

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

23/04 2013

dev-development

dev-development

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

23/04 2013

0.1.6

0.1.6.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

16/12 2012

0.1.5

0.1.5.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

07/10 2012

0.1.4

0.1.4.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

07/10 2012

0.1.3

0.1.3.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

23/09 2012

0.1.2

0.1.2.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

03/07 2012

0.1.0

0.1.0.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

03/07 2012

0.1.1

0.1.1.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

25/06 2012

0.0.8

0.0.8.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

25/06 2012

0.0.9

0.0.9.0

A simple and full stack Push & Pull MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

24/06 2012

0.0.7

0.0.7.0

A simple and full stack MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework

23/06 2012

0.0.6

0.0.6.0

A simple and full stack MVC framework.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

micro framework mvc microframework