|Hello PHP fans!
The last ever 5.3 release has been announced by the PHP development team. PHP 5.3.29 is available immediately and marks the end of the life of the PHP 5.3 series. Also available now is PHP 5.6.0RC4.
As a consequence, PHP 5.3 release manager Johannes Schluter talks us through it's history, starting from back in 2005.
Symfony Live London has been announced, taking place in the heart of the city at the end of next month. A two day event, the first is a workshop day and the second the main conference, aimed at novices and experts alike. Get your tickets now.
Also, a brand new conference takes place this November in the Washington, DC area. The php[world] Conference, created by the team at php[architect] magazine, is aimed at everybody, from core PHP developers and heavy framework users to WordPress, Drupal or Magento developers. Early bird tickets are currently available.
Finally, Cal Evans from the Voices of the ElePHPant team chats with Tess Flynn and Larry Garfield, two well known members of the Drupal community.
Hope you enjoy this weeks edition,
Help us keep PHP Weekly going
Please help us to keep doing this each week by visiting our sponsor:
From our sponsors:
Introduction to DooPHP
DooPHP is a high performance open source PHP framework. It is also a rapid development framework for PHP application development. It uses common design patterns like MVC and ORM. The framework helps to write less code for performing tasks and also reduce development costs. This article will explore DooPHP features, installation and implementation.
Aug 14: PHP 5.3 - Thanks for all the Fish
As the final release for PHP 5.3 came out last week, PHP 5.3 release manager Jonannes Schluter looks back at it's history, starting back in 2005.
End of Life of PEAR Channel
With many popular PHP projects recently announcing that they will no longer support PEAR as an installation method, Amazon Web Services has been very interested in the discussion in the community on PEAR channel support.
Nine Reasons to Consider eZ Publish CMS for Your Next Web Project
With the recent refactoring of eZ Publish content management system as a full stack Symfony application, it should be interesting for a broader PHP public to consider it as a content management solution.
Tutorials and Talks
How to Build Restful APIs using PHP and Laravel
While designing a good RESTful API takes a lot of thought and planning, thanks to application frameworks that have been developed with REST in mind, the nuts and bolts of implementation has never been easier. This how-to explores RESTful API implementation using Laravel, an object-oriented MVC framework for PHP that is fast becoming one of the language's most popular frameworks.
How to Spruce Up your Evolved PHP Application - Part 2
The first part of this blog covered the data side of the tuning process on a homegrown PHP application Spelix: database issues, caching on both the server and the client. This part concentrates more on technical topics: network traffic, code caching and session handling.
PHP-FPM sockets with Apache 2.4 and mod_proxy_fcgi on Ubuntu 14.04 LTS
Apache running mod_php has been the status quo for years. This embeds a PHP interpreter in each Apache process, sharing the interpreter between many virtual hosts. However, the major problem is that a single virtual host can bring it all crashing down!
Data Validation in Laravel: The Right Way – Custom Validators
In the previous part we learned how to validate data in Laravel using its in-built data validation package and how to abstract out our data validation to entity specific services to make the code reusable on the principles of DRY. Now, we can easily create a validation service for each entity in our app with its own respective validation rules, inject it wherever we want to validate data and easily fetch and display errors etc. But what if we want more?
Handling AngularJS POST requests in Symfony
The team at Qandidate.com started using AngularJS last year with great success. They also use Symfony 2 for their back end APIs. Unfortunately AngularJS and Symfony do not speak the same language out-of-the-box. This post explains how to automatically decode JSON requests+ to be used with Symfony's Request object, using their symfony-json-request-transformer library (or class actually).
Use Behat to Track Down PHP Notices before they Take Over your Drupal Site Forever
Behat is one of the more popular testing frameworks in the Drupal community at the moment, for various reasons. One of these reasons is the useful Behat Drupal Extension (link is external) that provides a DrupalContext class that can be extended to get a lot of Drupal specific functionality in your FeatureContext right off the bat. In this post, I'm going to show you how to make Behat aware of any PHP errors that are logged to the watchdog table during each scenario that it runs.
Getting Started With The Coherence Memcached Adaptor
Coherence 12c (12.1.3) adds support for Memcached clients to directly store data in a Coherence cluster using the Binary Memcached protocol. This post outlines how to configure the Coherence Memcached Adaptor and includes a simple PHP example to show how Memecached clients can connect to a Coherence cluster.
Running Multiple Versions of PHP
When Lorna Jane Mitchell advises people about upgrading their PHP version, she says things like "just run your test suite with the new version" "just grab the new version and try your site with the built-in webserver". A couple of people recently have asked for more detail on how to actually achieve these things, so here's a quick primer on getting new PHP without touching anything to do with your existing PHP installation.
Create RSS Feed dynamically using PHP and MySQL
This article explains how to create an RSS feed dynamically in the same way you create sitemap dynamically, using PHP and MySQL.
PINQ – Querify your Datasets – Introduction
You may have heard of LINQ (Language-Integrated Query), a set of features introduced in Visual Studio 2008 that extends powerful query capabilities to the language syntax of C# and Visual Basic. PINQ (PHP Integrated Query) is based off the .NET’s Linq, and unifies querying across arrays/iterators and external data sources, in a single readable and concise fluent API. In this two part article, we will demonstrate how to use PINQ to mimic a “faceted” search.
How to Block Referrer Spam Traffic
Referrer spam has always been a nuisance, especially if you have some traffic restrictions on your hosting. The referral traffic robs your site from the precious bandwidth allocated (also known as Bandwidth Theft). Also with a large number of spam traffic, legitimate users will be greeted with a slow and sometimes non responsive site.
Vagrantfile Explained: Setting Up and Provisioning with Shell
In the introduction, we showed you how to create a Vagrant base box, installing the latest Ubuntu 14.04 LTS in the virtual machine to use it as the guest operating system. In this part you will learn how to setup a development environment using Vagrant, which you can use and reuse in your development.
|News and Announcements
Last 5.3 Release Ever Available: PHP 5.3 29 - 5.3 now EOL
The PHP development team announces the immediate availability of PHP 5.3.29. This release marks the end of life of the PHP 5.3 series. Future releases of this series are not planned. All PHP 5.3 users are encouraged to upgrade to the current stable version of PHP 5.5 or previous stable version of PHP 5.4, which are supported till at least 2016 and 2015 respectively.
PHP 5.6.0RC4 is Available
The PHP development team announces the immediate availability of the fourth and latest release candidate of PHP 5.6.0. As we entered the feature freeze with beta1, this is a bugfix-only release. All users of PHP are encouraged to test this version carefully, and report any bugs in the bug tracking system.
WordPress 4.0 Beta 4
The fourth and likely final beta for WordPress 4.0 is now available. More than 250 changes have been made in the past month.
Symfony Live - 25-26th September 2014, London
SensioLabs UK is proud to announce the third edition of the exceptionally successful SymfonyLive London. The two day conference takes place in the heart of London, and will bring together the sharpest minds in open source enterprise software development. Whether you're a Symfony aficionado or a novice eager to learn more, this event will have something for everyone. Tickets are on sale now.
PHP South Africa Conference - 2nd-4th October 2014, Cape Town
PHP South Africa is aimed at proficient developers, new developers and people who care about developers. Our events are all about working together to inspire each other to greater heights in our skill and passion for coding. Early bird tickets are still available.
PHP Conference Argentina - 7-9th November 2014, Buenos Aires
The largest developer conference in Argentina, this 3 day event is filled with talks by highly recognised speakers, and networking opportunities. Tickets are available now, with opportunities for a 50% discount.
php[world] Conference - November 10-14th 2014, Washington DC
The team at php[architect] magazine is excited to bring you a brand new conference in the Washington, DC area. They wanted to create a conference that appeals to the all the different communities that exist around the PHP ecosystem. Whether you are a core PHP developer, a heavy framework user or a WordPress, Drupal, or Magento developer … this conference will be for you! Early bird tickets are available now.
Sound of Symfony Podcast: Episode Three - Developer Experience
In this much belated episode we talk about developer experience and getting new coders into your open source project. The episode features not one, but two interviews. First up we have a short talk with Ryan Weaver about the DX initiative and the DX hack day, and afterwards we talk to Cathy Theys from Drupal about Drupal's mentoring efforts and how you can make your project more welcoming to new developers.
Voices of the ElePHPant - Interview with Tess Flynn and Larry Garfield
Cal Evans and the team talk to two well known members of the Drupal community.
Three Devs and a Maybe Podcast - The First All Episode Quiz
Laravel IO Podcast - Episode 16
With Taylor Otwell, Jeffrey Way and Shawn McCool. Laravel News, Laracon News, Laravel.IO News, PHPSpec, and Southern Boys Being Polite.
Joomla 3 SEO and Performance (by Simon Kloostra, published 17th July 2014)
Attracting many visitors on a fast-loading Joomla website is the main goal we are trying to achieve in this book. While we will discuss some off-site SEO topics, we will mainly focus on on-site SEO.
Laravel Design Patterns and Best Practices (by Arda Kilicdaqi and H.Ibrahim Yilmaz, published 25th July 2014)
This book is a practical guide packed with clear examples that will help you get to grips with the best practices in Laravel design patterns, to create advanced web applications.
DeskPRO is hiring a QA Engineer with Codeception Experience. (London or Remote / Perm or Contract)
Join our team and lead the QA effort at DeskPRO. Your initial focus will be building a large acceptance test framework in codeception.
SHAREIGHT Full Stack Developer - London
SHAREIGHT are looking to add talented full-stack developers to their team. To gain a place in our team you should have solid experience building and maintaining complex software systems. Developers who apply creativity and passion to solve human problems with software and technology will fit right in with us. We work in an Agile way and value team players who can collaborate with others to deliver elegant solutions.
*CMNTY is Looking for a Symfony2 PHP Developer!
CMNTY Corporation develops online communities. Our SaaS solutions will belong to your main task areas. You will be responsible for the architecture, planning and development of our products. You will implement new features, find and fix bugs and optimize code. Visit our Facebook page to learn more.
Developer for Performance Telecom
Performance Telecom require a developer, based near Durham, UK, to work on an exciting Customer Satisfaction system. This role would suit someone with experience as well as someone who is willing to learn new 'stuff'. Contact firstname.lastname@example.org with your CV/Resume and for more information. This is NOT a remote position.
DeskPRO is hiring Full Stack PHP Developer (Symfony/AngularJS) in London or Remote.
Join our small London based team (excellent remote workers considered as well) building a large PHP application where your work will have immediate impact on our millions of end users. Lots of interesting projects coming up including adding elasticsearch and memcached to our stack, writing a DeskPRO app for telephony based upon Twilio, integrating our software with other companies APIs, adding functionality to our phonegap mobile app as well as continuing the development of our core software platform.
Interesting Projects, Tools and Libraries
PHP development toolkit for Yoozi RD team.
An SMS sender made for Laravel.
PHP Libraries for interaction with LaunchKey.
The salvation of WordPress.
PHP PEG Parser Generator.
A micro framework for PHP.
Admin package for Laravel 4.
An updated PHP client for the HubSpot API.
PHP client for Paynova's API.
Dependency Container for PHP.
Databowl PHP Library.
Micro CMS for PHP 5.3 based on Silex framework.
PHP 5.4+ EventStore Implementation.
Common tools for PHP.
Generic PHP Helper Classes & Functions.
PHP Framework providing core MVC app functionality.
A modern WordPress stack.
So, how did you like this issue?