JSON Properties

The JSON properties plugin allows you to easily add structured data to a single database table field. You can easily store arrays and structures without the need for extra tables in your model.

The JSON properties plugin has a single initialization method that you must call in your models init().

Init Method

Once you have initialized your model, there is no extra work required to start using the functionality of this plugin.

How to Use

Simply add structure data to your JSON property. That's it!

Interal workings

The JSON proerties plugin works by adding callbacks to the initialized model to transparently serialize/deserialize complex data types into strings that can be stored in a database.

Callbacks Added

Uninstallation

To uninstall this plugin simply delete the /plugins/AssetBundler-0.9.zip file.

Credits

This plugin was created by James Gibson.

<<< Go Back

Warnings: The breadcrumb plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The coldroute plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The JsonProperties plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
Application: econompanel [Run Tests, View Tests]
Framework: CFWheels 1.4.6
Active Environment: Design
Host Name: node37263-econompanel.j.dnr.kz
CFML Engine: Railo 4.2.1.000
Default Data Source: Econompanel
Database Adapter: MySQL
URL Rewriting: On
URL Obfuscation: Off
Plugins: breadcrumb
coldroute
JsonProperties
Route: Root
Controller: Wheels
Action: Wheels
Parameters: view = plugins
name = JsonProperties
Execution Time: 27ms (requeststart ~23ms, setup ~2ms, view ~1ms, action ~1ms)
Help Links: Documentation, Mailing List, Issue Tracker