Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions

DataObject Manger in SS3


Reply

4 Posts   2251 Views

Avatar
Futureweb

12 January 2012 at 5:14pm (Last edited: 13 January 2012 6:21am), Community Member, 233 Posts

I might be being a bit hasty here, but I'm playing with the latest pre release of SS version 3. I can define has_many, has_one relations as before and it sets up the database ok. However, I'm wondering how best to manage the data in the CMS

i usually the dataobjectmanager plugin in ss2, but i think this no longer works in ss3. Using a complextablefield doesn't really work either. I've read about the DataGrid, but i can't see any examples of how to use it.

does any one know anything about this yet?

cheers

Avatar
Sticks

12 January 2012 at 6:25pm (Last edited: 13 January 2012 6:21am), Community Member, 29 Posts

It looks like Grid Field is replacing both DataObject Manager and Complex Table Field in SS3.

http://doc.silverstripe.org/sapphire/en/trunk/topics/grid-field/

I haven't had a chance to try it out myself yet so let us know how you go!

Avatar
swaiba

13 January 2012 at 6:20am (Last edited: 13 January 2012 6:21am), Forum Moderator, 1796 Posts

Ingo said, "I don't know what Uncle cheese plans are for this", because when CTF goes this will mean DOM will not work.

Avatar
UncleCheese

17 January 2012 at 4:03am 4085 Posts

Yeah, I have no intentions of bringing DOM into SS 3.0. The whole point of DOM was to provide an alternative to CTF, and now that SilverStripe has put together a robust entity manager, DOM will have no utility in 3.0.

---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com