|Thanks for joining us at phpweekly.com :)
ZendCon is in its 10th year, taking place in Santa Clara, CA, at the end of next month. Four days packed with tutorials and sessions, you can still register for early bird tickets until Sep 22nd.
With the recent release of the highly anticipated PHP 5.6.0, not only do we take a look at the latest version changes, we also take a look back at the history of PHP 5.4, which is on its way to retirement.
Lorna Mitchell talks us through a quick guide to compiling extensions, while Simon Holywell's book on Functional Programming is now available for purchase.
Also the Three Devs and a Maybe team have released their latest podcast, talking all things PHP 7.
And finally, this week Cal Evans chats with Drupal developer Chris Weber.
Enjoy your read and please spread the word about your favourite PHP weekly,
Help us keep PHP Weekly going
Please help us to keep doing this each week by visiting our sponsor:
From our sponsors:
PHP 5.6.0. Released
PHP 5.6.0, considered a very important cornerstone by many, was released last week. This article recaps the changes this version brings, and what happens next.
Engine Yard Is Sponsoring Composer
Open source is a big deal at Engine Yard. Originally founded as a Ruby company, most of their early work was in the Ruby community. Since acquiring Orchestra in 2011, they have been investing in the PHP community and are continually on the look out for ways to give back. In this article the team shares the latest news on this front.
Welcoming New Authors – July, August 2014
The sitepoint.com team has welcomed ten new authors to their ranks in the past two months. Learn all about them here.
PHP 5.4 – Looking Back
With 5.6.0 having been recently released, and 5.4 branch nearing its well-earned retirement in security-fixes-only status, this post looks back at how 5.4 has been doing so far.
Over a year ago, Anthony Ferrara introduced PHPPHP to the world. It was the first implementation of the PHP language written in PHP itself. But PHPPHP suffered from a few problems which relegated it to toy status (such as performance). In this article he introduces us to another implementation of PHP, written in PHP. But this one is no toy. This one, in his eyes, is fun...
Common Mistakes in PHP Development
PHP is the most popular open source scripting language out there. It can run on various platforms, such as Windows, Linux, Unix, Mac OS X, etc. and it is compatible with all servers, Apache, IIS, etc. As it's so easy to learn and very user friendly, there are more chances to make mistakes. This article looks at some of the most common.
Tutorials and Talks
Build a New App with Laravel and EmberJS in Vagrant
Nowadays, everything is turning into a web application. Even simple websites have a mobile app relying on a REST API. In this series, we are going to create a photo uploading app.
Compiling PHP Extensions
Lorna Jane Mitchell has written a quick and easy how-to guide to compiling extensions.
How to Install Drupal 7.x with Apache2 + MySQL 5.5 + PHP 5.5 on Ubuntu Server 14.04 LTS
Drupal is open source software, written in PHP, and maintained and developed by a community of 721,200+ users and developers. This tutorial is a basic step-by-step guide on how to install Drupal 7.x with Apache2 + MySQL 5.5 + PHP 5.5 on Ubuntu Server 14.04 LTS.
PHP Codes in Making Simple Slot Machine Games
The PHP language is very convenient to use when creating browser games. Today, top gaming companies use PHP for the creation of their titles. Whether you want to create a very simple game of poker, or a complex online RPG browser game, PHP is extremely easy to use.
Fixing the WordPress White Screen of Death
The well known White Screen of Death is one of the most common, yet most frustrating things that can occur on your WordPress site. This tutorial looks at the various things that cause it, and some steps that you can take not only to fix it, but to make sure it doesn't happen again.
PHP Streaming and Output Buffering Explained
It is possible to have streaming in PHP applications with little effort, but in order to get this right we have to become familiar with some underlying concepts. In this article, we will see what streaming is, what output_buffering is and how to get our desired result under different webservers (Apache, Nginx) and PHP configurations (CGI, mod_php, FastCGI).
Create a Custom Theme With OpenCart: Introduction
This series of articles will explain how to build a custom theme with the popular open source e-commerce framework OpenCart. In this first part, we will learn basic structure of the OpenCart theme.
Fine Tuning Drupal Themes with Patterns, Arg and Types
In this article, we’ll discuss how you can leverage various Drupal API functions to achieve more fine grained theming. We’ll cover template preprocessing and alter hooks using path patterns, types and args(). We’ll use the arg() function which returns parts of a current Drupal URL path and some pattern matching for instances when you want to match a pattern in a URL. We’ll also take a look at creating a variable for an array of content types.
|News and Announcements
ZendCon - October 27-30th 2014, Santa Clara CA
It’s time to celebrate ZendCon’s 10th year of global community-building powered by PHP! From your wake-up call until the moment you hit the sack, you can fill your days and evenings with sessions, tutorials and networking time. ZendCon is the place to catch up on news, float new ideas and share coding challenges with developers from around the globe. If a tutorial is part of your game-plan, look for our pre-conference lineup. If you’re keen to talk about a topic that’s not on the agenda, don’t miss the UnConference. Got questions for Zend? Fire away at our annual Meet-the-Team panel. And yes, there is still such a thing as a free lunch at ZendCon – also a great time to share your ideas and brainstorm with other PHP community members.
Nomad PHP US - September 18th 2014 20:00 CDT
Secure Password Hashing: It’s Not Just For Experts Anymore, presented by Jeremy Kendall. Password hashing has long been a realm of mystery and a giant pain point for many developers who are not already experts in cryptography. Thankfully, some recent changes in the PHP language and recent open source contributions have made hashing headaches a thing of the past. In this talk we’ll learn about some password hashing pitfalls, the tiniest bit of theory as to why secure hashing is important, and then we’ll dig into some code that will have you hashing passwords securely in no time.
Nomad PHP EU - September 18th 2014 20:00 CEST
Surprise! It’s PHP :), presented by Sharon Lee Levy. I explore various questions pertaining to a medley of topics. Initially the talk focuses on some undocumented fun to be had with identifiers. Attention next shifts to PHP’s comma operator and considers whether it even merits that designation. The main topic, which follows, derives from an example of some very questionable PHP logic. To avoid making a hasty, superficial judgment will entail discovering the hidden story behind PHP’s truth values. This segment also peers into PHP’s internal workings in a friendly fashion for non-C programmers. Novices as well as senior developers are all welcome; there’s plenty of code for everyone! Come learn about what surprises await you.
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 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! Registration is open now.
Madison PHP Conference - September 13th 2014, Wisconsin
Register now for this one day, three-track conference that focuses on PHP and related web technologies. This event is organised by Madison PHP and is designed to offer something to attendees at all skill levels. It will be a day of networking, learning, sharing and great fun! Pre-registration tickets are still available.
Functional Programming in PHP, by Simon Holywell
If you’re a programmer who wants less bugs and easier testing then this is the functional introduction for you. Throughout the chapters you are gently led through the various functional constructs available in and with PHP. This book provides a way for developers to gain an understanding of functional programming in their own language. Purchase your copy now.
Three Devs and a Maybe Podcast: News on PHP 7 and How PHP Internally Works
In this week's show we are very lucky to have Joe Watkins on again to discuss all things PHP 7. Starting off with the decisions behind calling the next release 7, we delve into the reasons for 6 being abandoned. Moving on from this we look into what PHP 7 currently has scheduled to offer, including the PHPNG patch, an AST and maybe Joe's own Unicode String class. We then discuss how a PHP script is internally lexed, parsed/compiled and cached - including how a JIT would speed up certain use-cases. Finally we touch upon the much requested String type hinting and how a solution similar to Java's could be implemented with minimal hassle.
Voices of the ElePHPant - Interview with Chris Weber
Cal Evans talks to Drupal site builder and developer Chris Weber.
PHP Cookbook: Solutions & Examples for PHP Programmers Paperback (by David Sklar and Adam Trachtenberg, published 25th July 2014)
Want to understand a certain PHP programming technique? Or learn how to accomplish a particular task? This cookbook is the first place to look. With more than 350 code-rich recipes revised for PHP 5.4 and 5.5, this third edition provides updated solutions for generating dynamic web content.
PHP Sessions Quick Start - PHP Basic Recipe Book 4 (by Onaje Johnston, published 9th August 2014)
A quick introduction to using sessions with PHP. How to start a session, store and retrieve session data, change session values, remove session values and delete a session. Also how to send data to the browser and start a session using output buffering.
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
A simple but sturdy support framework.
A PSR-compliant caching library for holding objects in nested pools with scripting ability.
The Playground Design Module dedicated to theme management.
A tool for debugging failing PHP serialize() calls.
Simple wrapper class around PHP's SoapClient class.
Middleware for PHP.
ORM framework for Nette\Database.
Converts a string to a slug. Includes integrations for Symfony, Silex and Twig.
A graph library for PHP.
PHP 5 Google Authenticator.
FirePHP Support for Laravel 4.
A PHP implementation of the Interval Tree data structure.
PHP library for interacting with the Billomat REST API.
Visual Framework in PHP.
Fast and simple validation for PHP.
Storing CakePHP log into database.
PHP library for different apis.
So, how did you like this issue?