News Feed
Sections




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

Brandon Savage:
Private Methods Considered Harmful ("Do This, Not That" Excerpt)
December 10, 2012 @ 11: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.

0 comments voice your opinion now!
book excerpt private method dothisnotthat introduction bestpractices


blog comments powered by Disqus

Similar Posts

DevShed: Generating Outputs from MySQL with Static Members and Methods in PHP 5

Raphael Stolt's Blog: Zend Framework in Action Pre-review

TutsWall.com: CodeIgniter from scratch - Introduction & Installation

PHPBuilder: Pro PHP Security / Preventing SQL Injection, Part 2

Brandon Savage's Blog: Book Review: The Grumpy Programmerís Guide To Building Testable Applications


Community Events

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


framework laravel voicesoftheelephpant laravel5 podcast release opinion extension version interview library series video introduction development community php7 api unittest language

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