Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano authored May 8, 2024
1 parent ab3c8e4 commit c97ec9a
Showing 1 changed file with 56 additions and 1 deletion.
57 changes: 56 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,64 @@ This module will allow your ColdFusion (CFML) applications under Adobe or Lucee

If there are any issues, please report them to the [BoxLang JIRA](https://ortussolutions.atlassian.net/browse/BL/issues) or the [Module Issues](https://github.com/ortus-boxlang/bx-compat/issues) repository.

## Settings

The module has the following available / default settings:

```json
settings = {
isAdobe = true,
isLucee = true
}
```

These are simple booleans that allow you to select which engine you want to mimic. All module settings can be changed via the `boxlang.json` in your configuration.

```json
"modules" : {
"compat" : {
"disabled" : false,
"settings" : {
"isAdobe" : false,
"isLucee" : true
}
}
}
```

## Server Scope Mimic

Depending on which engine you select an interceptor will be loaded that will seed the `server` scope with the appropriate engine details.

## Contributed Functions

The compat module will contribute the following functions globally:

* cacheClear
* cacheCount
* cacheGet
* cacheGetAll
* cacheGetAllIds
* cacheGetAsOptional
* cacheGetDefaultCacheName
* cacheGetEngineProperties
* cacheGetMetadata
* cacheGetOrFail
* cacheGetProperties
* cacheGetSession
* cacheIdExists
* cachePut
* cacheRegionExists
* cacheRegionNew
* cacheRegionRemove
* cacheRemove
* cacheRemoveAll
* cacheSetProperties


## Ortus Sponsors

BoxLang is a professional open-source project and it is completely funded by the [community](https://patreon.com/ortussolutions) and [Ortus Solutions, Corp](https://www.ortussolutions.com). Ortus Patreons get many benefits like a cfcasts account, a FORGEBOX Pro account and so much more. If you are interested in becoming a sponsor, please visit our patronage page: [https://patreon.com/ortussolutions](https://patreon.com/ortussolutions)
BoxLang is a professional open-source project and it is completely funded by the [community](https://patreon.com/ortussolutions) and [Ortus Solutions, Corp](https://www.ortussolutions.com). Ortus Patreons get many benefits like a cfcasts account, a FORGEBOX Pro account and so much more. If you are interested in becoming a sponsor, please visits our patronage page: [https://patreon.com/ortussolutions](https://patreon.com/ortussolutions)

### THE DAILY BREAD

Expand Down

0 comments on commit c97ec9a

Please sign in to comment.