承接 nguyenanhung/slim-3-hmvc-skeleton 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nguyenanhung/slim-3-hmvc-skeleton

Composer 安装命令:

composer create-project nguyenanhung/slim-3-hmvc-skeleton

包简介

A Slim Framework 3 skeleton Hierarchical Model View Controller application for rapid development

README 文档

README

Modular Extensions makes the Slim 3 micro framework modular. Modules are groups of independent components, typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other Slim 3 applications.

HMVC stands for Hierarchical Model View Controller.

Module Controllers can be used as normal Controllers or HMVC Controllers and they can be used as widgets to help you build view partials.

What HMVC ?

Hierarchical model–view–controller (HMVC) is a software architectural pattern, a variation of model–view–controller (MVC) similar to presentation–abstraction–control (PAC), that was published in 2000 in an article in JavaWorld Magazine, the authors apparently unaware of PAC, which was published 13 years earlier.

The controller has some oversight in that it selects first the model and then the view, realizing an approval mechanism by the controller. The model prevents the view from accessing the data source directly.

PAC

and HMVC

See: Hierarchical Model View Controller from Wikipedia

Install the Application

Run this command from the directory in which you want to install your new Slim Framework application.

composer create-project nguyenanhung/slim-3-hmvc-skeleton [my-app-name]

or

php composer.phar create-project nguyenanhung/slim-3-hmvc-skeleton [my-app-name]

Replace [my-app-name] with the desired directory name for your new application. You'll want to:

  • Point your virtual host document root to your new application's public/ directory.
  • Ensure storage/ is web writeable.

To run the application in development, you can run these commands

cd [my-app-name]
php composer.phar start

Run this command in the application directory to run the test suite

php composer.phar test

or

./vendor/bin/phpunit

That's it! Now go build something cool.

Running via CLI / Command Line Interface

Project slim-3-hmvc-skeleton use symfony/console is handle Console request

Example

composer worker app:test-command

or

php cli.php  app:test-command

@see: Symfony Console

Structure Project

See full Structure: TREE.md

Contact

If any quetion & request, please contact following infomation

Name Email Skype Facebook
Hung Nguyen dev@nguyenanhung.com nguyenanhung5891 @nguyenanhung

From Hanoi with Love <3

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固