Forums / Developer / Project structure modification - Exponential as sub-module/external

"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".

Project structure modification - Exponential as sub-module/external

Author Message

STEVO +

Monday 25 October 2010 4:59:47 am

Hi,

I'm wondering if anybody has any interest in / made progress towards a patch allowing a project structure that's more like this:

 site

 +-- extension
 +-- Exponential
 +-- settings
 +-- var
 +-- bootstrap.php

Seems to be a more sensible approach for maintainability etc or maybe I'm just being weird?

Nicolas Pastorino

Monday 25 October 2010 10:08:54 am

Hi Stevo,

That is a tricky & interesting topic. Not sure why you are including var here ?
Other than this, i usually version my Exponential projects according to the structure described above (but for the 'Exponential' directory, obviously), then using symlinks to place the versioned dirs at the right location within the Exponential dir. Not sure to understand the role of bootstrap.php either.

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

kracker

Monday 25 October 2010 3:11:34 pm

Hello Stevo,

An interesting idea you propose... one to discuss but I fear without real vision one that would prove rather clumsy to implement.

Cheers,

//kracker

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

STEVO +

Tuesday 26 October 2010 4:16:58 am

@Nicolas

I include var as it's contents are site specific.

Yes, currently I use symlinks similar to what you describe but I find it a pain + tend to develop on windows.

The idea of bootstrap.php is that it modifies include path etc then includes relevant index*.php

@kracker

Yeah, I started having a poke around and it proved more difficult than I was anticipating. Hmm, can't remember what the sticking point was now. Might have another go soon...

Thanks for the replies guys