News Feed
Sections




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

Gentoo Blog:
PHP's Simplicity Can Confuse Folks Looking For Complexity
August 05, 2006 @ 09:04:33

On the Gentoo blog today, there's a note for those just getting into PHP - a warning of sorts for them to not read too much into the language.

Stuart Herbert advises those coming into PHP, both from other languages and as a first language, to not expect things to be overly complex. PHP is all about simplicity, and he reminds readers with a few points about objects in PHP.

His three points are:

  • Classes and inheritence are not new to PHP 5
  • Managing state between pages is very straight forward in PHP
  • Folks who follow design patterns religiously are missing the point

And that's the beauty of PHP over many of the other tools that you have. If you want to write a system that's entirely object-oriented, you can. But you don't have to. You can create and use objects where they make sense, and you can continue to use global functions where they make sense. PHP's neutral philosophy gives you the freedom to just get on with it, and do what's right for your needs, your skills, and your tastes.
1 comment voice your opinion now!
php5 objects simplicity complexity confuse php5 objects simplicity complexity confuse


blog comments powered by Disqus

Similar Posts

Shantanu Goel's Blog: Migrating From PHP4 To PHP5: Solving WP-Cache (and maybe other) Issues

Matthew Turland's Blog: Stop Asking, Start Helping

Nexen.net: PHP statistics for September 2007

Padraic Brady's Blog: The Mockery: An Independent Mock Object and Stub Framework for PHP5

Nexen.net: PHP 4 and PHP 5 are in a boat : from will to reality


Community Events





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


interview symfony opinion language release deployment unittest framework bugfix package community introduction zendserver library install api podcast laravel series voicesoftheelephpant

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