Dear Magnolians

we make quite heavy use of the excellent data module. However regularly we need to keep/manipulate data over the course of several requests. Now from my experience nodes do not like to be kept over more than one request:

- First of all they are not serializable
- Then, the JCR sessions only seem to live in a thread (= request) so accessing the node after the thread would also cause troubles - Finally we often need customized accessor methods, so at least extending the DefaultContent node object would be desirable

So far we've created custom beans and controllers in these cases, reading the data from the node into a bean (using the great Content2BeanUtil class), manipulating the data in the bean and then finally updating the node with the new data from the bean again.

In order to keep things as generic as possible and not having to copy pretty much the same code into different projects, I now wanted to start a CRUD module. But before I invest too much time on it, I wanted to ask the more experienced Magnolians on this list about how they are solving this problem. Maybe I'm missing something and it's all very easy?

Thanks for your input.

-will

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to