News Feed
Sections




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

Webgeekly.com:
20 Tips you need to learn to become a better PHP Programmer
December 14, 2010 @ 12:56:50

If you're one of the developers that have the basics of the language down and want to improve your skills to the next level, you'd do well to check out this post from Webgeekly.com packed with little helpful hints you can use to make your life easier.

PHP is a very versatile programming language that can achieve the same objective in multiple ways. You can read more about that in my 'The Art of Programming' post. Below are a few tips I've picked up from past projects that can improve your code readability and maintainability and make you a neater, more organized PHP programmer.

There's lots of useful hints included - most of them are relatively basic, but they can even be helpful as reminders for those seasoned developers:

  • Separate Configuration Files
  • Use Indentation and Spacing
  • Give your Variables Meaningful Names
  • Use Ternary Operators
  • Use Assignment Operators
  • Use Objects instead of Functions
  • Aim for Loose Coupling, Strong Cohesion
0 comments voice your opinion now!
hints tips better programmer opinion


blog comments powered by Disqus

Similar Posts

Freek Lijten's Blog: The real problem of the hash table dos attack

Padraic Brady's Blog: Namespaces (or Yet Another Pointless Opinion Piece)

Kamran Usman's Blog: Zend is going the Wrong Way I think

Stas Malyshev' Blog: On PHP features

SitePoint PHP Blog: Easy Wins For More Performant PHP


Community Events





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


release podcast framework introduction unittest community code experience threedevsandamaybe language interview opinion testing refactor symfony2 series laravel install developer list

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