• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    PHP
  • License
    Other
  • Created almost 14 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MongoDb abstraction layer and atomic job queue for Magento

Cm_Mongo

NOTE: This is NOT a drop-in replacement for MySQL. It is intended only for use in implementing new models on MongoDb.

NOTE: PHP 7 Support

PHP 7 is not supported by the legacy 'mongo' extension and I currently have no plans to update this to use the new 'mongodb' extension which is not API compatible. I will happily accept a pull rquest though! :)

Description

This Magento extension is primarily two things:

  • An abstraction layer for MongoDb. Like the MySQL abstraction layer included in Magento, it provides classes that extend Mage_Core_Model_Abstract and Varien_Data_Collection. It also includes support for .js upgrade scripts, an indexer to automatically index fields in other collections, and a schema defined by XML files.

  • An atomic job queue. The job queue can be run by the Magento cron or by a separate script and supports future execution dates, automatic retry intervals, disabling jobs by name or group name, and priorities.

See mongo.xml.sample and Job.php for more information.

Unit Testing

Cm_Mongo can be used with EcomDev_PhpUnit, but needs to override one of it's classes for fixtures with mongo collections to work. Add a module dependency on EcomDev_PhpUnit to Cm_Mongo.xml when using with EcomDev_PhpUnit.

License

Please see the terms defined in LICENSE.txt

More Repositories

1

modman

Modularize extensions using symlinks. Voted #1 Magento tool by @WebShopApps!
Shell
727
star
2

Cm_Cache_Backend_Redis

A Zend_Cache backend for Redis with full support for tags (works great with Magento)
PHP
391
star
3

Cm_RedisSession

Redis-based session handler for Magento with optimistic locking
PHP
212
star
4

mongodb-php-odm

A simple but powerful set of wrappers for using MongoDb in PHP (also a Kohana 3 module)
PHP
211
star
5

magento-lite

Magento CE stripped down to a general-purpose framework.
PHP
171
star
6

Cm_Cache_Backend_File

Much improved replacement for Zend_Cache_Backend_File - works great with Magento!
PHP
146
star
7

Cm_Diehard

Advanced full page cache module for Magento supporting multiple caching methods (browser, reverse proxies, app cache) and multiple hole-punching methods (Ajax, ESI and server-side). Use with any caching reverse proxy or standalone.
PHP
131
star
8

magento-cache-benchmark

Benchmarking script for comparing performance of Magento cache backends.
PHP
79
star
9

php-redis-session-abstract

A Redis-backed PHP session handler with optimistic locking
PHP
61
star
10

Cm_OrderProducts

Add Product SKUs or Names column to the Magento Orders Grid
PHP
35
star
11

node-caching-proxy

A caching reverse proxy powered by Node.js and MongoDb.
JavaScript
18
star
12

Cm_Saas

PHP
9
star
13

magento-zend

Mirror of Zend Framework classes for use with magento-lite module
PHP
6
star
14

Cm_MongoSession

A session handler for Magento powered by MongoDb efficiently implementing optimistic locking
PHP
6
star
15

Logger

PHP
6
star
16

Cm_DiehardSample

A sample implementation of Cm_Diehard
PHP
5
star
17

Cm_MountStorage

Magento media storage driver using a mounted filesystem as a backend.
PHP
5
star
18

docker-confd-firewall

Docker container for managing firewall via etcd and environment variables.
Shell
4
star
19

haproxy-service

A Docker container for HAProxy with auto-updating config based on DNS resolution (Docker Swarm, Kontena, etc).
Shell
3
star
20

docker-nodeadmin

Dockerfile for NodeAdmin
JavaScript
1
star
21

pulumi-gcp-vault

Serverless Vault with Pulumi and Cloud Run
TypeScript
1
star