Using ezc PersistentObject in eZ Publish extension

Using ezc PersistentObject in eZ Publish extension

Tuesday 13 October 2009 2:36:41 am - 4 replies

Modified on Tuesday 13 October 2009 2:37:33 am by Nabil Imran

Author Message

André R.

Tuesday 13 October 2009 4:49:32 am

eZ Publish does not use ezcPersistentObject yet, it uses eZPersistentObject the eZ Publish equivalent. Search for " extends eZPersistentObject" to see some 110+ examples of use.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Nabil Imran

Tuesday 13 October 2009 5:45:19 am

Hmm ok..

So can you in short state what is the main difference between ezc PersistenObject and eZ Publish equivalent?

You said it doesn't use it "YET". is that planned?. Does that mean ezc library is more powerful and recommendet to use?

I'm new to both and for me it seems, that I should go for the ezc library. Or would that cause problems incompatibilities with the eZ Publish lib?

Thank you for some more information here, I'll also do more research on my own in mean time.

Piotrek Karaś

Tuesday 13 October 2009 8:49:32 am

So can you in short state what is the main difference between ezc PersistenObject and eZ Publish equivalent?
You said it doesn't use it "YET". is that planned?. Does that mean ezc library is more powerful and recommendet to use?
I'm new to both and for me it seems, that I should go for the ezc library. Or would that cause problems incompatibilities with the eZ Publish lib?

eZ Components are independent application components that stand a project separate from eZ Publish for now, but are likely to become the building foundation of future releases of eZ Publish if it gets partially/fully re-factored. Currently eZ Publish natively uses eZPersistentObject and it may be more fully integrated with the system (for example support for function attributes which can be used when accessing the objects/variables in the template layer). I would expect eZC version to be more interesting as it fully incorporates PHP5 object oriented architecture (vs. a rather basic OO in current eZP implementation).

eZ Publish does not use ezcPersistentObject yet, it uses eZPersistentObject the eZ Publish equivalent.

It would be possible to use it for custom extension, wouldn't it? I would only worry about sharing/duplicating database connection...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Nabil Imran

Wednesday 14 October 2009 12:39:45 am

I would only worry about sharing/duplicating database connection... 

Thats exactly what I thought. I don't even know if that is possible. Next to the side effects it might cause...
I'm still investigating on that..

Does anyone know more about that?.

Thank you!

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.