Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Are we following ZF coding standards
 
Phliplip
Member
 
Total Posts:  46
Joined:  2007-08-31
Copenhagen, Denmark
 

Hi all,

Just to clear something out.

Is Magento following the ZF coding standards?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Phliplip
Member
 
Total Posts:  46
Joined:  2007-08-31
Copenhagen, Denmark
 

If yes, is there any permitted exceptions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

With few exceptions, such as:

* short open tags are allowed in templates.
* concatenation dots are not enclosed in spaces.
* indentation for for long lines hard wraps should be always one soft tab forward.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Phliplip
Member
 
Total Posts:  46
Joined:  2007-08-31
Copenhagen, Denmark
 

Thanks for clearifying this, because i was wondering about those short open tags smile

Please see my post in Feedback forum, where i ask for a .htaccess in bootstrap package to set flag for short open tags.. i have done it my self, but for other people this would probably help!

/philip

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top