Git Product home page Git Product logo

slimvc's Introduction

SlimVC

This is a lightweight MVC Abstraction Layer on top of Wordpress; SlimVC is not a Framework that wrapps the Wordpress API like Themosis does, it is a set of tools that lets you configure your Wordpress application's custom post types, taxonomies, image-sizes, sidebars, menus, page-templates and custom routes.

You will write better, maintainable and extensible code by using the MVC paradigm.

  • no more PHP / HTML string concatenation
  • no archive-{$post-type}.php and other templates
  • No more mixing data-aggregation, business-logic and template code.

Documentation

The Docs have their own repository here.

Features

  • MVC Layer
  • Unit Testing (PHPUnit)
  • Twig templating engine
  • Configuration engine
  • Routing engine

Requirements

  • PHP 5.3
  • Wordpress ~3.8

Installation

  • clone this repository into your themes/ folder.
  • install composer (https://getcomposer.org/download/)
  • run composer install inside themes/<your-theme>/app/ directory.

License

The SlimVC is released under the MIT public license.

slimvc's People

Contributors

moolen avatar sopg avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

proj-http

slimvc's Issues

Implement custom(izable) Error handler

Build a facade for Slim's Error Handler So a developer is able to bypass Slim's own logging & error-pages.
Implement it for different application-modes (e.g. debug:true).

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.