定制 rindow/skeleton-mini-webappl 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rindow/skeleton-mini-webappl

Composer 安装命令:

composer create-project rindow/skeleton-mini-webappl

包简介

Rindow minimum web application skeleton

README 文档

README

This is a web application skeleton for Rindow PHP Application Framework. You can make your new application with this skeleton.

The Rindow Framework is a PHP Application Framework that provides a modern programming and configuration model to all PHP programmers. Please see The Rindow Framework.

Application Skeleton Types

You can choose skeleton type.

  • Standard Application Skeleton.(Get the skeleton from here)
    • A typical web Application and command line application uses template engine and database to the Rindow Framework.
  • Minimum Web Application Skeleton.(This skeleton)
    • The minimal application skeleton contains nothing more than displaying a web page.

Features of Mini Web Application Skeleton

You'll be able to choose the platform you want to use, as well as the features you will use most often.

  • Inverse of control

    • Inverse of control programming is actually demonstrated by the application.
    • Flexible module exchange is possible by dependency injection and configuration injection.
  • Annotation based configuration

    • The definition of Components, Controller, Transaction, Validation, Forms etc. is set to annotation base.

Requirements

This sample was created for PHP 7.2 and later.

However, Rindow Framework supports PHP 5.3.3 and later. You can use the same features of Rindow Framework by rewriting only the sample code for PHP 5.x.

Installing

Using Composer(recommend)

If you do not have Composer, download it from http://getcomposer.org/ or just run the following command:

$ php -r "readfile('https://getcomposer.org/installer');" | php

Then, generate a new project of the Application Skeleton with create-project command:

  php composer.phar create-project rindow/skeleton-mini-webappl path/to/install

Composer will install Rindow Web Application Skeleton and components that depend on it under path/to/install directory.

Download from Github

Also you can download it directly from github.

  $ git clone https://github.com/rindow/skeleton-mini-webappl path/to/install
  $ cd path/to/install
  $ composer update

Start demo application

Run the application.

    $ php -S localhost:8000 -t public

The sample is now running. Access http://localhost:8000/ with a web browser.

Change settings

Rewrite "config/webapp.config.php" or write additional settings to "config/local/" directory.

The settings are compiled and saved. You must clear the cache after changing the settings. Script is prepared in the sample. If you are using a memory cache such as APCu, also clear the memory cache.

If you change the version item in the module_manager section of webapp.config.php, the cache will be cleared automatically.

    $ vi config/webapp.config.php
    $ bin/cache-clear

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-04-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固