定制 devosa/exporter 二次开发

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

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

devosa/exporter

Composer 安装命令:

composer create-project devosa/exporter

包简介

Master/Employee Data Excel Dynamic Exporter

README 文档

README

Library Package Name: Bridge Exporter Library Ver.1.0.0-dev-master@alpha

Components

  • Database Access: Doctrine DBAL
  • Excel Library:
  • Data Mapper and Validator
  • Entity Builder
  • Data Source and Handlers
  • Constraint Element and Field Types
  • Exporter and Logger (Observer and Subject)

Requirements

  • Composer
  • Doctrine
  • PhpExcel
  • CodeSniffer (dev)

How To

  • Create the data source first (it will be like: excel, database files).
  • Create the entity using entity builder that required the data source as parameter.
  • Do mapping for field column name and field type for the constraints.
  • Setting up the constraint entity for the source entity.
  • Create new entity as target that will be done, this step will be same with the source entity creation.
  • Create and run the entity mapper, this components will be mapping the source entity to target entity.
  • Create a new exporter instance and then run the doExport method to export and save the target entity data into the source entity.

Changes

Dev Version

Add exporter handler, remove the doMassImport method from data-source, provide the table entity to do insert, update, and delete data, finishing the basic exporter, improvement on library structure, cleaning code to green status using complete code inspection mode.

Restructure and rebuild the basic exporter, so it will be mapped and exporting between entity-to-entity, create standard data source transition so all data source type can be converted to the standard on array data source type.

Separating the data source handler, fixing the entity builder, fixing the mapper abstraction, optimizing the data fetching, some bug-fixed under the entity-entity_builder-data_source library.

Optimizing all the entity exporter and importer, fixing bugs under table and constraint entity builder. Composing the basic logger for exporter.

Applied Patterns

  • SOLID FOR SURE!!
  • Simple Factory Pattern
  • Template Method Pattern
  • Strategy Pattern
  • Builder Pattern
  • Decorator Pattern
  • Observer Pattern

Next Releases

Excel Refactoring:

  • Spreadsheet security
  • Commenting on Cell

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2016-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固