question on nosql, and non-dynamic controllers/views

34 views
Skip to first unread message

rvanderwerf

unread,
Feb 4, 2011, 11:01:41 AM2/4/11
to Grails Dynamic Domain Class Plugin
Hi, I was thinking I could find a use for this project in this
scenario:
1) persist domain classes to a mysq DB inside traditional domain
objects, controllers, and views to edit them
2) dynamically add new db fields, but instead use the nosql MongoDB
for GORM plugin, so new fields are instantly added to the db without
having to maintain a static schema to match the dynamic domain objects
3) activate them on another node in the db cluster to start using
them.

What are the probabilities the dynamic domain class plugin will allow
this? I want to pair the dynamic domain classes with more static pre-
build (from a war) controllers and views that handle the new fields
appropriately (i.e. forms that can grow with ease).

Ryan

limcheekin

unread,
Feb 4, 2011, 11:59:05 AM2/4/11
to Grails Dynamic Domain Class Plugin
Hi Ryan,

Thanks for writing.

I not really get your question, but I can give you better context why
this plugin was created.

The plugin was intended to support relational SQL database, not NoSQL.
It is sister project of Grails Form Builder plugin at
http://code.google.com/p/grails-form-builder-plugin/, please see the
Architecture document mentioned about this plugin at
http://code.google.com/p/grails-form-builder-plugin/wiki/Architecture.

Wish to hear from you again!

Regards,
Chee Kin

rvanderwerf

unread,
Feb 7, 2011, 9:28:42 AM2/7/11
to Grails Dynamic Domain Class Plugin
Bummer. I think some noSQL compatibility this would be super useful
since you could then add domain classes and schema on the fly(and
persist!). However I did try it with MongoDB for GORM but it didn't
work.

Ryan

On Feb 4, 10:59 am, limcheekin <limchee...@vobject.com> wrote:
> Hi Ryan,
>
> Thanks for writing.
>
> I not  really get your question, but I can give you better context why
> this plugin was created.
>
> The plugin was intended to support relational SQL database, not NoSQL.
> It is sister project of Grails Form Builder plugin athttp://code.google.com/p/grails-form-builder-plugin/, please see the
> Architecture document mentioned about this plugin athttp://code.google.com/p/grails-form-builder-plugin/wiki/Architecture.

Chee Kin Lim

unread,
Feb 7, 2011, 8:43:59 PM2/7/11
to grails-dynamic-do...@googlegroups.com
I have not much experience about MongoDB and other NoSQL technologies, feel free to extend the plugin to support NoSQL.

Best regards,
Chee Kin
Reply all
Reply to author
Forward
0 new messages