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!

May 28, 2015

Welcome PHP Fans,

With the release of PHP7 drawing ever nearer, we have an article comparing its performance to HHVM, publishing benchmark results of tests conducted across different content management systems. We think this is really interesting so if you have any feedback please email us.

We also bring you the second part of the YouTube Videos in PHP series, extending our application from part 1, to include search functionality.

Anthony Ferrara has written a follow up to his Tries and Lexers blog, this time concentrating on Prefix Trees and Parsers.

Plus Cal Evans chats with Joe Ferguson, one of the organisers of the MemphisPHP user group.

Also Davey Shafik has posted his presentation from the Italian PHP conference, What to Expect When You're Expecting PHP7.

And finally, DrupalCon 2015 has been announced, taking place in Barcelona in September. Get your early bird tickets now.

Have a great weekend,

Cheers
Katie and Ade

From our sponsors:


Clarify - The API for Audio & Video DataClarify - The API for Audio & Video Data

With just a few lines of code, Clarify gives you the power to search and understand any audio and video from phone calls to news broadcasts to conference presentations. Get started today.
 

Articles

PHP7: Easiest Upgrade Yet
Lorna Jane Mitchell writes "With PHP7 looking increasingly stable (relatively speaking, it's still pre-alpha so it's VERY early days and anything could happen!), and work going well on the GoPHP7-ext project to get extensions converted, I have been thinking about the migration guides we'll need to help people upgrade their existing applications. To this end, I took the simplest project I currently have and gave it a whirl on PHP7, using Rasmus' PHP7 dev box." You might be surprised at the results.

PHP, Security & PSR-9/PSR-10
Last week the PSR-9 and PSR-10 drafts were moved into master on the php-fig/standards repository, moving them along to the next step and to get the wider perspective of the main PHP-FIG group’s opinions on it. What are PSR-9 and PSR-10, you ask? Here’s a brief summary so far.

PHP Multi-Factor Authentication for Web Development
When we need to provide our users access only to certain information, or limit access to features for authorised users only, we need to use user authentication. We can never be 100% certain users are who they claim to be. However, we can get close using multiple authentication factors. Read this article to learn more about multi-factor authentication and when we should use it.

What Makes CakePHP So Popular Among Developers?
PHP undoubtedly stands as one of the most followed platforms for programming. With over 10 million websites already built on PHP it is one of the most popular web development tools, and looks for nothing less than grabbing the best deal for you with the latest web offerings. CakePHP has not just played the role of an eventful framework with modern capabilities, but has been an easy option to work with web resources, building sites for advanced user needs. Here are some of the main reasons that make CakePHP so popular among developers.

HHVM vs PHP 7 – The Competition Gets Closer!
A few years ago, engineers at Facebook went on a swashbuckling mission to rebuild the foundation of the world’s most populated social network, struggling to sustain acceptable performance levels. PHP was all the rage a decade ago when Facebook was gaining steam and pursuing a global target audience. Then they invented HipHop, a tool that converts PHP script into C++ prior to compilation and execution on Web servers. However, the HipHop beat couldn’t last long enough and Facebook needed yet another engineering breakthrough to accommodate its exploding web traffic. The team eventually developed the HipHop Virtual Machine (HHVM).

Tutorials and Talks

YouTube Videos in PHP - Categories, Search and Suggestions
In the first part, we introduced the YouTube API and built a small demo to list the most popular videos on YouTube. In this part, we will extend our application to have search functionality, and we’ll also list the available categories on YouTube to let the user narrow down their area of interest. Let’s get started.

Bootstrapping a Laravel CRUD Project
In this tutorial, we’re going to build and run a simple CRUD application from scratch using Laravel 5.

Prefix Trees and Parsers
In the last post on ircmaxell's blog, Tries and Lexers, he talked about an experiment he was doing related to parsing of JavaScript code. By the end of the post he had shifted to wanting to build a HTTP router, using the techniques that he learned. Here he continues where he left off...

Web Accessibility for Developers - Part 2
We’re at the halfway point of what hopefully has been a helpful guide for developers to make a website accessible for all visitors. (If you missed the first part of this two-part series, please click here.) In this blog, we’ll review how instructional text, navigation, and other parts of development can allow those with blindness and low vision, deafness, and other disabilities to make full use of a website.

Symfony From Scratch
In this post we’re going to build a Symfony full-stack app without Symfony Standard, which is a great way to learn a bit more about Symfony.

Programming With Yii2: User Access Controls
In this Programming With Yii2 series, I'm guiding readers in use of the newly upgraded Yii2 Framework for PHP. In this tutorial, I'm going to show you how to implement access controls to ensure that only the right users can access the parts of our application that we wish them to. For these examples, we'll continue to imagine we're building a framework for posting simple status updates, e.g. our own mini-Twitter.

Create a Google Maps Alternative with PHP and MySQL Using the Leaflet Library
Leaflet is a JavaScript library that became popular for creating mobile friendly Web map applications. It does not depend on Google, so you do not need to pay fees as you may need to when you use Google Maps. Read this tutorial to learn how to use Leaflet library with PHP and MySQL to create an alternative to Google Maps, and implement it on your site.

Displaying Stream Progress in PHP
With PHP you can, next to handling HTTP requests, invoke scripts from the command line. For a typical web application this could be used to run database migrations, insert data into the database from fixtures or seeders, repetitive tasks run by cron, clear the cache, general admin stuff… basically anything that can be automated.

Definitive Guide On Creating Custom Providers For Laravel OAuth2 Authorisation
This article will guide you through the process of creating custom providers for OAuth2 authorisation, using PHP framework Laravel 5 and it’s first-party package Socialite.

Mastering Composer – Tips and Tricks
Composer has revolutionised package management in PHP. It upped the reusability game and helped PHP developers all over the world generate framework agnostic, fully shareable code. But few people ever go beyond the basics, so this post will cover some useful tips and tricks.
News and Announcements

Northeast PHP Conference - August 22nd-23rd 2015, Boston
The Northeast PHP Conference is a community conference intended for networking and collaboration in the developer community. Two days of talks ranging from starting work in the industry to expanding your skill set as an experienced user, there are sessions for everyone! Early bird tickets are available now.

PHP Conference Asia - September 24-25th 2015, Singapore
A new conference has been announced, the PHP Conference Asia. With Rasmus Lerdorf already confirmed, the Call for Papers is now open.

DrupalCon - September 21st-25th 2015, Barcelona
DrupalCon brings together thousands of people from across the globe who use, develop, design, and support the Drupal platform. It is an action-packed week of all things Drupal and features a full schedule of educational, networking, and contribution opportunities. Early bird tickets are available now.

DevConf - June 19th 2015, Moscow
A two-day professional web developers conference and work shops day, featuring presentations from skilled professionals in MySQL, PostgreSQL, PHP, Python, Ruby and Javascript. Tickets are available now.

International PHP Conference Spring Edition - June 7-10th 2015, Berlin
The International PHP Conference was the world's first PHP conference and stands since more than a decade for top-notch pragmatic expertise in PHP and web technologies. At the IPC, internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Tickets are still available.

Podcasts

dev/hell Podcast Episode 61 - Double Vision
Two Chrises? God help us. Our guest this episode is Chris Fidao, creator of the ultra-successful and awesome Servers For Hackers website and e-book. We talk about info products (because Chris has to talk about his money making schemes all the time), what devs should know about devops, Nginx vs. Apache vs. Your Mom, and old tech that keeps on keeping on. Also an update of Gary Hockin’s ongoing embezzlement campaign.

Voices of the ElePHPant - Interview with Joe Ferguson
This week Cal Evans talks to PHP developer, and one of the organisers of the MemphisPHP user group, Joe Ferguson.

Three Devs and a Maybe Podcast - Design, Mobile and Education with Justin DeLucia
In this weeks show we are lucky to have good friend of the podcast, Justin DeLucia, back on. Although he is sadly only able to stay around for half the episode, we are able to touch upon some very interesting topics in this time. Initially starting off with discussion on baby sleeping patterns, we move on to the role of the designer and how it is slowly changing. We follow this up with Justin's thoughts on animation within web design, and the trends he sees forming in 2015. This leads us to bring up the topic of mobile traffic, and how more and more users are relying on only mobile experiences. Finally, we discuss Michael's experiences throughout his first two years into a graduate masters degree, and how above all else learning takes precedence over grades.

Sound of Symfony Podcast: Episode 8 - Concerning Command Buses
In this episode we talk to Matthias Noback about command-query separation, command buses, hexagonal architecture, REST and his library SimpleBus.

The Changelog Podcast #156: Modern WordPress using Bedrock and Sage with Ben Word and Scott Walkinshaw
In this episode we talk about a more modern WordPress stack, Bedrock and Sage, dependency management, WordPress deployment, smarter development setup with tools like Ansible and Vagrant, and so much more. If you’re someone who wants to use WordPress in more modern ways, this show is for you.

MageTalk Magento Podcast #39 - Imagine Recap Part Deux
Kalen and Sander reflect back on Imagine 2015.

PHP Round Table Podcast Episode 20: A Loosely Coupled Mashup @ php[tek]
A special live mashup recording with Loosely Coupled from php[tek] in Chicago, IL. We talk #phptek, Open Source, and eat some PSR-7 cake.

Reading and Viewing

My Failed Attempts at Soft Skills Talks - Ben Ramsey
During the Development Hell podcast recording at php[tek] (not yet released at the time of this writing), Chris and Ed discussed soft skills talks with Yitzchok Willroth (@coderabbi). Soft skills are those skills that aren’t necessarily technical in nature - things like interpersonal communication, time management, managing teams, leadership, etc. They’re critical to our jobs, but we often see them as secondary to our technical skills. In fact, they are not soft at all - they’re rather difficult to master, which is why it’s important that we talk about them at conferences and write about them on our blogs and in our trade journals. At the podcast, I tried to elucidate a sentiment that’s been on my mind for some time, but it came out as rambling nonsense. I’m sorry. Here’s what I was trying to get at.

[SLIDES] What to Expect When You're Expecting: PHP 7
Read Davey Shafik's presentation from the Italian PHP Conference earlier this month.

WordPress 4.x Complete Paperback (by Karol Król, published 29th April 2015)
Build a WordPress site quickly and effectively, create impressive WordPress themes and plugins, and expand the features of WordPress to create non-blogging websites.

Practical Apache, PHP-FPM & Nginx Reverse Proxy: How to Build a Secure, Fast and Powerful Webserver from Scratch (by Adrian Ling, published 3rd May 2015)
This is the 3rd book in the Practical Guide Series for Linux System Administrators. It will help you understand what is Apache Handler, what is PHP SAPI - e.g. DSO, mod_suPHP, mod_fastcgi, etc and how all these pieces fit together.

Jobs

To post a job advert please contact [email protected]
 

Interesting Projects, Tools and Libraries

rock-db
Object Relational Mapping (ORM) for PHP.

classyfile
Provides a way to break PHP files containing multiple classes and creates single files per class.

ptvirtualize
Virtualised Development Environment Management in PHP.

clitools
CliTools for Docker, PHP and MySQL development.

styleci
The PHP coding style continuous integration service.

bart
A collection of our critical PHP tools.

async-sockets
Async sockets is the library for asynchronous work with sockets based on PHP streams.

php-debughelper
Helpers for PHP debugging.

dcrypt
A petite library of encryption functionality for PHP.

jolinotif
JoliNotif is a PHP library to send notifications to your desktop directly from your script.

simple-flash
Very simple Flash messages for PHP projects.

codebird-php
A twitter library in PHP.

snipe-it
A free open source IT asset/license management system built in PHP on Laravel 4.2 and Bootstrap 3.

eris
Eris is a porting of QuickCheck and property-based testing tools to the PHP and PHPUnit ecosystem.

phpscheduler
A scheduler/task runner for PHP with Plugable Backends.

beanstalk_console
Admin console for Beanstalk queue server.
Please help us by clicking to our sponsor:


 From our sponsors:
Easy File Uploads Connect, Process, and Store from 20+ Cloud Drive Services.
(Sponsor this newsletter

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