承接 mouf/database.datasource.datasource-interface 相关项目开发

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

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

mouf/database.datasource.datasource-interface

Composer 安装命令:

composer require mouf/database.datasource.datasource-interface

包简介

This package only contains basic interfaces for implementing data sources.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Build Status Coverage Status

Datasources for Mouf

You can find in this package two very useful interfaces:

  • DataSourceInterface: a DataSource that represents an array of arrays
  • RowInterface: a Row that is the representation of a key indexed array.

Known implementations

  • MagicQuery (TODO)

This packages contains 2 very basic implementations of these interfaces:

  • The Row class maps a key indexed array into a RowInterface
  • The DataSource class maps an array of array into a DataSourceInterface

Modifiers

This package comes with a set of utility classes to transform rows and datasources:

  • RowMapper creates an "output" row from an "input" row and a set of Pickers (implementing the PickerInterface)
  • ArrayMapper creates an "output" datasource from an "input" datasource and a set of Pickers (implementing the PickerInterface)

This package comes with 2 pickers (implementing the PickerInterface):

  • RowPicker: selects one value in a row
  • CallbackPicker: applies a callback function to a row and returns the value of the callback

Finally, the RowBuilder class can be used to merge rows, add a row as a key of a row or to add datasources as keys of a row.

统计信息

  • 总下载量: 4.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 7
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-12-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固