News Feed
Sections




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

That Podcast:
Episode 14 The one with some accountability
January 26, 2015 @ 09:32:20

The latest episode of That Podcast with PHP community member hosts Beau Simensen and Dave Marshall has been posted - Episode #14: The One with Some Accountability.

Beau and Dave welcome in the new year with discussions on their plans for 2015, including health and fitness, martial arts, managing finances, building reputation, the sculpin community, Beau and Rebekah's new #ossart project and various other things.

Other topics (and people) mentioned include:

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 of the show. If you enjoy it, be sure to subscribe to their feed to get the latest episodes as they're released.

0 comments voice your opinion now!
thatpodcast ep14 accountability podcast beausimenson davemarhsall

Link: http://thatpodcast.io/episodes/episode-14-the-one-with-some-accountability/

Community News:
Packagist Latest Releases for 01.26.2015
January 26, 2015 @ 08:00:46

Recent releases from the Packagist:
0 comments voice your opinion now!



Community News:
Latest PEAR Releases for 01.26.2015
January 26, 2015 @ 07:01:49

Latest PEAR Releases:
0 comments voice your opinion now!



Community News:
Packagist Latest Releases for 01.25.2015
January 25, 2015 @ 08:03:14

Recent releases from the Packagist:

Community News:
Packagist Latest Releases for 01.24.2015
January 24, 2015 @ 08:07:22

Recent releases from the Packagist:
0 comments voice your opinion now!



NetTuts.com:
Design Patterns The Decorator Pattern
January 23, 2015 @ 12:08:21

The NetTuts.com site has continued their series looking at design patterns and how they can be used in PHP. In this new post they focus in on the Decorator pattern, most commonly used to add functionality to a existing class (to "decorate" it).

Earlier in this series we explored both the facade and adapter design patterns in this series. Using facade, we can simplify large systems, and by implementing adapter we can stay safe while working with external API and classes. Now we are going to cover the decorator design pattern, which also falls under the category of structural patterns. We can use the decorator pattern when we just want to give some added responsibility to our base class. This design pattern is a great alternative to a sub‑classing feature for extending functionality with some added advantages.

They start with a problem that needs solving - sending an email with additional content not defined in the parent class. They show how to do something similar with child classes, but quickly find a limitation. Instead, they show how to use decorator classes and a simple interface to provide interchangeable classes that augment the contents of the email body as passed in via constructor injection.

0 comments voice your opinion now!
designpattern decorator tutorial series email body content

Link: http://code.tutsplus.com/tutorials/design-patterns-the-decorator-pattern--cms-22641

Zend Framework Blog:
Announcing the Zend Framework 3 Roadmap
January 23, 2015 @ 11:57:10

The Zend Framework project has a new post to their blog today officially announcing the roadmap for version three of the popular PHP framework.

The most often-asked questions we get around the Zend Framework project include: Where is Zend Framework heading? When will Zend Framework 3 be released? What changes and enhancements should we expect? Since inception, our goal for Zend Framework has been to further the art of PHP and ensure our users concentrate on the business logic of their application rather than wasting time reinventing the plumbing. The plumbing is Zend Framework's job.

We have built an incredibly powerful framework with Zend Framework 2 that met its key goals of flexibility, consistency and testability. However, the world has changed since ZF2 was released, and the project needs to move with the times. With that in mind, we have gathered feedback from our users and core contributors to map the path forward. Zend Framework 3 will be an evolution from ZF2, concentrating on simplicity, reusability, and performance.

The post lists out a few of the things involved in this roadmap including separating components into individual, versioned projects and embracing the concept and functionality of middleware. If you'd like to get involved or just find out about the latest on this upcoming version, be sure you either join the zf-contributors mailing list or come to the #zftalk.dev channel on the Freenode IRC network.

0 comments voice your opinion now!
zendframework zendframework3 release roadmap

Link: http://framework.zend.com/blog/announcing-the-zend-framework-3-roadmap.html

Stephan Hochdörfer:
Defining Phing Tasks in PSR-0 style
January 23, 2015 @ 10:42:49

In his latest post Stephan Hochdörfer shows you how to define Phing tasks according to the PSR-0 autoloading format. Phing is a PHP-based automation tool that uses an XML configuration to execute a series of tasks.

Before anybody complains: I know that "as of 2014-10-21 PSR-0 has been marked as deprecated. PSR-4 is now recommended as an alternative." - Anyway I still think this little gem makes sense to be shared because a lot of people are probably not aware of it. I recently found out by accident that it is possible pass a task name in PSR-0 style to the "taskdef" task. In the old days you had to use the Java-like dot-style notation like this and also define the classpath to make sure the class could be loaded correct! This is ok if the task resides in the same project. If the task is located in a dependent package loaded via Composer this can get ugly.

The post is quick but provides two very handy code examples, one showing the old "dot notation" version and the other showing how to make use of the autoloader. The trick is in the classname value and using the full namespace/class name rather than the dot notation.

0 comments voice your opinion now!
phing build task psr0 classname path autoload

Link: http://blog.bitexpert.de/blog/defining-phing-tasks-in-psr-0-style/

PHP.net:
Release of PHP 5.4.37, 5.5.21 & 5.6.5
January 23, 2015 @ 10:03:03

The PHP.net has posted the latest releases of the language for all of the major series - PHP 5.4, 5.5 and 5.6. Each release fixes several bugs including a few security related issues:

It is strongly encouraged that you upgrade to the latest release for the major version you're using to prevent issues around these vulnerabilities. You can find these latest releases on the main downloads page or windows.php.net for the Windows binaries.

0 comments voice your opinion now!
language release cve bugfix security

Link: http://php.net/archive/2015.php#id2015-01-22-3

Three Devs & A Maybe Podcast:
Concurrency, Strict type-hinting and PHP 7 with Joe Watkins
January 23, 2015 @ 09:29:02

In the latest Three Devs & A Maybe podcast the hosts Michael Budd, Fraser Hart, Lewis Cains and Edd Mann are joined by Joe Watkins aka krakjoe for an update on all things PHP.

This week we are lucky to be joined by Joe Watkins, for a general catch-up on a host of PHP-related topics. We start the show off talking about his newly created blog and what drew him to start writing. Following this, we touch upon his first proposed talk on 'Parallel PHP' - hoping to resolve some of the confusion around concurrent terminology and patterns. We then mention his experience looking at YouTube Vitess (for MySQL scaling), and the pros and cons of the team deciding to use Go. His work on strict parameter type-hints is then discussed, along with how the idea has changed over time to be a little less strict. We then highlight the awesome work that Nikic has done for the PHP community, along with his most recent article on the improvements made to PHP's hash-table implementation. PHP 7 and the proposed 5.7 release are then touched upon, followed by the speedy Unicode String implementation. Finally, we discuss the common perception of fear around compiling PHP from source, along with the differences between static and shared libraries.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 of the show and listening at your leisure. If you enjoy the episode, be sure to subscribe to their feed to get the latest episodes as they're released.

0 comments voice your opinion now!
threedevsandamaybe podcast ep55 joewatkins

Link: http://threedevsandamaybe.com/concurrency-strict-type-hinting-and-php-7-with-joe-watkins/


Community Events





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


community list interview voicesoftheelephpant unittest configure release introduction series version extension opinion install symfony language api laravel composer podcast conference

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