eZ on Windows and COM object intergration

Author Message

Bruce Morrison

Tuesday 31 May 2005 12:53:12 am

Hi all

We've been asked to provide a quoute for a systems that would intergrate eZ publish with an existing 3rd party application. Access to the 3rd party application would be via an API acessed via COM.

Can anyone comment on PHP/COM intergration? How stable is support under PHP 4? (It looks as if a lot of work has been done in PHP 5)

Anyone running production eZ publish sites under windows? Good, bad, ugly?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

kracker (the)

Tuesday 31 May 2005 1:06:17 am

Bruce,

That's a really unique idea; I like unique :) <grin />
I'm not much more help in this regard other though. :|

I look forward to hearing more from others with more eZ publish + Windows specific implementations, development and deployments in this regard.

//kracker

<i>FSF : RMS : What Should it Mean to Promote Free Software</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Paul Forsyth

Tuesday 31 May 2005 1:24:03 am

Hi Bruce,

The doc on php.net looks to be quite meaty:

http://uk.php.net/manual/en/ref.com.php

paul

Bruce Morrison

Tuesday 31 May 2005 2:52:38 am

Thanks Paul

Have looked at the php docs so I know it's possible "in theory". Looks like there is quite a bit of work been done in PHP 5 <i>"Starting with PHP 5, this extension (and this documentation) was rewritten from scratch and much of the old confusing and bogus cruft has be removed.</i>

I suspect I'll have to look outside this community for some frist hand experience.

What is interesting is that there is an off the self module for a commericial CMS that does the integration, but the client is keen on the eZ capabilities & interface. I suspect price may have something to do with it.

Kracker: I admire your enthusiasm but more often than not your posts add nothing but noise. Maybe you need to think about whether or not your posts are helping to find the needle or just making the haystack bigger.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Paul Forsyth

Tuesday 31 May 2005 5:47:34 am

I saw the php5 improvements in that doc but it looked to have enough information for php4 for it to be of use.

COM and all other types of integration are rather challenging. As long as you have an interface from php and an api with which to call it all you need then are a few module/views from ez to activate the functions.

But implementing it, writing C++ dlls and other such mechanisms is another ball game altogether. We almost had to implement something like this recently but didnt in the end.

I can see why there are third-party tools for this ;)

If you have some C++ people it shouldnt be too hard to develop a small interface for your needs.

paul

Craig Hirsch

Tuesday 31 May 2005 8:30:46 am

Can't answer your question about COM, but for what it's worth, we've been running several relatively high traffic eZ sites on Windows 2000 since 2003. Performance is identical to eZ on Linux, and stability is very good.

Probably the only issues involved in setting up a serious Windows-based eZ site are development issues -- i.e., finding ways to do the things that are easier to do in a Posix environment (such as cron jobs).

--
chirsch{AT}gmail{d.t}com

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

eZ debug

Timing: Jan 18 2025 22:30:12
Script start
Timing: Jan 18 2025 22:30:12
Module start 'layout'
Timing: Jan 18 2025 22:30:12
Module start 'content'
Timing: Jan 18 2025 22:30:12
Module end 'content'
Timing: Jan 18 2025 22:30:12
Script end

Main resources:

Total runtime0.8076 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.1797152.6406
Module start 'layout' 0.00640.0038 741.820339.4766
Module start 'content' 0.01020.7960 781.2969657.7813
Module end 'content' 0.80620.0014 1,439.078116.1250
Script end 0.8076  1,455.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4208160.0002
Check MTime0.00140.1793160.0001
Mysql Total
Database connection0.00090.107710.0009
Mysqli_queries0.741491.7938700.0106
Looping result0.00070.0899680.0000
Template Total0.771795.520.3858
Template load0.00210.254820.0010
Template processing0.769695.291120.3848
Template load and register function0.00020.022310.0002
states
state_id_array0.00150.184110.0015
state_identifier_array0.00110.137820.0006
Override
Cache load0.00180.2226430.0000
Sytem overhead
Fetch class attribute can translate value0.00070.086640.0002
Fetch class attribute name0.00180.221490.0002
XML
Image XML parsing0.00190.234940.0005
class_abstraction
Instantiating content class attribute0.00000.0022100.0000
General
dbfile0.00110.1396300.0000
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs