msalter/oopmvc 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

msalter/oopmvc

最新稳定版本:1.0.1

Composer 安装命令:

composer create-project msalter/oopmvc

包简介

A simple OOP post app

README 文档

README

Installation and Setup

Run Composer Install msalter/oopmvc

Config File

To set the necessary constants - add the following to the config file

  • DB_HOST - Your database host. e.g. localhost

  • DB_USER - Your database username

  • DB_PASS - Your database password

  • DB_NAME - Your database's name

  • URLROOT - The root URL for this project

  • SITENAME - The name you've given to this site

  • APP_VERSION - It is set by default to 1.0.0, please change this as appropriate.

Bootstrap.php

The bootstrap.php file needs to contain all the required files

Example Workflow and Correct URL settings

The Core component splits the URL at '/' and uses each part to access the required parts in order to load them

URLROOT/ControllerDirectory/ControllerName/ControllerMethod

e.g. myapp.com/user/users/login

Example file structure

This framework has been designed to follow a file structure similar to Magento, with modularised components. Each component should contain its own controller and models. As well as any interfaces/abstracts that you wish to use.

Imgur

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-14