2 个仓库
Standardized input and output specifications that plugins must follow to ensure interoperability.
Distinct from Interface Plugins: Distinct from Interface Plugins by focusing on the formal contract/specification rather than the mechanism of injecting logic into a UI.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Plugin Interface Contracts. Refine with filters or upvote what's useful.
imagemin 是一个 Node.js 图像优化和压缩工具,旨在减小图像资产的存储大小。它作为一个构建流水线资产优化器,采用有损和无损压缩来移除不必要的元数据并优化像素数据。 该项目使用基于插件的架构来扩展其功能,加载处理特定图像格式和压缩算法的外部模块。这使得该工具能够作为一个灵活的工具包,用于在开发流水线中自动化图像压缩。 该系统涵盖了广泛的 Web 性能优化功能,包括集成到前端资产流水线和静态站点生成工作流中,以降低带宽消耗并提高页面加载速度。
Enforces a consistent interface contract for plugins to ensure different image optimizers can interoperate seamlessly.
Geocoder 是一个 PHP 库,用于使用各种第三方服务将地址转换为地理坐标,并将坐标转换回地址。它作为一个多提供商地理编码包装器和反向地理编码引擎,提供了一个抽象层来管理多个地理编码 API。 该项目允许在提供商之间切换或链接请求以进行故障转移,从而确保高可用性。它还作为 GeoIP 位置解析器,通过远程服务或本地二进制数据库将 IP 地址转换为地理坐标和位置详情。 该库包含将位置和地址对象导出为标准化地理格式的功能。它提供用于自定义地址字符串格式化、区域感知查询和结果缓存的工具,以减少冗余的网络请求。 该系统支持实现自定义提供商,并包含性能分析功能,以测量地理位置调用所花费的时间和内存。
Defines standard interface contracts for geocoding services to decouple core logic from specific third-party API implementations.