2017 © Pedro Peláez
 

silverstripe-module ss-dataobject-metadata

Add metadata to your dataobjects via many_many_extraFields

image

milkyway-multimedia/ss-dataobject-metadata

Add metadata to your dataobjects via many_many_extraFields

  • Tuesday, July 22, 2014
  • by mi3ll
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Dataobject Metadata

Dataobject Metadata is a simple example for implementing the AEV (Attribute-Entity-Value) Model in Silverstripe using many many extra fields., (*1)

Why? Some dataobjects are constantly changing, variable in nature (such as products) and need to be more flexible, hence won't always work with adding columns continually that won't be used anyway. This is where this module comes in., (*2)

This isn't really usable as is, and will require you to install one of the suggested modules so you can manage the extra fields correctly, or you can use the built-in GridFieldDetailForm to manage the attributes without another module., (*3)

Downside, only usable in collections, but this is what I mainly use it for anyway., (*4)

Install

Add the following to your composer.json file, (*5)


"require" : { "milkyway-multimedia/ss-dataobject-metadata": "dev-master" }

And add an extension to your DataObject in your YAML config:, (*6)


Product: extensions: - Milkyway\SS\Metadata\Extensions\Metadata('RelationName (optional - will use the name of owning object for relation otherwise - in this case Product)')

License

  • MIT

Version

  • Version 0.1 - Alpha

Contact

Milkyway Multimedia

  • Homepage: http://milkywaymultimedia.com.au
  • E-mail: mell@milkywaymultimedia.com.au
  • Twitter: @mwmdesign

The Versions

22/07 2014

dev-master

9999999-dev

Add metadata to your dataobjects via many_many_extraFields

  Sources   Download

MIT

The Requires

 

by Mellisa Hankins

silverstripe metadata many-many mwm dataobjects