Project structure modification - ezpublish 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
 +-- ezpublish
 +-- 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 eZ Publish projects according to the structure described above (but for the 'ezpublish' directory, obviously), then using symlinks to place the versioned dirs at the right location within the ezpublish 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 (the)

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

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