2017 © Pedro Peláez
 

project tinymvc-demo

Hisune TinyMVC Basic Project Template

image

hisune/tinymvc-demo

Hisune TinyMVC Basic Project Template

  • Wednesday, December 14, 2016
  • by hisune
  • Repository
  • 3 Watchers
  • 6 Stars
  • 57 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Hisune Tiny MVC Framework Demo App

  • (https://github.com/hisune/tinymvc)
  • Author: Hisune(http://hisune.com)
  • 示例网站:http://hisune.com

安装方法

  • 执行composer create-project hisune/tinymvc-demo 2.2
  • composer帮助:(https://getcomposer.org)
    > linux:
    > curl -sS https://getcomposer.org/installer | php
    > mv composer.phar /usr/local/bin/composer
    > windows:
    > https://getcomposer.org/Composer-Setup.exe

目录结构介绍

  • 注意某些目录的首字母大写
.
├── app                         // Hisune Tiny Frame的应用程序,里每个目录代表一个应用程序
│   └── App1                    // App1 code,目录下的推荐目录配置如下:
│       ├── bootstrap           // bootstrap文件,及自定义函数库
│       ├── config              // 配置文件
│       ├── Controller          // Controller继承\Tiny\Controller
│       │   ├── Admin           // 模块举例
│       │   │   └── Index.php   // 子模块Controller
│       │   └── Index.php       // 无模块Controller
│       ├── Model               // Model继承\Tiny\Model
│       ├── Helper              // Helper继承\Tiny\Helper
│       ├── var                 // 日志及缓存目录
│       └── view                // 视图文件
├── app1                        // 举例app
│   ├── asset                   // 前端资源目录
│   └── index.php               // app1应用的入口文件
├── vendor                      // composer包,当前只有Hisune Tiny Frame包
└── cli                         // cli接口,执行方法php cli appName fileName
  • 只允许app1目录暴露,多应用只需加app2, app3等。

示例

themeBuilder 之 dataTable admin panel themeBuilder 之 mod admin panel, (*1)

About

Created by Hisune lyx, (*2)

The Versions

14/12 2016

dev-master

9999999-dev http://hisune.com/

Hisune TinyMVC Basic Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework project template basic hisune tinymvc

22/07 2015

2.2

2.2.0.0 http://hisune.com/

Hisune TinyMVC Basic Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework project template basic hisune tinymvc

22/07 2015

2.1

2.1.0.0 http://hisune.com/

Hisune TinyMVC Basic Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework project template basic hisune tinymvc

22/07 2015

2.0

2.0.0.0 http://hisune.com/

Hisune TinyMVC Basic Project Template

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • hisune/yii2 >=1.4

 

framework project template basic hisune tinymvc

04/12 2014

1.0

1.0.0.0

  Sources   Download

The Requires

  • tiny/tiny *
  • php >=5.3.0

 

tiny framework tiny mvc hisune