Forums / General / Writing a module in C++ ?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Writing a module in C++ ?

Author Message

Nicolas R

Wednesday 30 September 2009 6:50:26 am

Hello,

Is it possible to write a module in C++ ? If so, how can I do it ?

What must I put in function_definition.php to link my module to Exponential ?

Thank you.

Nicolas

Jérôme Renard

Wednesday 30 September 2009 7:39:38 am

Hi Nicolas,

I would not do it that way, because it is not possible.

What I would do is the following :

1. write a pecl module with all the business logic you need (you can write pecl modules in C++ if I am not mistaken, Derick might confirm that)

2. use that module into a custom Exponential module so you call your pecl functions directly from your module by using the PHP language naturally.

Cheers :)