定制 nswdpc/silverstripe-inline-linker 二次开发

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

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

nswdpc/silverstripe-inline-linker

Composer 安装命令:

composer require nswdpc/silverstripe-inline-linker

包简介

Inline Link field that saves to gorriecoe/link

README 文档

README

This module provides:

This module is under active development, pull requests are welcome.

Background

Rather than taking our content editors to a new data entry screen for the purposes of adding a link to a record, the field allows a link to be added to the current record within the context of that record.

The link can be added using one of the provided fields:

  • Enter an external URL
  • Enter an e-mail address
  • Select a page
  • Select a file asset
  • Enter a phone number

Upload field example

Image of the field showing a link being set to a file upload

The object of this module is to:

  • allow editing and creation of links within the context of the parent record
  • have no Javascript dependencies, beyond those provided by core framework fields (we tried)
  • act as a drop-in replacement for the LinkField provided by gorriecoe/silverstripe-linkfield (NB: for has-one relations only)

Elemental inline editing

This module supports inline editing in Elemental. The field will detect whether it has been loaded in an inline editable context and makes allowances for this.

Rather than create a React component for the field, we use the standard MutationObserver API to detect field changes in the administration area based on an HTML5 data attribute attached to the relevant fields.

A source file is provided in client/src/js/app.js for reference.

A future goal is to decouple the administration (entwine) event detection/handling and allow the field to be used outside the administration area.

TODO

  • Fragment field for page linking

Usage

Requirements

See composer.json

Installation

The only supported way of installing this module is via composer

composer require nswdpc/silverstripe-inline-linker

License

BSD-3-Clause

Documentation

Configuration

None, yet

You can find the extensions used in config.yml.

Maintainers

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.

nswdpc/silverstripe-inline-linker 适用场景与选型建议

nswdpc/silverstripe-inline-linker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.66k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 03 月 10 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 nswdpc/silverstripe-inline-linker 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2021-03-10