Forums / Developer / eZpublish Coding standards up to date, Where ?

eZpublish Coding standards up to date, Where ?

Author Message

Jean-Yves Zinsou

Thursday 20 August 2009 7:53:21 am

The coding standards i found are :
- http://ez.no/ezpublish/documentation/development/standards/php
- http://ezcomponents.org/contributing/coding_standards#id8

One is marked as no more maintained, the other one is specific to ezcomponents...
Which one should i use ?

Thanx

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Heath

Thursday 20 August 2009 3:52:25 pm

The answer is simple.

If you are creating an ezpublish extension / site use the ezpublish conventions as they are directly applicable.

However if you are creating an ezcomponent itself you will want to use the ezcomponents conventions as they are directly applicable.

Updated: We've added a related answer in eZpedia [0]

Cheers,
Heath

[0] http://ezpedia.org/en/ez/coding_standards

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Jean-Yves Zinsou

Friday 21 August 2009 1:21:05 am

Thanks a lot, Heath...

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr