phz/ric-wordpress
Composer 安装命令:
composer require phz/ric-wordpress
包简介
A Wordpress plugin for high-performance Responsive Image Cache (RIC)
README 文档
README
RIC Wordpress -plugin
1. Project Description
Wordpress plugin for Responsive Image Cache (RIC) https://github.com/phzfi/ric
1.1. Business Vision
Resize and cache images exactly to the view port to increase performance, in comparison to traditional caches that might provide 3 image sizes, non being optimal, and having the client to resize the image.
1.2. Task Management
1.3. Personas
1.4. Use Cases
1.5. Non-Functional Requirements
PHZ-PERF-1 Load the page in less than 1000ms.
2. Architecture
2.1. Technologies
Dev
- TODO
CI
- PHZ internal Jenkins
Staging
- PHZ.fi staging (internal)
Production
- Published on https://packagist.org/packages/phz/ric-wordpress
- Used by https://phz.fi and other sites
2.2. Naming, Terms and Key Concepts
Environments and the configs should be named as
- dev: docker-compose.yml (i.e. use the default names for dev env), but .env.dev
- (ci): use the dev -env on CI
- stg: docker-compose.stg.yml, .env.stg
- prod: docker-compose.prod.yml, .env.prod
2.3. Coding Convention
Directory structure
- doc/ for UML documents
- etc/ for nginx, ssh etc configs. Can be cp -pr etc/ /etc to the virtual machine during provisioning and matches the os directory structure
- results/ test results
- reports/ for e.g. code coverage reports
- src/ for source code ** Note! Source code should be placed under a single folder (src) that can be mounted over Docker -volume or Vagrant -shared folder inside the virtual machine so that node_modules or vendor directory are not on the shared folder. See https://wiki.phz.fi/Docker and https://wiki.phz.fi/Vagrant for further details how to circumvent the problems.
- tests/ for tests
2.4. Development Guide
Add here examples and hints of good ways how to code the project. Convert the silent knowledge as tacit knowledge here.
3. Development Environment
Note! PHZ Coding Convention: name this environment as dev. Note! However, please use the default files for dev env, such as docker-compose.yml (instead of docker-compose.dev.yml).
3.1. Prerequisites
3.2. Start the Application
3.3. Access the Application
3.4. Run Tests
3.5. IDE Setup and Debugging
3.6. Version Control
3.7. Databases and Migrations
3.8. Continuous Integration
4. Staging Environment
Note! PHZ Coding Convention: name this environment as stg.
4.1. Access
4.2. Deployment
4.3. Smoke Tests
4.3.1. Automated Test Cases
4.3.2. Manual Test Cases
4.4. Rollback
4.5. Logs
4.6. Monitoring
5. Production Environment
Note! PHZ Coding Convention: name this environment as prod.
5.1. Access
5.2. Deployment
5.3. Smoke Tests
5.3.1. Automated Test Cases
5.3.2. Manual Test Cases
5.4. Rollback
5.5. Logs
5.6. Monitoring
6. Operating Manual
6.1. Scheduled Jobs
6.2. Manual Processes
7. Problems
7.1. Environments
7.2. Coding
7.3. Dependencies
Add here TODO and blockers that you have found related to upgrading to newer versions. List the library/framework/service, version, and then the error message.
phz/ric-wordpress 适用场景与选型建议
phz/ric-wordpress 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 24 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 06 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 phz/ric-wordpress 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 phz/ric-wordpress 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2023-06-18