|Hi there PHP fans,
The PHP development team has announced the immediate availability of three more security releases; PHP 5.6.30, 7.0.15 and 7.1.1. Users are encouraged to upgrade to these versions.
Also this week we take a look at the most popular Laravel articles of 2016, indicated by the number of clicks received. All 83 of them to be precise.
The next episode of the Building Your Startup series covers how to improve the user's web experience on mobile devices and tablets.
Plus the latest PHP Roundtable podcast discusses the recent release of PHP 7.1, looking at how it was brought to a stable release and the new features it brings.
And finally, the Sunshine PHP Conference takes place over three days at the end of next week in Miami, including a Hack-a-thon and Unconference. There are still a few tickets left so it's not too late to get yours.
Have a great weekend,
Katie and Ade
We love our sponsors. Why not try them?
From our sponsors:
Scrum Rituals: Sprint Planning
The ritual that marks the beginning of each sprint is called sprint planning. Sprint planning is hosted by the scrum master, but the person responsible for most of the content that goes into a sprint planning is the product owner.
Symfony Social Stats
Ryan Weaver of KNPLabs recently released a very interesting page of statistics for the Symfony framework. The page shows graphics of some of the non-traditional statistics, for example social stats like where Symfony contributors live and work etc.
83 Top Laravel Articles in 2016: What You Clicked in Newsletters
A little later than most “Year in Review” posts but it took some time to manually pick the most-clicked articles from our newsletter, there were 1000+ useful links from all over the web. Also I will mention authors with links to their profiles – let’s thank them for their effort! So, what topics were the most popular in 2016?
Top 10 WordPress Resources That You Must Use in 2017
If you are looking to explore skills, learn to code, looking for a testing platform, create a blog website – WordPress is your answer. Since the CMS rocked its way through the past year, let’s learn about the 10 resources that one can utilise in the new year; so that 2017 starts and ends on a good note for all WordPress users.
Tutorials and Talks
Programming With Yii2: Using Ajax
In this Programming With Yii2 series, I'm guiding readers in the use of the Yii2 Framework for PHP. In this tutorial, we'll explore the implementation of interactive pages using Ajax. Specifically, I'm going to highlight the use of Ajax in two areas of the Meeting Planner application, which I'm writing the Building Your Startup series about in parallel.
Containerising a Static Website with Docker, Part III
In the previous posts we looked at creating a build container, and after that we created a blog container, serving our generated static website. It's quite surprising to me how simple the current setup is - admittedly, it's a simple application too. It takes about 50 lines of configuration to get everything up and running.
Configure Your Symfony Parameters with The .env Manager in Forge and Envoyer
This is a simple solution for using the .env editor built into Envoyer and Forge to set your Symfony configuration parameters. As long as you’re using the Symfony Standard distribution you don’t need to install any extra packages.
Laravel and Braintree: Middleware and Other Advanced Concepts
Previously, we saw how to configure a Laravel app to handle Braintree subscriptions. This time, we’ll talk about how to: Prevent users from signing up to the same plan twice, add basic flash messaging to our application, add the ability to swap plans, create middleware to protect some routes based on the subscription status, restrict users with basic subscriptions from accessing premium content, cancel and resume subscriptions, and add Braintree notifications to the application’s events via webhooks.
The Power of Blackfire
During my research on Blackfire (https://blackfire.io) and its functionality, I decided to focus on the category pages of Magento 1. Category pages are requested the most in the whole framework, so each performance improvement results in a better user experience when navigating through the products catalog.
Introducing the SymfonyConsoleForm Package
About 2 years ago I created a package that combines the power of two famous Symfony components: the Form component and the Console component. In short: this package allows you to interactively fill in a form by typing in the answers at the CLI.
Create Medium Posts from Markdown
Writing on Medium is a great experience that many people love. However, if you are writing code heavy articles, pasting in code blocks sort of stinks. By default, a rendered article doesn’t include syntax highlighting and if you are sharing more than a few lines of code it’s not that easy to follow. Here is an example of a default code block
How To Generate Class Factories The Easy Way with FactoryCreator
If there’s one thing that’s always frustrated me when working with Zend Framework, it’s having to create factories for classes. Sure, it’s gotten easier as Zend ServiceManager’s continued to ever improve. And PhpStorm and Zend ServiceManager Grand Master, Gary Hockin, has given me a number of great tips and suggestions.
Building Your Startup: Improving the Mobile Web
It's extremely important to make a Meeting Planner a great web experience on mobile devices. In today's episode, I'll review and discuss making changes oriented to doing just that - essentially making our web application more of a responsive website, easily usable on mobile devices and tablets. Check out the results (on your phone or tablet)!
Refactoring Should Not Only Be A Ticket
A while ago I tweeted "#Refactoring should never only be a dedicated task on your board. It should be an essential part of every other task you work on." In this blog post I would like to elaborate a bit further on what I mean and why I think this is important.
A Note on Framework Performance
A question came up recently wondering why Slim Framework was around 5 times slower than plain PHP. All frameworks are by definition slower than no-code as there's more going on. This is not an apples-to-apples comparison of course as the Slim application is doing a lot more than the plain PHP one.
Using Anonymous Classes To Write Simpler Tests
Anonymous classes were added to PHP 7. This article intends to show how useful they can be for writing tests.
Laravel Auth Redirection
When you use Laravel’s built-in Auth system, it provides a redirectTo property on the LoginController, RegisterController, and ResetPasswordController. This property allows you to define the location you want your users sent to after they complete the action. Inside of Laravel this is setup and implemented through a RedirectsUsers trait and a minor improvement has been added to this that will now allow you to define a redirectTo method with a fallback to the property.
Hooks, Line, and Sinker: WordPress’ New WP_Hook Class
The hooks system is a central pillar of WordPress and with the 4.7 release a major overhaul of how it works was merged. The Trac ticket that initially raised an issue with the hooks system was logged over 6 years ago. After a few attempts, the updates finally made it into the 4.7 release and the venerable hooks system was overhauled. In this post I want to go over some of the technical changes and decisions that went into the new WP_Hook class. I’ll also go over some of the more interesting aspects of WordPress core development and look into what it takes to overhaul a major feature in WordPress core.
|News and Announcements
PHP 5.6.30 Released
The PHP development team announces the immediate availability of PHP 5.6.30. 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.15 Released
The PHP development team announces the immediate availability of PHP 7.0.15. 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.1.1 Released
The PHP development team announces the immediate availability of PHP 7.1.1. Several bugs have been fixed. All PHP 7.1 users are encouraged to upgrade to this version.
Sunshine PHP Conference - 2nd-4th February 2017, Miami
The Sunshine PHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida next month, and you're invited! We'll host some of the best speakers, awesome talk topics, latest technologies, and up to date news in PHP. And don't forget our Hack-a-thon and Uncon'ference, as well as a great hallway track! The conference has something for every level of PHP developer. We start with a full day of 8 PHP related tutorials and workshops that are each 3 hours of in-depth information. Next we follow that with 2 days containing 5 keynotes and 40 PHP talks over 4 tracks. General admission tickets are on sale now.
PHP UK Conference - 16-17th February 2017, London
PHP UK is pleased to announce the 12th 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. Final tickets are on sale now.
ConFoo - 8-10th March 2017, Montreal
ConFoo Montreal is a multi-technology conference for web developers, offering a great diversity in content to expand your knowledge and increase your productivity. Learn from 100 international experts. Discounted tickets are on sale now.
DrupalCon - April 24-28th 2017, Baltimore
The Drupal community is one of the largest open source communities in the world. We're developers, designers, strategists, coordinators, editors, translators, and more. Once a year, our community comes together at the biggest Drupal event in the world: DrupalCon North America. This year, from April 24-28, we'll be in Baltimore, Maryland. There are 12 session tracks, featuring topics like UX, DevOps, project management, and PHP. The Call For Papers will close next week, and tickets are on sale now.
PHP Ugly Podcast #44: Upgrayedd
This weeks topics include how PHP executes and automatic facades coming to Laravel 5.4.
That Podcast Episode 36: Things
Beau and Dave catch up on SensioLab's latest announcements, The Epic Guide to Bootstrapping your SaaS startup from scratch by yourself, Indie Hackers, and discuss convenient hosting for lots of small sites and apps.
Three Devs and a Maybe Podcast - Managing Concurrency in Postgres with Bruce Momjian
Following on from our previous look at the Query planner - we are joined again by Bruce Momjian to extend this exploration into looking how Postgres manages concurrency. We start off by discussing some of the challenges and workarounds used in the past to handle concurrent access, particularly in the eyes of a database administrator. We then highlight the concept of MVCC, how it works from a high-level, how Postgres implements it and the clean-up considerations that are present. Finally, we mention how Postgres stores data in page-form, how projects such as pg_compact work to regain space and what the fill-factor is.
dev/hell Podcast Episode 87: Asking Questions Down Under
This time out we asked our listeners to submit some questions, because we are tired of whining so much and wanted to let others get in on it. Along the way Ed talked about a recent computer-related purchase he made on eBay while Chris talked about one of the earliest science fiction short stories he can remember while feeling incredibly old at the same time. Don’t worry, Chris' ego let him know he was not old and is still awesome.
PHP Roundtable Podcast Episode 59: PHP 7.1
PHP 7.1, the latest minor version of PHP, was released on December 1st. We discuss some things that went on behind-the-scenes that brought this new version to a stable release and we look at some new features that we can start taking advantage of today.
LaraChat Live - Episode #19
Today, the Larachat Team speaks with Jeffrey Way.
The Laracasts Snippets Episode 56: What They Say, Versus What They Do
Over the years, I've come to realise that, what folks advertise and say they do, often bears no resemblance to what they actually do. Consider the broke financial advisor, or the event sourcing evangelist who sticks to basic CRUD and Active Record for their own projects, or the TDD expert who secretly doesn't TDD. The truth is that folks advertise what they're excited by. And, too often, what excites us is what's new and undiscovered.
North Meets South Web Podcast Episode 21 - Screencasting, Markdown to Medium, and Google Cloud Storage
Michael and Jake return with their slightly tinkered format, where they focus on challenges overcome and things learnt in day to day framework usage.
Cloudways Interview With Dr. Lisa Thompson
Dr. Lisa Thompson talks about how social media can turn around lives and help you generate leads & sales.
Making the Most out of MySQL
This is the video, from LaraconEU 2016, of Gabriela D'Ávila's Making the Most out of MySQL.
Laravel 5.4 Is Now Released
Version 5.4 of Laravel is now officially released! This release has many new features, and improvements and here is quick video going over some of the highlights.
Answering Your Questions About Unit Testing
Thanks to everyone that joined our unit testing for project managers webinar yesterday. It was great to see so many people engaged and asking questions. I’ve pulled together answers for your questions we didn’t get to on the webcast. If you have more questions, leave a comment below!
Web Development for Intermediate Programmers - with PHP (by Steven Sohcot, published 6th January 2017)
This book gives step-by-step instructions on how to build a database-driven web-based application using PHP. Along the way, the author explains WHY specific techniques were chosen, and incorporates "usability" tips. This book is intended for those with a basic understanding of coding; however the first section of the book is dedicated to provide a high-level foundation of this knowledge.
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@example.com
Interesting Projects, Tools and Libraries
Domain driven design PHP helper classes.
RainTPL is an easy template engine for PHP that enables designers and developers to work better together, it loads HTML template to separate the presentation from the logic.
Proxy files for DotNet, Java and PHP.
Agile Toolkit is a PHP framework for developing Powerful Web Applications. Inspired by Desktop Toolkits (QT, Cocoa, .NET) it provides clever web application framework for developers with any skill level.
Sphido is deathly simple, ultra fast, flat file (Markdown, Latte, HTML, PHTML) CMS. Fully customisable.
Mellivora is a CTF engine written in PHP.
Practical functional programming in PHP.
PHP caching environment, with adapters for e.g. Memcached, Redis, Couchbase, APC, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.
Provides a simple API and specification that abstracts away the details of HTTP into a single PHP function.
A PHP framework for accessing Instagram's API.
ADOdb is a PHP database class library that provides powerful abstractions for performing queries and managing databases.
PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener.
|Please help us by clicking to our sponsor:
From our sponsors:
So, how did you like this issue?
Protect your PHP code with SourceGuardian 10. Free trial.