Hi there PHP fans.
We start with several releases from the PHP development team this week. PHP 5.6.32, PHP 7.0.25 and PHP 7.1.11 are all available immediately, and the 5th release candidate for PHP 7.2.0 is ready now for testing.
Also this week, learn about Docker, and how to use it to run PHP and MySQL apps.
Cal Evans recently interviewed "Mr ZendCon" himself, Adam Culp, discussing his role in the recent ZendCon.
Plus the October edition of the Joomla Community Magazine is out now, including a recap of JoomlaDay 2017.
And finally, the Symfony Community Awards are back! Voting is now open to choose your favourite community member, with categories including Best Blogger and Best Bundle Author. Results will be announced at SymfonyCon in two weeks time.
Enjoy Your Read!
Thanks |
Katie and Ade |
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders. |
Articles
PHP vs Python : Which one is the Best Server-Side Programming?
PHP vs Python, the two most popular back-end programming languages. Python has the variety of dynamic features with simple script whereas PHP is specifically used for server-side by most of the developers. But, What is the best choice? Are both good at server-side programming? A lot of doubts hit your brain when you try to learn the server-side programming. I wish this article will clear the indecision.
Continuous Performance Monitoring for PHP - The Tale of Blackfire at Trivago
We’re a data-driven company. At Trivago we love measuring everything. Collecting metrics and making decisions based on them comes naturally to all our engineers. This workflow also applies to performance, which is key to succeed in the modern Internet.
Disclosure: WordPress WPDB SQL Injection - Background
Today, a significant SQL-Injection vulnerability was fixed in WordPress 4.8.3. Before reading further, if you haven’t updated yet stop right now and update. The foundations of this vulnerability was reported via Hacker-One on September 20th, 2017. This post will detail the background on the vulnerability as well as why I publicly threatened to Fully Disclose. There is another post which deals with the technical vulnerability. |
Tutorials and Talks
How to Optimise MySQL: Indexes, Slow Queries, Configuration
MySQL is still the world’s most popular relational database, and yet, it’s still the most unoptimised – many people leave it at default values, not bothering to investigate further. In this article, we’ll look at some MySQL optimisation tips we’ve covered previously, and combine them with novelties that came out since.
Data Structure and Algorithm - Quick Sort
In this tutorial, we will learn a simple sorting algorithm - Quick Sort.
PHP 7.2's "Switch" Optimisations
PHP 7.2 is around the corner soon, and comes with many optimisations. Many new optimisations are implemented in opcache, but some others are implemented in PHP itself. One optimisation that falls in the latter category is an optimisation of the switch/case construct. Before PHP 7.2, PHP considers each case statement in order.
How Do I Deploy my Symfony API - Part 5 - Conclusion
This is the fifth post from a series of posts that described the whole deploy process from development to production of a Symfony API. This series of blog posts had the aim to show a possible approach to build a continuous integration and continuous delivery pipeline. The continuous integration and continuous delivery process reduces bugs and makes the development simpler. As always happen in software development, solutions are not perfect. There is always room for improvement. Here are few examples of what could have be done better. Obviously can be done better and this are not all the possible improvements that can be done on the system.
Using Docker to Run a PHP and MySQL Application
One of the most common operations for any application is to connect to a database, but installing multiple databases locally can be a tricky process. You have to make sure everyone on your team has the right version and that they’re connecting the same way. Fortunately, Docker makes this really simple and more transferrable.
Integrate CloudwaysCDN With Laravel Applications
With the recent release of Laravel 5.5 and Laravel Horizon, the Laravel ecosystem has reached a whole new level of maturity. In effect, Laravel has become a great option for PHP projects. Cloudways has recently launched a Content Delivery System (CDN) to help the users provide a better UX their Laravel projects. In this article, I will demonstrate the process of implementing Laravel CDN.
TDD On A Silex Controller
“TDD it’s so easy” - that’s what they tell us. There’s no trick to it, it’s just a simple trick. This article shows one way to unit test Silex controllers.
How To Create Charts In PHP By Fetching Data From MongoDB
Most enterprise apps currently use relational databases like SQL, MariaDB, or MySQL due to their popularity and stable nature. However, developers face issues when they try to scale such databases. Furthermore, considering the recent breed of web applications that handle large data sets, developers are constantly looking for more scalable databases. This has attributed to the rise of non-relational (NoSQL) databases. One such database that has become really popular is MongoDB. In this tutorial we will follow a step-by-step approach to create charts using data stored in a MongoDB database. We will use the PHP scripting language to connect to the database and fetch the data, which would then be used to render the chart.
Backup Multiple Sites and Frameworks with 'Laravel Backup'
Using Spatie's Laravel Backup package you can backup several sites on a server from a single app install, including Laravel apps and WordPress sites.
New Route Methods introduced in Laravel 5.5
Laravel 5.5 shipped a couple of convenient shortcuts to the Laravel Router class that eliminates the need for creating a controller or closure only to return a simple view or redirect. If you missed them in the release notes, let’s look at them briefly, they are sure to simplify your code and remove a couple of files.
How to Deploy With Deployer
Automated workflow for deployment is a great tool that every software development team must have. The release process, when it is fast, secure and fault tolerant, can save time for developing more great things. And the good news that there are many great tools for creating an automated release cycle. In this article, I'm going to introduce you a deployment tool called Deployer. I like to use it because it is written in PHP, is easy to set up, and has many handy features to integrate the deployment process into your team's workflow.
How To Manually Clear Magento 2 Cache - Step by Step Guide
Clearing Magento cache is something every Magento store owner needs to learn. With the release of Magento 2 in 2015, many Magento owners have migrated their stores to the new version to get better performance. This step by step guide will help you understand how to effectively clear Magento 2 cache without the asking your developer for it. |
News and Announcements
PHP 7.1.11 Released
The PHP development team announces the immediate availability of PHP 7.1.11. This is a bugfix release, with several bug fixes included. All PHP 7.1 users are encouraged to upgrade to this version.
PHP 5.6.32 Released
The PHP development team announces the immediate availability of PHP 5.6.32. This is a security release. Several security bugs were fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.
PHP 7.0.25 Released
The PHP development team announces the immediate availability of PHP 7.0.25. This is a security release. Several security bugs were fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.
PHP 7.2.0 Release Candidate 5 Released
The PHP development team announces the immediate availability of PHP 7.2.0 RC5. This release is the fifth Release Candidate for 7.2.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.
THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!
WordPress 4.8.3 Security Release
WordPress 4.8.3 is now available. This is a security release for all previous versions and we strongly encourage you to update your sites immediately.
The Symfony Community Awards are back!
We're very pleased to announce the opening of the Symfony Awards votes! Every 2 years, we have the pleasure to organise the Symfony Awards to reward the Symfony Community members for their involvement in the great Symfony Community. The last Symfony Awards were organised at SymfonyCon Paris 2015, this year we're pleased to organise them at SymfonyCon Cluj 2017, November 16th-17th.
MageTestFest - November 15-18th 2017, Amersfoort Holland
All the ingredients you like as a developer. Let our great set of speakers blow you away. Join developers from all around the world for this unique and leading event. Are you going to be there? Join us at the most exciting developer-centric Magento event ever! Tickets are on sale now.
PHP[World] Conference - November 15-16th 2017, Washington DC
Four years ago the team behind php[architect] magazine wanted to create a conference designed to bring all the PHP communities together. Hence, the idea of php[world] was born. It's an event that is intended to bring the entire world of PHP together in one place, to encourage cross-pollination of ideas and sharing of ideals. Tickets are on sale now.
PHP UK Conference - February 14-16th 2018, London
PHP UK is pleased to announce the 13th Annual PHP UK conference; a 2-day event with 3 great tracks held at The Brewery, in the heart of the City of London. With over 700 delegates, speakers, and sponsors, PHP UK conference aims to deliver fantastic up-to-date content about PHP and related web technologies in a comfortable and professional setting. There are countless networking opportunities to engage with international speakers and delegates, which makes the event one you won't want to miss. Blind Bird Tickets are on sale now. |
Podcasts
Voices of the ElePHPant - Interview with Adam Culp
In this episode, Cal talks with Mr. ZendCon himself, Adam Culp about ZendCon 2017 and what his talks are covering.
Laravel News Podcast LN48: Style Guides, Testing Vue, and Cookies
Jake and Michael talk about a great number of new things from the Vue camp, talk a bit about handling form validation, changes in the Laravel framework, and rapid-fire through some community links.
Laravel IO Podcast Season 3: Episode 5 - Interview: Mohamed Said, First Employee of Laravel LLC
An interview with Mohamed Said, Laravel's first employee.
Changelog Podcast #267: Functional Programming
Eric Normand joined the show to talk about Functional Programming. We talked about FP vs OOP vs Imperative, why FP is popular again, the advantages and disadvantages of Functional Programming, and teaching Functional Programming concepts.
Full Stack Radio Podcast Episode 75: Diana Mounter - Design Systems and Utility Classes at GitHub
In this episode, Adam talks to Diana Mounter of GitHub to talk about using design systems to tame legacy CSS, and how GitHub is using utility classes to make it easier to build more consistent, maintainable user interfaces.
MageTalk Magento Podcast #146 - “Jacktoberfest”
MMNY update, Phillip discovers the Disney Running Community is toxic, Magento turned around its community engagement.
PHP Roundtable Podcast Episode 68: PHP's Dirty Little Segfault Secret
PHP is known for running really bad code really well. But it has a dirty little secret: deep within its code is a hidden "stack bomb". You can cause PHP to completely crash with just a few lines of code. Today we discuss why this happens and what we can do to fix the issue.
PHP Ugly Podcast #79: Drink and Catch Fire
Topics include the Dropbox brand update and tech in Asia.
North Meets South Web Podcast Episode 36 - Code Reviews, View Composers, and Stranger Things
In this episode, Jake and Michael speak about Thor: Ragnarok and Stranger Things 2, before diving into reviewing code and view composers. |
Cloudways Interview - Samuel Pavin Discusses Social Media And His Passion For Digital Marketing
I am really pleased to interview Samuel Pavin, the marketing lead at ilab UQ Accelerator. Samuel loves to help startups, small business and corporations to grow. With over 31K followers on Twitter, he is one of those guys who really love engaging with community. He is well known for being very approachable on social media and love to discuss brand strategies and digital marketing.
2017 WordPress Survey and WordCamp US
It’s time for the annual WordPress user and developer survey! If you’re a WordPress user, developer, or business owner, then we want your feedback. Just like previous years, we’ll share the data at the upcoming WordCamp US (WCUS).
Writing Code That Speaks
Caleb Porzio gives some good advice on how to make code more readable in this talk given at Erie Day of Code 2017. Watch the video here.
Interview with Mahmoud Zalt, Creator of Laradock
Last week, I got to interview Mahmoud Zalt, the creator and maintainer of Laradock, to hear about his experience with Docker, PHP APIs, and dig into some of the use cases for his Docker-based tool. If you want to learn more about Mahmoud’s work, be sure to check out his website as well as his Github profile.
Joomla Community Magazine - October 2017
S.D. Williams United States, brings us a JoomlaDay Chicago 2017 Recap, while Rowan Hoskyns Abrahall asks us to Help Captain Joomla! Save the Puppies! Roland Dalmuder shares with us the news on the Web Programming Weeks at THM that took place in Gießen, Germany. And Alison Meeks reminds us we always need to save, save, save. Jessica Dunbar reminds us that Joomla cares: Give Back to Sandra. She is one of the greatest contributors to the Joomla! Project and she needs our support after the hurricanes that hit the Caribbean area. Once again, a HUGE thank you to all authors and community people who contributed to this issue. Enjoy the October Issue! |
Jobs
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $100/week for an advert. Please let me know if you are interested by emailing me at [email protected] |
Interesting Projects, Tools and Libraries
csv
Csv is a simple library to ease CSV parsing, writing and filtering in PHP. The goal of the library is to be powerful while remaining lightweight, by utilising PHP native classes whenever possible.
stream-php
Stream-php is the official PHP client for Stream, a web service for building scalable newsfeeds and activity streams.
thruway
PHP Client and Router Library for Autobahn and WAMP (Web Application Messaging Protocol) for Real-Time Application Messaging.
kahlan
Kahlan is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it syntax and moves testing in PHP one step forward.
php-parser
This is a PHP 5.2 to PHP 7.2 parser written in PHP. Its purpose is to simplify static code analysis and manipulation.
teein/html
Teein/Html is a Virtual DOM based templating-engine for PHP inspired by React, XHP and Elm.
autoload
A lightweight PHP namespace aware autoload generator and phar active builder.
phansible
Phansible is a simple generator for Vagrant projects, targeting PHP development environments, using Ansible as Provisioner.
opencensus-php
This is the open-source release of Census for PHP. Census provides a framework to measure a server's resource usage and collect performance stats. This repository contains PHP related utilities and supporting software needed by Census.
infuse-libs
Solid libraries for rapid PHP development.
cockpit
Add content management functionality to any site - plug & play / headless / api-first CMS.
simplemappr
A web-based application that produces publication-quality geographic maps.
ccxt
A JavaScript/Python/PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs. |
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.
|
So, how did you like this issue?
|
|