PHP coding standards and Eclipse PDT

PHP coding standards and Eclipse PDT

Tuesday 01 January 2008 3:36:19 am - 2 replies

Author Message

Bartek Modzelewski

Tuesday 01 January 2008 10:50:44 am

Hello Piotrek,

Check out this doc: http://ez.no/services/eznetwork/development_guidelines
In points 4.3 and 4.4 you will find coding rules for extensions created for eZ Network.
I think the best idea is just to keep brackets even for single line if statements, not only because of Eclipse formating tools.

Bartek

P.S. Happy new 2008 year ! One of my wishes for this year is growing popularity of eZ Publish in Poland :)

Baobaz
http://www.baobaz.com

Piotrek Karaƛ

Tuesday 01 January 2008 11:30:27 am

Bartek,

Thanks a lot! I wonder if this is exactly up to date, though, as there's still Doxygen and I thought there was a decision to switch to PHPDoc... ;)
But this will be helpful, anyways!

The formatting tools are a serious reason to reconsider coding standards, but even without that problem I like to keep full 'bracketing' of my code, for a number of reasons...

As to the eZ in Poland - yup, same here ;)

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

You must be logged in to post messages in this topic!

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