 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Ben Ramsey: The Era of PHP Testing
by Chris Cornutt November 22, 2012 @ 10:24:16
Ben Ramsey has a new post to his site where he reviews the "eras" of PHP that it's gone through in the past few years and ends up with what he calls the "Era of Testing" - the recent strong push that's being made to promote and encourage unit testing in PHP applications.
Over the past decade, the PHP community has progressed through a handful of distinct eras that have each been marked by a focus on specific best practices. This is most evident in the types of talks presented at conferences and user groups and in the articles published by php|architect magazine, PHPDeveloper.org, and the blogs of those whose feeds are distributed through Planet PHP. In thinking through this, I've come up with the following eras I think we, the PHP community, have had over the last ten years. These are in a general order, but eras overlap, and some have lasted longer than others, so there's not a distinct beginning or end to each.
He briefly covers five different areas that PHP has evolved in over the past years: the shift to OOP, web application security, framework use, coding standards/organization and the push for better testing.
With the coming of the testing era, I'm seeing a lot of maturity in our community. The code we write is getting better. We're following standards and best practices. We're implementing a lot of good design principles. [...] I think the decade since PHP 5 was released has brought us to a great place as a community. [...] With each new era, we can't forget what we've learned, though. We must continue teaching and revising these best practices as we learn more.
voice your opinion now!
testing era language evolution phase topics community
Slava Vishnyakov: PHP the Nice Way (Ever-evolving Huge Retailer Website Story)
by Chris Cornutt November 21, 2012 @ 12:10:00
Slava Vishnyakov has an excellent (and long) post today to his site detailing some of his travels through his years of PHP development and some of the things he's learned along the way:
I was learning on my own, so I studied PHP from resources such as php.net. It's a great resource when you consider abundance of the information, but it's terrible, when you look at the quality of advise. I'll start explaining how things evolved in my head in a hope that people will catch up where they are now to understand some things further. By no means this is a "definitive" guide to PHP. Just a few tricks that might help you save your precious time and nerves.
The post includes a lot of helpful hints covering things like the inevitable evolution of the codebase and the growing pains he worked though, the use of static methods, autoloading, bad variable naming, unit testing and MVC restructuring.
voice your opinion now!
experience code evolution development opinion
Michael Kimsal's Blog: PHP, Groovy and language evolution
by Chris Cornutt May 29, 2008 @ 12:52:07
In a new post Michael Kimsal does a good job comparing the rise of PHP5 (and what it brought with it) to his language of choice these days - Groovy.
I remember when PHP5 first came out having 'discussions' with a number of people who insisted that PHP5 was way better than 4. [...] Basically, intentions were made clearer with things like "public protected private" (PPP),but I have not yet seen any web project get done faster or dare I say even much *better* due to those sorts of things. [...] This isn't specifically saying PPP is necessarily bad, but that PHP could have addressed the issue in a fashion more suitable to dynamic languages. Keep reading for an example.
His comparison is to how Groovy handles properties in a class - everything is private unless declared otherwise. This could be ported (somewhat) over to PHP and would eliminate the need to search&replace all over the code for the right variables.
voice your opinion now!
groovy java language evolution php5 private public protected
Philip Olson's Blog: A brief history of PHP logos
by Chris Cornutt February 25, 2008 @ 08:44:00
In a new blog entry Philip Olson takes a look back at the "brief history" of the PHP logo and how its evolved over the years the language has been around.
PHP 4.0.0 added main/logo.h which contains the logos themselves (as text (a bunch of numbers (magic))) so I checked out every version of this file from CVS, parsed them to create the images, sorted by version/size, then wrote this blog post.
When the language started out there wasn't much in the way of a logo until PHP3 came around. Philip shows some of these early prototypes (most of which look nothing like the familiar purple oval of today). Things evolved with PHP4 and jokes were even played with the area inside the shape - everything from developers and dogs to bunnies showed up at different times of year or with special URLs.
voice your opinion now!
logo php4 php3 purple oval evolution joke
Nexen.net: PHP Statistics for January 2008
by Chris Cornutt February 13, 2008 @ 15:11:34
Damien Seguy has posted this month's (well, January 2008's) PHP statistics to the Nexen.net website. Highlights from this edition include:
- PHP 5 displays strong growth, almost at 30%
- PHP 5.2 will be more popular than PHP 4.3 before April
- PHP 5.2.5 is already the dominating version of PHP 5
- PHP 4.4.8 not so popular
You can get the full details on this month's statistics from the full list of the statistics and the evolution posted on Nexen.
voice your opinion now!
statistics php4 php5 evolution detail
|
Community Events
Don't see your event here? Let us know!
|