News Feed
Sections




News Archive
feed this:

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

Jacob Santos' Blog:
PHP Opcode Series
March 15, 2007 @ 15:24:00

Jacob Santos has started a series of posts to his blog that focuses on the use of the opcode cache and language features in your applications.

The posts will be researched and go through multiple drafts for professionalism before posting. In this hope, it will strive to enable discussion that isn't flaming and collective of the topic at hand. For as much as I can achieve at my level of writing skill and researching the topic at hand.

He he goes through the purpose of the posts, the areas he's going to focus on, some about the theory that will be used, and the implementation and documentation he'll provide through the series.

0 comments voice your opinion now!
opcode series post purpose focus theory implementation documentation opcode series post purpose focus theory implementation documentation


KillerPHP Blog:
PHP Interfaces when and why you should use them instead of classes?
August 28, 2006 @ 07:35:56

On the KillerPHP blog today, there's this new post that asks the question of when the choice should be made to use interfaces and why they should be used instead of classes in your code. It's an article/podcast, so for the full effect, grab the audio here.

The post itself are really just notes to support the content in the podcast, but they provide plenty of information by themselves. They talk about what interfaces are, include examples of both them and a class (showing how they differ) and an example of a class using and interface (dog implementing animal).

There are also a few other notes there at the bottom mentioning the purpose of interfaces, which one to choose when, and two miscellaneous notes about how interfaces can help both you and your code.

0 comments voice your opinion now!
interface class mp3 podcast explain example purpose choice interface class mp3 podcast explain example purpose choice


Jacob Santos's Blog:
Don't Advocate Inner Classes
August 11, 2006 @ 07:38:43

Jacob Santos talks in this new blog post about something that, if added to PHP, just might be more trouble than it's worth - inner classes.

Inner Classes are contained in parent classes and offer a sort of namespace mechanism for the public and open private class data transfer for private subclasses.

The functionality is already available in other languages, but the question is whether it is needed in PHP. The short answer is no. With PHP execution model, it would further slow down and bloat PHP compilation.

He demonstrates their purpose with some simple examples but also gives the reasons why it would be a bad thing to try to include them, including the better choice of namespaces over inner classes.

0 comments voice your opinion now!
inner classes advocate purpose namespaces choice inner classes advocate purpose namespaces choice



Community Events





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


language laravel install podcast api application series developer interview list unittest community wordpress testing configure introduction code release threedevsandamaybe library

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