ralph schindler

Ralph Schindler's Blog: Autoloading (Revisited)

PHPDeveloper.org  Tue, 09/20/2011 - 08:18

Ralph Schindler has a new post to his today looking back at a sort of history of autoloading and some of what we've learned even in just the journey from PHP 5.0 to 5.3 (and has become best practice in the community).


 

Autoloading (Revisited) - Ralph Schindler

Planet PHP  Mon, 09/19/2011 - 14:43

Upon the arrival of PHP 5.0, the ability to autoload classes was introduced. At the time, autoloading was such a new feature, it was hardly adopted.

As such, many applications being ported from PHP4 to PHP5 still had lots of procedural code in them (code incapable of being be autoloaded) and many class files which had long ‘require_once‘ lists.


 

Zend Developer Zone: Announcing the May 2011 Zend Framework Bug-...

PHPDeveloper.org  Thu, 05/26/2011 - 08:33

This new post on the Zend Developer Zone (from Ralph Schindler) is announcing this month's Zend Framework Bug Hunt Days starting today (the 26th) and running through Saturday (the 28th).


 

Learning About Dependency Injection and PHP - Ralph Schindler

Planet PHP  Wed, 05/18/2011 - 14:25

Over the past few years, there are a few concepts and programming patterns that have muscled their way into the hearts and minds of PHP developers from other languages and programming communities.

These concepts range from the MVC application architecture as well as various modeling techniques (think ActiveRecord and Data Mapper), to a pure shift in the way we think about application architectures, like aspect-oriented programming (AoP) and event-driven programming.


 

Zend Developer Zone: Announcing The First Zend Framework Bug-Hun...

PHPDeveloper.org  Thu, 01/20/2011 - 07:18

On the Zend Developer Zone today Ralph Schindler has officially announced the first bug hunt event of 2011 for the Zend Framework happening today through the 22nd.


 

Another Unified Constructor Sighting - Paul M. Jones

Planet PHP  Wed, 01/19/2011 - 07:46

Another unified constructor sighting in the wild: Ralph Schindler – PHP Component and Library API Design Overview.


 

PHP Component and Library API Design Overview - Ralph Schindler

Planet PHP  Tue, 01/18/2011 - 16:48

There’s been lots of change in the PHP community over the past few years. PHP now has namespaces. More PHP developers are using an IDE.

More PHP developers are pulling inspiration from the Java, C#/.NET, and Ruby communities. And even more PHP developers are embracing the object-oriented and, ironically, the functional nature (closures) of PHP.

All these changes make for interesting code. What has also happened is that better and more readable code is being produced by this ever growing PHP community.


 

How long is too long (for unit test method names)? - blog.phpdev...

Planet PHP  Wed, 01/12/2011 - 13:44

As I ws working on some new development in our codebase this morning, I started updating some
unit tests to match.

I was looking through the code for one of them and came across a test name that was easily 50 characters long and
it got me wondering – what was the popular opinion on naming conventions and commenting in unit tests.

Obviously, there’s some things
(like annotations) that have to be in comments, but do you sacrifice clarity of a comment for a method name that you can basically read
like a novel?