Quantcast
Channel: PHPDeveloper.org
Browsing all 13 articles
Browse latest View live

NETTUTS.com: Deciphering Magic Methods in PHP

Whether you're new to the language or to the more advanced features of it, you might find the magic methods a bit confusing at first. Thankfully, NETTUTS.com is here to help with this new tutorial on...

View Article



Jose da Silva's Blog: Revisiting PHP 5.3 __invoke magic method

In a new post to his blog Jose da Silva briefly looks at a feature that was introduced in the PHP 5.3.x series of the language - the __invoke magic method. PHP version 5.3 introduced a new magic...

View Article

Matthew Weier O'Phinney's Blog: Dependency Injection: An analogy

For those still grappling with the concept of dependency injection, Matthew Weier O'Phinney has posted an analogy that could help make the concept a bit more clear. I've been working on a proposal for...

View Article

Web Developer Juice: PHP Magic Functions: Best Part of Object Oriented PHP -...

On the Web Developer Juice blog there's a recent post, the first part in a series looking at one of the more handy features of the recent releases of PHP - the magic functions (some which were added...

View Article

Web Developer Juice: PHP Magic Functions: Best Part of Object Oriented PHP -...

Web Developer Juice has posted the second part of their series looking at some of the "magic functions" that PHP has to offer - special functions that do automagic things in your scripts and classes....

View Article


Bence Eros' Blog: Getters, setters, performance

Bence Eros has put together a new post to his blog looking at some of the results he's found from performance testing the use of getters and setters in PHP. The usage of getter and setter methods...

View Article

Refulz.com: The __toString() Method - Objects as Strings

On the Refulz.com blog there's a recent post introducing the __toString() magic method in PHP. This handy method allows you to define how to return an object when it's referenced as a string. We...

View Article

Pim Elshoff's Blog: In favour of typing

Pim Elshoff has a new post to his blog that shares his preference on typing (keystrokes, not variables) in applications (hint: he likes it): We sometimes conceive of ideas that are arduous to express...

View Article


Michael Maclean: Why one-line installers are a bad idea

There's a feature that's usage has been showing up more and more in software projects (both open source and not) that allows you to install their system with a single line command, usually involving...

View Article


Lorna Mitchell: 9 Magic Methods in PHP

Lorna Mitchell has a new post showing nine of the magic methods that are included in PHP by default (like __construct, __get and __set) including a few you may not have used before. The "magic"...

View Article

Russell Walker: Public properties, getters and setters, or magic?

Russell Walker has a recent post to his site looking at different ways to work with class properties including using them as public properties or using getters and setters. Opinion seems to be divided...

View Article

MaltBlue.com: Do We Use Magic Methods or Not?

In the latest post to his MaltBlue.com site Matthew Setter takes a look at magic methods. He tries to answer a few basic questions about them - are they worth using and can you truly test effectively...

View Article

NetTuts.com: Refactoring Legacy Code: Part 2 - Magic Strings & Constants

NetTuts.com has posted the second part of their "Refactoring Legacy Code" series today continuing on from their beginning of the series. They continue the refactor of their "trivia" application. Old...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images