GithubHelp home page GithubHelp logo

h's Introduction

HMVC

Build Status

Build Status

php 5.3 mvc framework

Features

  • Regular expression routing
  • Error handling and logging
  • Session management
  • CRUD-style PDO
    • ActiveRecord
    • EAV
    • N-to-N relationships
    • Scoped, nested transactions
  • Forced HTTPS
  • Flash messages
  • Twig Template

快速开始

新建文件 : composer.json

{    
    "require": {
        "h1soft/h": "dev-master"
    }
}

使用Composer工具

composer install

新建入口文件 : index.php

require 'vendor/autoload.php';

$app = new \hmvc\Web\Application();
$app->run();

目录结构

project
       |__companyName
              |___ModuleA
                       |_____Controller
                                   |_____Index.php
              |___ModuleB
                       |_____Controller
                                   |_____Index.php
       |__etc
            |__config.php
            |__db.php
            |__rewrite.php
        |__crons
            |__job1.php
            |__job2.php 
        |__themes

系统最低要求

php5.3或者以上

支持

自定义路由 MySQLi FlashMessage RESTFull i18n Log Console

h's People

Contributors

h1soft 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.