Re: [PHP] Re: php style guides

2005-01-12 Thread Tom
Something I've laboured over for years, in various languages (same issue in perl, ASP, JSP...). My personal preference depends on how much of what is being dumped. If it's a really simple page, then do it in line, I tend to indent it as a seperate tree to the php code (ie there are two staggers)

Re: [PHP] Re: php style guides

2005-01-12 Thread Jochem Maas
Jason Barnett wrote: Tim Burgan wrote: Hi everyone, What 'rules' do you follow about styling/formatting your PHP code? Do you follow a guide that is available online? Please do not flame me here, different strokes for different folks! :-) ... And that's fine. The main thing is: aim for consist

[PHP] Re: php style guides

2005-01-12 Thread Jason Barnett
Tim Burgan wrote: Hi everyone, What 'rules' do you follow about styling/formatting your PHP code? Do you follow a guide that is available online? Please do not flame me here, different strokes for different folks! If you're entirely new to coding in PHP ... and you don't have a codebase already

[PHP] Re: php style guides

2005-01-12 Thread Matthew Weier O'Phinney
* Tim Burgan <[EMAIL PROTECTED]>: > What 'rules' do you follow about styling/formatting your PHP code? Do > you follow a guide that is available online? PEAR standards are fairly well-accepted: http://pear.php.net/manual/en/standards.php > I generally have my own preference for formatting like >