Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Another PHP Framework. But this one is clean, lightweight and (partially) unit tested.
PHP
Branch: master

Merge pull request #1 from morishani/master

Router doesn't work on "strict standards" php mode - Fixed string class methods to be all statics.
latest commit cdf1cbbd62
@leanderlee authored
Failed to load latest commit information.
cache Initial commit of emvisee.
controllers Initial commit of emvisee.
lib Fixed function static -> static function
services
static Cleaned out CSS folder.
tests Initial commit of emvisee.
tml Initial commit of emvisee.
twig Initial commit of emvisee.
.htaccess Initial commit of emvisee.
LICENSE Initial commit of emvisee.
README.md Initial commit of emvisee.
index.php Initial commit of emvisee.
init.php Initial commit of emvisee.
loader.php Refactored loader
settings.conf Initial commit of emvisee.
settings.conf.sample Initial commit of emvisee.

README.md

Emvisee (pronounced MVC)
By Leander Lee

  Created: Mar 24, 2011

  Contains:
    - controllers
    - templating
    - services
    - useful php classes
    - (basic) testing suite
    - jquery minimized


Is a really lightweight mvc framework
for PHP, similar to many of the existing
frameworks out there. However, I chose
to do my own, because it uses autoloading
static classes, so that the controllers
do not have any additional markup.

This was created because:
    - There aren't enough php frameworks (lol)
    - I needed something light(er) weight
    - I wanted something that looked nice
      (ie, none of that $, ->, @ crap.)
    - Had automated testing

The router is compact and unit-tested.
This uses Twig for templating (sensiolabs).
I also wrote a (basic) testing framework.


INSTALLATION
    Just copy it into webroot.
    Edit settings.conf and hide from world.

USAGE
    There are three things:
        <webroot>/
        <webroot>/tests/
        <webroot>/get/


controllers/
    contains .php files with a single 
    class called <filename>_controller.
lib/
    contains .php files with a single
    class called <filename>. This is
    automatically loaded when called.
static/
    hosts all css, images and js files.
tml/
    contains .tml files in folders
    associated to the controller file.

    More information about the template
    language and syntax can be found at:

    http://www.twig-project.org/doc/templates.html
tests/
    contains .test files which can be run
    by the test suite.
Something went wrong with that request. Please try again.