News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DesignLuv.com:
A style guide for PHP developers
August 09, 2010 @ 09:13:08

On DesignLuv.com today they've posted what they call a style guide for PHP developers - some types on writing well-styled, easy to read code.

If you're a new developer and are trying to hone in on your coding style, maybe try giving the following a go. These are simply some conventional formatting methods that are generally appreciated and supported by PHP developers and will improve the overall readability of your code.

They talk about a few different subjects - variable names, class and method naming, bracket spacing, default arguments, constants, loops and a lot more. It's good to see them including things like commenting and file name suggestions.

1 comment voice your opinion now!
style guide developer formatting suggestion


blog comments powered by Disqus

Similar Posts

Job Posting: Emma Seeks PHP & Javascript Developer (Nashville, TN)

7PHP.com: Interview with Ian Barber, Developer Advocate with Google+

Job Posting: JKPorto Inc (Recruiter) Seeks Lead PHP Developer (New York, NY)

Pierre-Alain Joye's Blog: Prominent PHP Users (developers), do your homework or be humble/keep quiet

Northclick Blog: Getting the PHP fatal errors


Community Events





Don't see your event here?
Let us know!


configure list interview composer version community language framework unittest conference threedevsandamaybe symfony laravel release voicesoftheelephpant series api podcast introduction opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework