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

Brandon Savage:
"Do This, Not That" Now Available!
Dec 20, 2012 @ 16:50:36

Brandon Savage has officially released his book, "Do This, Not That" - a book targeted at beginners to the PHP language, trying to teach them best practices for some of the most common situations they might come across.

Too many books on best practices read like a manual. They are dry, boring and cover topics that you don’t care about. "Do This, Not That" is different. A collection of essays, it highlights those areas for which best practices are either not well known or not well defined. It offers clear solutions that will be easy to implement. I’ve taken the time to research and identify what I feel are the best practices, and condensed it into a two hour read that will leave you feeling empowered, not exhausted.

If this sounds interesting to you, you can pick up a copy on the official site for about $30 USD and, if you're more of a try-before-you-buy sort, you can read a sample chapter covering type hinting.

tagged: dothisnotthat book published language bestpractices introduction

Link:

Brandon Savage:
Private Methods Considered Harmful ("Do This, Not That" Excerpt)
Dec 10, 2012 @ 17:26:42

A while back Brandon Savage mentioned a book he was writing ("Do This, Not That") to help PHP developers learn some of the best practices associated with the language. Today he's posted an excerpt from the book for your enjoyment.

This great series of highly focused e-books will offer tips, tricks and best practices focused on core areas of PHP development, including databases, security, filtering, regular expressions, configuration and more. Since it will be a series of tightly targeted solutions, developers will be able to pick all, some or just one of the offerings that solves their specific problem(s).

This excerpt looks at private method use in your applications and why they could be considered "evil" if not used correctly.

tagged: book excerpt private method dothisnotthat introduction bestpractices

Link:


Trending Topics: