Build Status

WELCOME TO THE CBSTORAGES MODULE

A collection of model objects to facade and help with native ColdFusion persistence structures and also any Cache using CacheBox. This can allow you to leverage distributed caches like Couchbase, Redis, ehCache, etc for distributed session management.

LICENSE

Apache License, Version 2.0.

IMPORTANT LINKS

  • Source: https://github.com/coldbox-modules/cbox-storages
  • Issues: https://github.com/coldbox-modules/cbox-storages#issues
  • ForgeBox: https://forgebox.io/view/cbstorages
  • Changelog

SYSTEM REQUIREMENTS

  • Lucee 4.5+
  • ColdFusion 10+

INSTRUCTIONS

Just drop into your modules folder or use CommandBox to install

box install cbstorages

WireBox Mappings

The module registers the following storage mappings:

You can check out the included API Docs to see all the functions you can use for persistence.

Settings

Some storages require further configuration via your configuration file config/ColdBox.cfc under a storages structure:

storages = {
    // Cache Storage Settings
    cacheStorage = {
        cachename   = "The CacheBox cache to use",
        timeout     = 60 // The default timeout of the session bucket, defaults to 60
    },

    // Cluster Storage Settings
    clusterStorage = {
        clusterAppName = "MyApp"
    },

    // Cookie Storage settings
    cookieStorage = {
        useEncryption   = false,
        encryptionSeed  = "CBStorages",
        encryptionAlgorithm = "CFMX_COMPAT",
        encryptionEncoding = "HEX"
    }
};

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com


HONOR GOES TO GOD ABOVE ALL

Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.

"Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. ." Romans 5:5

THE DAILY BREAD

"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12

CHANGELOG

1.4.0

  • Updated to leverage workbench module template
  • Remove useless entry points thanks to @tropicalista
  • Make default cache for CacheStorage to be the template cache instead of default

1.3.0

  • Updated API docs with a syntax typo
  • New RequestStorage thanks to Dan Murphy
  • Updated travis process for self-publishing

1.2.0

  • Update build process
  • Updated dependencies
  • Added new storage: CacheStorage to allow you to simulate session/client on a distributed cache via CacheBox.

1.1.0

  • Travis integration
  • DocBox updates
  • Build process updates

1.0.0

  • Create first module version

 

 
$ box install cbstorages
No collaborators yet.
  • Apr 30 2014 08:22 PM
  • Aug 07 2017 03:09 PM
  • 3526
  • 1546
  • 21266