nswdpc/silverstripe-inline-linker
Composer 安装命令:
composer require nswdpc/silverstripe-inline-linker
包简介
Inline Link field that saves to gorriecoe/link
README 文档
README
This module provides:
- a basic inline linking field,
- saving into the existing Link model provided by gorriecoe/silverstripe-link
- delete link handling
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
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
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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nswdpc/silverstripe-inline-linker 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A couple of handy form fields and objects for managing external and internal links on DataObjects
PHP library that allows linking queries from diferent physical databases using mysql pdo database connections
Custom links on your sidebar for Laravel Nova.
Set Links with a specific language parameter
A tool for scraping URL resources (oEmbed, OpenGraph, Twitter cards, JSON-LD)
统计信息
- 总下载量: 6.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2021-03-10
