Forums / Developer / eZ and Oracle

eZ and Oracle

Author Message

Marko Žmak

Wednesday 02 June 2010 3:42:04 am

In my quest for the (holly grail) answer to the question "eZ Publish or Drupal?" I came accross this article:

http://www.oracle.com/technology/pub/articles/pedros-drupal.html

So I'm interested how would eZ deal with the issues described there, especially those pointed out in the "Where Are We Now?" chapter.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Gaetano Giunta

Wednesday 02 June 2010 1:51:54 pm

Last time I checked (around 2007 iirc), drupal had no db-access-layer at all. There was some chat going on about adding oracle support, but it was not a trivial task. The blog linked from the article you mention is dead...

On the eZ side:

  • we have a full developed db access layer - on projects.ez.no a partner has published even a mssql connector!
  • we have a fully working oracle connector, and we have had for a long time
  • we have one of the most talented oracle coders in the php community, who matured experience participating to the adodb project, too (in case you do not get the joke: it's me!)
  • we have paying customers on Oracle

Or where you asking for real technical aspects of creating a cms that is portable between dbs? That would take a much longer answer... The starting point to gleam some info would be to look into the code of the ezoracle extension. But I might have laying around a slide set used to teach oracle-style to mysql coders if you are interested.

Principal Consultant International Business
Member of the Community Project Board

Chen Xiongjie

Thursday 03 June 2010 12:43:22 am

LOL.:)

"

we have one of the most talented oracle coders in the php community, who matured experience participating to the adodb project, too (in case you do not get the joke: it's me!)

"

In addition, eZ has Oracle unit test support from this last alpha version(4.4.0 alpha2).

--

Chen

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

Bertrand Dunogier

Thursday 03 June 2010 1:35:52 am

While it is true that our oracle implementation is now well tested and supported, I think some of the issues raised in the linked article can't be ditched just like that.

The platform-neutral SQL part is one we have already discussed many times. Having an SQL language abstraction is one thing, data models and how each database is best used indeed is a complex matter. While our implementation works, and works fine, there is no doubt that the database schema isn't really optimized for Oracle. RDBMS "custom" features are mentioned here, and the abstraction indeed doesn't let us benefit from most of these specificities.

Regarding the database structure and oracle specific implementations, I think Gaetano has covered this up pretty correctly, thanks to his huge experience with oracle. There probably is room for improvement, but I think we're on the right track here.

Any comments on these specific points ?

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Yannick Modah Gouez

Monday 30 May 2011 6:42:24 am

"

In addition, eZ has Oracle unit test support from this last alpha version(4.4.0 alpha2).

"

I never heard of that feature, could you please tell us more about it ?

eZ debug

Timing: Jan 17 2025 23:36:21
Script start
Timing: Jan 17 2025 23:36:21
Module start 'content'
Timing: Jan 17 2025 23:36:22
Module end 'content'
Timing: Jan 17 2025 23:36:23
Script end

Main resources:

Total runtime1.4651 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.5391180.8516
Module start 'content' 0.00531.2404 768.3906697.3984
Module end 'content' 1.24570.2193 1,465.7891337.0859
Script end 1.4650  1,802.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2920210.0002
Check MTime0.00150.1021210.0001
Mysql Total
Database connection0.00070.048210.0007
Mysqli_queries1.376893.97242060.0067
Looping result0.00350.23582040.0000
Template Total1.437498.120.7187
Template load0.00180.121220.0009
Template processing1.435697.987420.7178
Template load and register function0.00010.008710.0001
states
state_id_array0.00080.051710.0008
state_identifier_array0.00310.208920.0015
Override
Cache load0.00160.1069350.0000
Sytem overhead
Fetch class attribute can translate value0.00170.116360.0003
Fetch class attribute name0.00100.071290.0001
XML
Image XML parsing0.00390.265360.0006
class_abstraction
Instantiating content class attribute0.00000.000890.0000
General
dbfile0.00540.3662470.0001
String conversion0.00000.000330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs