承接 harvest-media/web-app-starter 相关项目开发

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

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

harvest-media/web-app-starter

Composer 安装命令:

composer require harvest-media/web-app-starter

包简介

Yii2 PHP Web App Starter Project

关键字:

README 文档

README

Starter project which uses the scaffolding of the Base Web App project https://github.com/Harvest-Media/base-web-app to provide ready-made user management and templates.

Installation

composer create-project harvest-media/web-app-starter

Then, go to the root project:

cd web-app-starter

or whatever directory name you created.

Next, create your environment file:

cp .env.example .env

Open up that file in your editor of choice. Fill in the site address, site name, and the database information.

Then you need to run the installation program.

./console install

Next, run npm install.

npm install

Adding your own Install Migration

If you want to create other tables during the installation, go to migrations/install.php and add functions for each table you want to create and them call those functions in the safeUp function. Also, an uninstall feature is offered just for during developmemnt. Make sure to add the drop table line in the safeDown function as well.

Development

There are some core classes and templates that are provided already for you in the base-web-app project. An example of the login form and the dashboard page are already placed in the controllers\web\ folder for you.

The UserController will be added soon which will provide basic user management.

Currently, when you use one of the base-web-app controllers, it would use the corresponding template in the base-web-app project. Soon, you will have the ability to specifiy to use your own template in the templates folder of this project.

All new pages you add to this project will be done through the controllers, models, and templates folders at the root of this project. An example is at the controller/web/HelloController.php

Core Concepts

Yii2 PHP Framework

In order to successfully use this starter project, a basic understanding of the Yii2 framework is needed https://www.yiiframework.com/.

Twig Templating

For all of the views (html code), this project uses the /templates folder and the twig templating language https://twig.symfony.com/

Foundation CSS and Tailwind CSS

Both Foundation CSS and Tailwind are already included in the project.

SCSS File Location

src/css/theme.scss

Javascript File Location

src/js/theme.js

Tailwind Config File Location

This file is at the root of the project

tailwind.config.js

Laravel Mix

Laravel Mix is used for the styling and css processing.

Laravel Mix Config File Location

This is at the root of the project

webpack.mix.js

To develop with hot reloading:

npm run watch

To build for production:

npm run build

harvest-media/web-app-starter 适用场景与选型建议

harvest-media/web-app-starter 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 03 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「web app」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 harvest-media/web-app-starter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 harvest-media/web-app-starter 我们能提供哪些服务?
定制开发 / 二次开发

基于 harvest-media/web-app-starter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-03-14