定制 marcqualie/mongominify 二次开发

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

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

marcqualie/mongominify

最新稳定版本:v1.0.4

Composer 安装命令:

composer require marcqualie/mongominify

包简介

A drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly

README 文档

README

Build Status Total Downloads Latest Stable Version Dependency Status Bitdeli Badge [Say Tahanks](http://twitter.com/home/?status=Thanks @marcqualie for making Mongo+Minify: https%3A%2F%2Fgithub.com%2Fmarcqualie%2Fmongominify)

MongoMinify is a drop-in library which acts as a transparent filter to MongoDB documents and compresses/decompresses data on the fly. PSR-2 compliant and works with PHP 5.3+.

Getting started

You should check out the Getting Started page on the Wiki to get up and running

Quick Instalation

The best way to install this library is via composer.

{
    "require": {
        "marcqualie/mongominify": "dev-master"
    }
}

Why MongoMinify?

As great as MongoDB is at so many things, it has a downside compared to other data stores that it stores it's keys wih every document. These keys quickly add up and sometimes double or even triple the amount of storage required. Myself and many other developers got around this by adding single letter key names, but this is hard to manage with large projects and documents. MongoMinify gets around this problem by transparently converting documents as they are transfered between the client and the database leaving readable code with compressed storage.

Requirements

  • PHP 5.3+
  • MongoDB PHP Driver 1.3+

Aggregation

The aggregation framework is very complex with a lot of use cases. I've tried to tackle it as best I can and it works for every use case I've come across. If you find a bug with minification while using the aggregtation framework, please create report it using Github Issues.

Feedback / Contributing

Feedback and pull requests on Github are always welcome and encouraged.

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-02-05