GithubHelp home page GithubHelp logo

micromvc's Introduction

MicroMVC

This is just a small (micro) mvc framework written in PHP 5. You can use it for small websites with small complexity. Beside the mvc concept there are not many additional function included.

Feel free to extend it.

System requirements

  • Apache 2
  • PHP >=5.3
  • Some database (optional): MySQL or SQLite or other with PDO

Installation

Via git: git clone https://github.com/dknx01/micromvc.git

Or downwload the latest version at https://github.com/dknx01/micromvc/archive/master.zip

The Apache DocumentRoot must link to the public folder. All other folders must be readable for the web server user.

Usage

Your controllers are inside Application/Controllers folder. Your views inside Application/View/CONTROLLERNAME/. The view uses the same name like the action in the controller. Your database models, mappers and table classes should be under Application/Db. The configuration file is under Application/Config. If you use a bootstrapping file it must be under Application/Config/Bootstrap.php and will be included in the startUp-Process. If you use 3rd party apps, put it under Lib/Libs. Further information visit https://github.com/dknx01/micromvc/wiki/Usage

License

BSD

ToDo

[x] Documentation

[x] Actions

[X] extend standard database function

[X] automatic doctype

[] context switch

[] Dependency injection container

Any sugestions or comments just let me know.

dknx01

micromvc's People

Contributors

dknx01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.