sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

December 3, 2015

Hello and Welcome Back!

This week sees the release of the latest PHP 7 series pre-release PHP 7.0.0 RC8, available immediately. Also available now is PHP 5.6.16.

Even though we're heading towards the end of the year we take a look at new initiatives in the PHP, Web Dev and Open Source communities.

Also this week, our Beginners Guide to WooCommerce series continues, looking at the usage restriction of different types of online coupons.

Plus DrupalCon Asia has been announced, taking place next February in Mumbai.

And finally, the New Year will hopefully bring a New Look for phpweekly.com. We are looking for a volunteer to help us re-design our website and email. All help would be gratefully received!

Thanks for joining us this week,

Cheers
Katie and Ade

We love our sponsors. Why not try them?

 


 From our sponsors:

Meet JIRA Software JIRA is now redesigned with your software team in mind. Say hello to JIRA Software.

(ads by LaunchBit) 

Help Wanted (Design)

As you can see our design is truly awful and we have had complaints from people, quite rightly, that you can't view on mobile devices. Do any of our readers have the design skills to re-craft our site and email so that they work responsively? Unfortunately we can't pay for this as we don't make enough to cover our own time but we'd be happy to put a link to anyone who does this for us. Contact myself at [email protected] if you are potentially interested. Thanks!

Articles

Looming PHP 7 and Its Effect on WordPress
It’s no big secret now that PHP 7 is just on the horizon, and with that development comes questions on how it affects sites that run on WordPress. PHP 7 is a massive update to the server-side web development language called PHP, yet it’s also going to have an impact on any PHP-powered CMS like Drupal, Joomla and Magento.

Zend Framework 3 Update and Roadmap
In October, while at ZendCon, I presented a talk on Zend Framework 3 entitled "Components, PSR-7, and Middleware: Zend Framework 3." You can view it online, but this post discusses current status, details some decisions, and points to the work still to be done. It's a long read; grab a warm beverage, maybe some popcorn, and take your time.

Lack of Hypermedia
Ben Ramsey was recently asked what does he see as one of the biggest API problems? Here he has printed his full response.

The PHP Developer During Advent
It is the beginning of December, which is the traditional start of the advent period, the period leading up to Christmas. It has also in the past years sparked initiatives in the PHP, web development and Open Source communities. Some of those initiatives I want to mention here for everyone's enjoyment and education.

Tutorials and Talks

New MongoDB Drivers for PHP and HHVM: History
We recently released a new version of the MongoDB driver for PHP. This release is the result of nearly a year and a half work to re-engineer and rewrite the MongoDB driver. In this blog post, I will cover the back story of the how and why we undertook this effort.

Automatic PHP Regular Expression Building Part 1: Introduction to the PHP Regex Advanced Package
Regular expressions are very useful and powerful, but for many PHP developers they are also hard to understand, and hard to build to match text that applications need to process. The PHP Regex Advanced package was created to avoid the pain of dealing with regular expressions. It uses meta-matching for building regular expressions automatically for you from samples of text that your PHP applications need to match. Read this article to learn more about the PHP Advanced Regex package works with a real problem example so you can see how you can start using it in your PHP projects.

PHP w/ NGINX on Ubuntu
In this tutorial we will discuss deploying PHP web content that will be served via NGINX running on an Ubuntu server. These steps have been validated on Ubuntu 14 and 15.

How Laravel Facades Work and How to Use Them Elsewhere
The Facade pattern is a software design pattern which is often used in object oriented programming. The Facade pattern can also be used to provide a unified and well-designed API to a group of complex and poorly designed APIs. The Laravel framework has a feature similar to this pattern, also termed Facades. In this tutorial we will learn how to bring Laravel’s “Facades” to other frameworks. 

Upload Files to S3 and Generate Previews Using Laravel
This is a step by step guide on how to use Laravel to upload files to S3, and generate previews and extract metadata using FilePreviews.io. If you are already uploading files to S3 with Laravel, check out how to integrate with FilePreviews.

How We Sped Up Sylius' Behat Suite with Blackfire
Feedback time is one of the most crucial factors during development and the red - green - refactor cycle. In case of Sylius, the full build used to take two and a half hours, including 55 minutes for only PHP 5.6 jobs. Waiting so long for feedback is not an option for a project of this size, and with so many active contributors. Half a year after I had first heard of blackfire.io I decided to give it a try. It resulted in a series of pull requests that speed up Sylius test suites by 6 times, and reduces memory usage to one tenth.

Running a Magento Cluster on AWS
Magento applications running on the cloud need an infrastructure suited to their specific requirements. To avoid slow page loads and ultimately lost revenue, high availability and scalability are critical for a Magento store. This tutorial describes a setup that provides both.

The Beginners Guide to WooCommerce: Adding Coupons - Usage Restriction Part 1
In my previous two articles I discussed what coupons are, the different discount types for coupons that are offered in WooCommerce, and how online store owners can configure the General settings at the time of creating new coupons. So let's start off with the next tab in Coupons Data in the list, i.e. Usage Restriction. 

PHP Automated SMS Gateway for Request and Response Service Part 2: Automatic Responses
Once you start improving your SMS response service using the DOTGO system, the types of the messages that you want to handle get more complex, so you need a better way to organise and process those messages. Read this article to learn how to how to use the PHP DOTGo Engine package to handle more complex responses using DOTGO Web service's terminating nodes.

Stormpath PHP SDK - The GA Release
A little over 3 years ago, Stormpath introduced PHP support for User Management, and the response from the PHP community has been overwhelming and so supportive. Thank you! Since then, we have been working very hard on the PHP SDK to make it your go-to service for User Identity. Today, we are happy to announce that a stable version of the PHP SDK is being released to General Availability. Begone Beta Tag!

Suggesting Carbon with Composer – Date and Time the Right Way
Carbon is a small library for date and time manipulation in PHP. It relies on and extends the core DateTime class, adding helpful methods for a significantly saner experience. In this article, we’ll take a look at some basic usage examples, and then use it in a real project.

Magento Theme Development: Home Page, Part 1
As we set the stage in the previous bootstrapping article, now is the time to actually dive deep into the code, and start making changes. As an obvious choice, we'll start the editing process from the home page.
News and Announcements

PHP 7.0.0 RC 8 Released
The PHP development team announces the immediate availability of PHP 7.0.0 RC 8. This is the thirteenth pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

PHP 5.6.16 is Available
The PHP development team announces the immediate availability of PHP 5.6.16. Several bugs have been fixed. All PHP 5.6 users are encouraged to upgrade to this version.

WordPress 4.4 Release Candidate
The release candidate for WordPress 4.4 is now available.

Symfony 3.0.0. Released
Symfony 3.0.0 has just been released. Here is a list of the most important changes since BETA1.

First Stable Aura 3.x Releases
This week the first round of stable Aura 3.x packages were released.

MidWest PHP  - March 4-5th 2016, Minneapolis
Midwest PHP returns in March next year, to Minneapolis, at a brand new venue. In its 4th year, the conference brings all the things you have come to expect from Midwest PHP, including great speakers and fantastic talks for all skill levels. Early Bird tickets are on sale now.

DrupalCon Asia - February 18th-21st 2016, Mumbai
DrupalCon Asia is an action-packed conference of all things Drupal and features a full schedule of educational, networking and contribution opportunities. Fifty sessions have been chosen by the Track Chairs, and ticket information will be available soon.

Podcasts

Lately in PHP Podcast - PHP Articles and Book Reviews Report November 2015 Edition
This is the November edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins, to comment on the latest outstanding PHP Articles and Book Reviews published recently. They commented on articles about creating Microsoft Word DOCX documents from HTML, PHP 7 Anonymous classes and nested classes, tracking accesses to your site API using Google Analytics, and reading and writing Microsoft Excel files using PHP stream handlers. They also commented on the review of the Hack and HHVM book.

Voices of the ElePHPhant - Interview with Brian Fenton
This week Cal Evans talks to San Francisco PHP User Group member Brian Fenton.

Three Devs and a Maybe Podcast - Foo, Bar, Baz....
In this week’s show we start off the discussion with Lew’s upgraded audio and Mick’s side-project ‘Smuddle’ which hopes to help fill a void in the shopping comparison site area. We then move on to touch upon third-party email delivery solutions, task scheduling abstractions and queuing implementations. APIs and the tooling around them is next on the list, along with how the JavaScript stack can be quite intimidating when you first delve into it. Finally, we chat briefly about Hypermedia API’s and look into developing and deploying web applications outside of the PHP ecosystem.

MageTalk Magento Podcast #70 - Kind of Butch, Innit?
Kalen and Karen morph to become the Supertwins®™ and rap about Shipping, Magento 2 (**SuperTwins is a registered trademark of DC Comics America, NA)

PHP Round Table Podcast Episode 35 - Immutable PHP
Immutability plays a huge role in functional programming and many languages support immutability directly; like the read only keyword in C#. It is possible to create immutable objects in PHP, but the language lacks inherent immutable features for scalar variables and class properties. We discuss how to bring functional programming concepts to PHP and brainstorm some features that could possibly be added to future versions of PHP to offer better immutability support.

Free The Geek Podcast: Episode 10 - Talking Shop with Stephan Hochdörfer
In this episode I talk about a range of topics with Stephan Hochdörfer. I'll be updating this during the week. So stay tuned for more information.

Laravel News Podcast - LN 05: Laracon 2016 Dates Announced
Our most random episode yet. We cover the news and then it turns into a talk show. :)

Reading and Viewing

Building Digital Government Services? Here is The Proven Choice.
I had the honour of speaking about Drupal and government to a packed room at the Internetdagarna in Stockholm, in November 2015. I used the opportunity to highlight Drupal’s success in helping governmental organisations and public bodies and went into some detail about the Australian government’s Drupal-based govCMS solution, as a shining example of good policy meeting good software. In conversations following my presentations, members of the Nordic Drupal community shared thoughts and frustrations with me about public policy and open source adoption in Scandinavia. I’ll attempt to address some of those here.

50% Off “Modernizing Legacy Applications in PHP”
For Black Friday/Cyber Monday, and the rest of this week, Modernizing Legacy Applications in PHP and Solving the N+1 Problem in PHP, both by Paul Jones, are 50% off. If you’ve been waiting for a sale to get these books, now is your chance!

[LIVE Q&A] Do You Believe in The Myth of The Full Stack Developer?
In this week’s WebDev Q&A, John Morris answers questions on believing in the myth of the full stack developer, how to process checkboxes using PHP, and how to use PDO in web pages.

Framework Agnostic Packages For The Win
A presentation by Jonathan Reinink at ForumPHP 2015.

php[architect] December 2015 Edition - Winter Tooling
Not to steal Eli’s thunder, but this has year has been filled with many milestones for the PHP community. It’s a theme that echoed throughout php[world], our conference that just wrapped up. If you are a PHP developer, you can learn a lot from the Drupal, WordPress, Magento, and other applications. Likewise, venturing outside your comfort zone in Symfony, Laravel, or Zend Framework will expose you to new ideas, new solutions to similar problems, and - most importantly - new friends and collaborators. If you’re beginning to think about resolutions for the new year, I challenge you to attend new meetups near you. Go to that Laravel meetup, check out the WordPress one, or even head over to the JavaScript one near you!

What Drives the World’s Most Valuable Volunteers?
On the Grovo blog, Anthony Ferrara answers questions on PHP, open source, and engaging in meaningful work.

Jobs



Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert.  Please let me know if you are interested by emailing me at [email protected]

Interesting Projects, Tools and Libraries

php7mar
A command line utility to generate reports on existing PHP 5 code to assist developers in porting their code quickly to PHP 7.

filepreviews-php
PHP client library for the FilePreviews.io service. Generate image previews and metadata from almost any kind of file.

doozr
The lightweight PHP-Framework for high-performance websites.

collections
An incredible library that gathers the best of .NET's and Java's collections patterns and unifies it with PHP array power.

redaktilo
An easy "line manipulation" PHP lib that allows you to find, insert, replace and remove lines using an editor-like object.

raven-php
Raven is a PHP client for Sentry.

memio
A highly opinionated PHP code generator library.

phpipam 
An open-source web IP address management application, with a goal to provide light and simple IP address management application.

lazyrecord
An open-source Object-Relational Mapping (ORM) for PHP5 which allows you to easily access your database by using ActiveRecord pattern API.

daylight
Daylight is a custom components package and a bunch of other ones for Laravel 5.1 PHP framework.

timegrid
Free, open-source, self-hosted online reservation platform based on the Laravel PHP Framework.

sylius
An open source e-commerce solution for PHP, based on the Symfony2 framework.

traq
A PHP powered project manager and issue tracker featuring multiple projects, milestones, custom fields, per-project permissions, email notifications and much more.

fast-rest
A Bullhorn Platform SDK tool. Automatically generate a PHP REST API from a database schema.

pclib
Lightweight PHP framework for php 5.3+. For development of small to middle size web applications.

finite
Finite is a Simple State Machine, written in PHP. It can manage any Stateful object by defining states and transitions between these states.

composer
Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere.

nibbleblog
Easy, fast and free, a powerful engine for creating blogs. All you need is PHP to work.
Please help us by clicking to our sponsor:


 From our sponsors:
Meet JIRA Software JIRA is now redesigned with your software team in mind. Say hello to JIRA Software.

(ads by LaunchBit) 

So, how did you like this issue?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks.
Also, if you have a site or blog related to PHP then please link through to our site.

unsubscribe from this list | update subscription preferences 
 


Protect your PHP code with SourceGuardian 10. Free trial.

 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com