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

PHPUgly Podcast:
Episode 24 - The Value of Work
Aug 29, 2016 @ 12:13:20

The PHPUgly podcast has posted their latest episode as recorded on August 18th, 2016 - Episode #24. Join hosts Eric Van Johnson and Tom Rideout as they talk about:

  • The TV show "Mr Robot"
  • the SDPHP and SDLUG Meetups
  • the "FIG Follies" articles
  • the idea of "Being asked to work for free"

You can listen to this latest episode either using the in-page audio player or over on SoundCloud. If you enjoy the show, be sure to subscribe to their feed and follow them on Twitter for updates on when the latest shows are released.

tagged: phpugly podcast ep24 value work ericvanjohnson tomrideout

Link: https://soundcloud.com/phpugly/episode24

Symfony Finland:
How to implement AMP (Accelerated Mobile Pages) on the eZ Platform CMS
Aug 29, 2016 @ 11:44:58

On the Symfony Finland site they've posted an introductory article showing you how to implement accelerated mobile pages (AMP) in an application based on the ez Platform CMS.

Accelerated Mobile Pages is an initiative from Google to speed up mobile browsing. AMP is an open standard based on HTML. It enforces performance by limiting functionality and includes remote caching.

Given Google's continuing dominance search both publishers and CMS vendors need to take AMP into account. In this article you'll learn the basics of how to implement AMP with eZ Platform CMS and Symfony.

The post starts out with a bit of background about AMP and how it relates back to the main content of the site. With that knowledge in place the author moves into the code, showing how to use annotations to create the route, building and returning the template including the meta and link tags required to link this AMP version back to the main content page.

tagged: tutorial amp mobile pages accelerated symfony twig meta link

Link: https://www.symfony.fi/entry/how-to-implement-amp-accelerated-mobile-pages-ez-platform-cms

Master Zend Framework:
The 3-Step Guide to Downloading Files in Zend Expressive
Aug 29, 2016 @ 10:37:44

On the Master Zend Framework site there's a tutorial posted showing you how to set up file download functionality in a Zend Expressive-based application.

A common requirement of web-based applications is to upload and download files. But, out of the box, there’s no simple way to download them in Zend Expressive. This tutorial shows you how - step-by-step.

Recently, I was asked on Twitter by @dgoosens, about how to download files using Zend Expressive. The timing was pretty good, as I’d done a simple implementation in a recent Zend Expressive project. So I knocked up a quick example and he, @acelayaa, and I talked it over, making various changes and suggestions along the way.

So, In today’s tutorial, I’m going to walk through a 3-step process for downloading files when using Zend Expressive.

He breaks the process down into three parts:

    1. The Download Functionality
    1. Using the Download Method
    1. Running the Application & Downloading the File

He includes code or commands for each step, showing you exactly how to set up this simple piece of functionality. Additionally it's implemented as a (mostly) self-contained method using the Stream handler to set the required headers and body.

tagged: zendframework zendexpressive file download tutorial stream

Link: http://www.masterzendframework.com/downloading-files-in-zend-expressive/?platform=hootsuite

/Dev/Hell Podcast:
Episode 81: It Feels Good to Be a D-List Internet Superstar
Aug 29, 2016 @ 09:53:19

The /Dev/Hell podcast, hosted by PHP community members Ed Finkler and Chris Hartjes, has posted their latest episode - Episode #81: It Feels Good to Be a D-List Internet Superstar.

This time around Chris and Ed attempt to shame you with their D-lister activities and ability to purchase things they want but don’t need.

We cover PyOhio, the long-anticipated php|cruise, and some useful gadgets they’ve incorporated into their work flows.

You can listen to their latest episode either through the in-page audio player or by downloading the mp3 of the show directly. If you enjoy the show, be sure to follow their feed for more information about when future episodes are released.

tagged: devhell podcast ep81 chrishartjes edfinkler internet superstar dlist pyohio phpcruise

Link: http://devhell.info/post/2016-08-28/it-feels-good-to-be-a-d-list-internet-superstar/

Community News:
Latest PEAR Releases (08.29.2016)
Aug 29, 2016 @ 08:05:02

Latest PEAR Releases:

tagged:

Link:

Scotch.io:
Easy and Fast Emails with Laravel 5.3 Mailables
Aug 26, 2016 @ 11:32:01

The Scotch.io blog has posted another Laravel-related tutorial, this time focusing in on "mailables", a new feature in the latest release of Laravel (v5.3) that makes sending emails simpler.

Laravel 5.3 has just been released and there are a ton of great new features. One of the major improvements is in how you send mail in your applications.

They start with a look at how you might send emails in previous versions of the Laravel framework using the Mail::send method with a set of options and a callback. The tutorial then moves on to v5.3 and introduces the idea behind "mailables" and some simple examples. They show how to create a custom mailable-based class and the resulting code. They walk you through how to pass data into the email views, changing up the mailer configuration, sending extra parameters and sending the emails. They also include information about email queueing using Laravel's built-in queuing functionality.

tagged: easy email laravel v53 mailable tutorial introduction

Link: https://scotch.io/tutorials/easy-and-fast-emails-with-laravel-5-3-mailables`

Symfony Blog:
SymfonyLive London 2016 is in 3 weeks!
Aug 26, 2016 @ 10:52:09

On the Symfony blog they've posted an update about their upcoming Symfony Live London event happening in just three weeks.

We’re almost there! Only 3 weeks until the SymfonyLive London conference! We’re getting more and more ready as the days go, what about you? It’s high time you got your ticket!

What’s in store for you?

The post goes on to talk about the different features of the conference including:

  • Pre-conference workshops on September 15th
  • A full day double-track conference
  • The sponsor village
  • The Social event with all the attendees

They also mention a raffle they're holding to give away Symfony elePHPants to a select few individuals. You must purchase your ticket during a certain time to be entered into the raffle but you could win an elePHPant or a full reimbursement of your ticket to the conference. Check out the full post for more details.

tagged: symfonylive london conference upcoming raffle ticket elephpant

Link: http://symfony.com/blog/symfonylive-london-2016-is-in-3-weeks

Voices of the ElePHPant:
Interview with Brian Retterer
Aug 26, 2016 @ 09:25:09

The Voices of the ElePHPant podcast, host by Cal Evans, has posted their latest episode in their series of interviews with members of the PHP community. In this latest show Cal talks with Brian Retterer of Stormpath.

Cal and Brian talk about user authentication in general and how it can be difficult to get right if you're not familiar with it. They also talk about Brian's work at Stormpath as a PHP developer advocate, what Stormpath does and how they protect your authentication information.

You can listen to this latest episode either through the in-page audio or video player (recorded live at php[tek]) or you can download the mp3 directly. If you enjoy the interview, be sure to subscribe to their feed and follow them on Twitter for updates when new episodes are released.

tagged: voicesoftheelephpant community interview brianretterer podcast

Link: https://voicesoftheelephpant.com/2016/08/26/interview-brian-retterer/


Alex Bowers:
Writing a Hello World PHP 7 Extension
Aug 25, 2016 @ 12:25:47

In a recent post to his site Alex Bowers shows you the steps involved in creating a "Hello World" PHP 7 extension with some basic output functionality - basically just echoing out a message.

He jumps right into the code and shows you how to:

  • set up the directory and initial files for the extension
  • write the test case first (a simple PHP file checking if it's loaded and can be used)
  • updating the config.m4 to allow for enabling the extension
  • the code for src/hello.h to define the function

The final piece is the code in the src/hello.c - the C code to define some structure for the PHP interpreter to understand and be able to execute the PHP_FUNCTION(hello_world). Finally he shows how to make the extension to install it, add it to your php.ini file as a shared module and re-run the test.

tagged: helloworld extension tutorial example simple php7

Link: https://zando.io/writing-a-hello-world-php-7-extension/