On 1 Jul 2004, at 14:30, Peter Velychko wrote:

Hello Upayavira,

Thank you for your reply.

That could work, but it would be working round, rather than working
with, Cocoon. You would also be buffering your output, which is best
avoided.
Yes, this is workaround. But why whole DOM tree caching is so bad idea?

off the top of my head :

1) it makes lazy-initialisation useless, because I assume everything would always get read from the DB regardless of whether you need it in the view-layer or not

2) I (for one) have data models that if they are not lazy initialised would actually load every record in the database, because everything is ultimately linked.

3) you could end up with circular dependencies from (2) that make an infinitely large DOM

4) there are much better ways of doing it IMHO ;)

So it would depend on your data model as to how well this worked.

HTH

regards Jeremy

--------------------------------------------------------

                  If email from this address is not signed
                                IT IS NOT FROM ME

                        Always check the label, folks !!!!!
--------------------------------------------------------


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to