Added By: Feedage Forager Feedage Grade B rated
Language: English
add  architecture  bogdan padalko  clean architecture  code  episode  laravel news  laravel  latest  new  news  release  version 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics

Up-to-the Minute PHP News, views and community

Published: Wed, 22 Feb 2017 11:23:57 -0600


/Dev/Hell Podcast: Episode 88: Ocho Ocho

Wed, 22 Feb 2017 11:14:41 -0600

The /Dev/Hell podcast, hosted by PHP community members Chris Hartjes and Ed Finkler, has posted their latest episode: Episode #88 - Ocho Ocho.

A short-ish episode this time out where our Dynamic Duo went guestless and talked about their recent conference experiences in Salt Lake City, Antwerp, and Miami.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly. Be sure to subscribe to their feed and follow them on Twitter to get updates when new shows are released.

Delicious Brains Blog: Automating Local WordPress Site Setup with Scripts Part 3: Automating the Res

Wed, 22 Feb 2017 10:36:38 -0600

The Delicious Brains site has posted a new tutorial, the third part in their "Automating Local WordPress Setup" series, covering the automation of "the rest" of the setup steps. This includes virtual host setup, plugin installation and cleanup.

In my last post in the Automating Local WordPress Setup series, I created a WP-CLI package for quickly installing and uninstalling WordPress. I’ve been using this package for a while now, and have been itching to make it more useful for a typical development workflow.

[...] I also still catch myself doing things that I know should be automated. Things like deleting unnecessary data, removing the default themes/plugins, and installing new plugins, are things that can be automated to make development easier. In this post we’re going to take a look at some ways to make all that possible.

The article is then broken down into three sections with scripts/code that can help with these automations:

  • Working with Virtual Hosts (and MAMP)
  • Cleaning Up the Install (deleting extra themes, plugins, etc)
  • Installing Frequently Used Plugins (your custom list based on a "plugin list" file

The post finishes out with a screencast showing this plugin installation that makes it easier to come up with easy to reproduce, simple to spin up WordPress environments.

Laravel News: Laracon Online – Last Day For Early Bird Tickets

Wed, 22 Feb 2017 09:23:54 -0600

The Laravel News site has posted a new announcement today with a reminder that today (Feb 22nd) is the last day to get Laracon Online Early Bird tickets for just $10 USD. After this they'll go up to their normal price.

Today is the last chance for you to join over 3,000 developers and get an early bird ticket to Laracon Online for just $10. Each ticket purchase includes access to the live event video, conference swag, and a special Slack channel for hanging out and mingling during the event. With your ticket, you can sit on your couch and watch it all live!

Laracon Online will be held on March 8th, 2017 with opening remarks at 8:45 AM EST. If you can’t attend that day, all the talks will be recorded and available online for viewing at your convenience shortly after the conference ends.

The post also lists out some of the "conference swag" that will be provided to attendees including a discount on Linode services, a discount and others that require a bit of action on your part but offer large discounts as a result. You can find out more about the event on the main conference website.

Community News: Recent posts from PHP Quickfix (02.22.2017)

Wed, 22 Feb 2017 08:05:02 -0600

Recent posts from the PHP Quickfix site:

Three Devs & A Maybe: Contributing to PHP with Joe Watkins

Tue, 21 Feb 2017 12:15:03 -0600

The Three Devs and a Maybe podcast has posted their latest episode featuring returning special guest Joe Watkins to talk about contributing back to the PHP language:

In this weeks episode we chat to good friend of the show Joe Watkins. We start off discussion with his recent work on creating a compute-node, dual WAN setup and accepted PHP Serbia talk on contributing to PHP without being a ‘C wizard’. From here we move on to mention some of the areas (bug tracking system and QA) that could be improved with the help of new contributors within the PHP internals ecosystem. Finally, we highlight several recently proposed RFCs, his opinions on them and some work he is doing on a future RFC.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly. If you enjoy the show be sure to also subscribe to their feed and follow the podcast on Twitter to get updates with new shows are released.

Laravel News: Laravel 5.5 Will Be The Next LTS Release

Tue, 21 Feb 2017 11:26:28 -0600

According to this quick post on the Laravel News site the next version of the framework that will get long term support (LTS) will be version 5.5:

Version 5.1 was Laravel’s first LTS release and its two-year window of bug fixes are coming to an end this year. There have been a few people questioning if another LTS would be released and version 5.5 would be the next in line if it did happen.

Just today Laravel announced on Twitter that Laravel 5.5 will, in fact, continue the LTS line. [...] Just as the previous LTS this will include two years of bug fixes and three years of security updates.

Long term support means that the version will be "feature locked" on release but will continue to get bugfixes for issues found until the end of the maintenance window is reached.

Jeroen de Dauw: Implementing the Clean Architecture

Tue, 21 Feb 2017 10:41:45 -0600

In a recent post to his site Jeroen de Dauw looks at some of his own work and ideas around implementing clean architecture in PHP-based applications. The idea behind "clean architecture" is a focus on separation of concerns and dividing the systems into "layers" with contained logic in each.

Both Domain Driven Design and architectures such as the Clean Architecture and Hexagonal are often talked about. It’s hard to go to a conference on software development and not run into one of these topics. However it can be challenging to find good real-world examples. In this blog post I’ll introduce you to an application following the Clean Architecture and incorporating a lot of DDD patterns. The focus is on the key concepts of the Clean Architecture, and the most important lessons we learned implementing it.

In his post he looks at a real-world application (the Wikimedia Deutschland fundraising software) and how Domain Driven Design plays into the "clean" structure. He then walks through code examples, directory structures and lessons learned along the way (including bounded contexts and effective validation).

SitePoint PHP Blog: Writing Async Libraries – Let’s Convert HTML to PDF

Tue, 21 Feb 2017 09:58:05 -0600

The SitePoint PHP blog has another tutorial posted from author Christopher Pitt looking at writing async libraries with PHP. In this particular article he focuses on just one of many tasks an asynchronous library could perform: converting HTML to PDF documents.

I can barely remember a conference where the topic of asynchronous PHP wasn’t discussed. I am pleased that it’s so frequently spoken about these days. There’s a secret these speakers aren’t telling, though: "Making asynchronous servers, resolving domain names, interacting with file systems: these are the easy things. Making your own asynchronous libraries is hard. And it’s where you spend most of your time!"

The reason those easy things are easy is because they were the proof of concept – to make async PHP competitive with NodeJS. [...] Today, we’re going to look at a few ways to make your application code work well in an asynchronous architecture. Fret not – your code can still work in a synchronous architecture, so you don’t have to give anything up to learn this new skill. Apart from a bit of time…

He starts with some theory about things in the async world including callbacks, promises and what they might look like in PHP-land. He then starts in on the creation of the PDF files, creating a "Driver" class to handle some of the logic and using the Dompdf library to do the heavy lifting (the conversion from HTML to PDF). He walks through the code required for this class then moves on to the code, using the Amp project, to handle the async operations. He then creates a simple set of web accessible endpoints that call the Driver class with some basic attributes and performing the conversion. He ends the post talking about porting the parallel driver to other systems (such as ReactPHP) and a few simple steps if you need to move back to the synchronous world.

Community News: Latest PECL Releases (02.21.2017)

Tue, 21 Feb 2017 08:05:01 -0600

Latest PECL Releases:

  • sync 1.1.1
    - Fixed *NIX event object sync_WaitForUnixEvent() issues.

  • memcached 3.0.3
    PHP7 release of memcached extension. Note that support for libmemcached 0.x series has been discontinued and the oldest actively tested version is 1.0.2. It is highly recommended to use version 1.0.18 of libmemcached.


    • Fix crash when checking session data with older versions of libmemcached (#328)
    • Fix crash due to zend_mm_corrupted when fetching session data (#327)
  • v8 0.1.2
    This release adds script compilation and caching. Also more new methods added and some internal logic refactored. See detailed changes below.

    As of this release, V8 >= 5.8.168 required.

      • BC-breaking or potentially BC-breaking changes.

    Changes to public API and other important changes which may affect end-user:

    - * Add $is_wasm and $is_module options to V8ScriptOriginOptions and V8ScriptOrigin;
    - * Remove non-standard V8Scrip::{getSource,getOrigin};
    - * Remove V8ObjectValue::{Get,Set,Has,Delete,CreateDataProperty}Indexed methods;
    - * Remove non-working V8Context extensions support;
    - * Handle V8IntegerValue sub-types when returning values from V8, fixes #19;
    - Add V8UnboundScript class;
    - Add V8ScriptCompilerCachedData class;
    - Add V8ScriptCompilerCompileOptions class;
    - Add V8ScriptCompilerSource class;
    - Add V8ScriptCompiler;
    - Add V8SymbolValue::GetToPrimitive() method;
    - Add V8Value::IsNullOrUndefinedl() method;
    - Add more V8Value::Is*() methods;
    - Add V8MapObject;
    - Add V8SetObject;
    - Fix obj and func templates external memory adjusting.
  • amqp 1.8.0
    * Add SSL connection support (Bogdan Padalko) * Support for server method handling: confirms (publisher acknowledgments) and basic.return (Bogdan Padalko) * Add support for pkg-config (Remi Collet) * Preserve AMQP server error code for exceptions (Bogdan Padalko) * Add AMQPChannel::close() (Bogdan Padalko) * Fix segfault when deleting an unknown exchange (Bogdan Padalko) * Fix segfault with PHPUnit and xdebug for PHP 7 (Bogdan Padalko) * Add publisher confirms (Bogdan Padalko)

    For a complete list of changes see:

  • PDO_INFORMIX 1.3.3
    Fixed compilation issue with the PHP 5.6 release. PHP 7.1.2 Released

Mon, 20 Feb 2017 12:15:32 -0600

The official site has announced the release of the latest version in the PHP 7.1.x series: PHP 7.1.2:

The PHP development team announces the immediate availability of PHP 7.1.2. Several bugs have been fixed. All PHP 7.1 users are encouraged to upgrade to this version.

Bugs fixed include changes for DOM handling, FastCGI, hashing (adding function), MySQL, OpenSSL and a good number of other locations. You can view the Changelog for the complete list. As always you can get this latest version from the main downloads page (source release) or for the Windows binaries.