[TYPO3-dev] [TYPO3-core] New TYPO3 Coding Guidelines

Peter Russ peter.russ at 4many.net
Thu Jul 9 23:23:57 CEST 2009


--- Original Nachricht ---
Absender:   Vladimir Podkovanov
Datum:       09.07.2009 22:29:
>> Sure, it is right if many editors does not hightlight vars in string. 
>> However in Zend Studio IMHO more readable when var inside string as I 
>> can see all SQL request and don't try to concat parts in my mind in 
>> order to see whole request ;)
>>
> 
> Example:
> 
> "where login = '$login'"
> vs
> 'where login = \'' . $login . '\''
> 
vs
'where login = "'.$login.'"'

Vladimir: it's decided. See next release of CGL ;-)

Regs. Peter-

-- 
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ




More information about the TYPO3-dev mailing list