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

Delicious Brains:
Hosting WordPress Yourself 2018 Update
Jun 13, 2018 @ 09:33:33

The Delicious Brains site has posted an update for the last part (10 of 10) of their series providing a guide to hosting WordPress yourself for some smaller changes for doing it in 2018.

I originally started writing Hosting WordPress Yourself back in February 2015, which makes this series over three years old! During that time a lot has changed, which is why I updated the series just over 12 months ago, to keep the content relevant. Since then, even more has changed in the WordPress hosting scene, so it’s time for another update!

I have already updated the existing articles in this series with the changes that follow. This article serves as a changelog and documents what has changed in each part of this series, where I guide you through the process of building a complete server to house your WordPress sites

This update shares changes in the virtual server setup, new software releases, suggestions of server monitoring services and web server configuration changes. Each point in the list is also linked back to the other part of the series related to the changes to give more context.

tagged: wordpress hosting guide tutorial series 2018 update

Link: https://deliciousbrains.com/hosting-wordpress-yourself-2018-update/

Laravel News:
PHP in 2018
Jun 05, 2018 @ 09:31:26

On the Laravel News site, they have a post sharing a video from a presentation by Rasmus Lerdorf (creator of PHP) looking forward at PHP in 2018.

PHP in 2018 is a talk by PHP creator Rasmus Lerdorf, which focuses on new features in PHP 7.2 and 7.3. We have some exciting low-level performance wins coming to PHP 7.3, which should be out late 2018. It’s highly encouraging that PHP’s focus is mainly on performance in the PHP 7.x releases.

For many in the PHP community, 2016 and 2017 was all about getting onto PHP 7. The drastic performance improvements and overall efficiency have resulted in PHP 7 adoption rates well beyond past PHP versions. If you are not on PHP 7 yet, you will learn why you should be, but the talk will focus more on new features in PHP 7.2 and 7.3 along with optimization and static analysis.

In the post, they give a brief summary of the talk and one of their favorite parts ("crappy code runs really really well"). The video of the talk is embedded in the page but you can also watch it on YouTube directly. The slides are here.

tagged: rasmuslerdorf presentation slides video 2018 language

Link: https://laravel-news.com/php-in-2018

Jordi Boggiano:
PHP Versions Stats - 2018.1 Edition
May 15, 2018 @ 12:53:09

Jordi Boggiano, lead developer on the Composer project, has posted another of his PHP version statistics posts, this time for the first part of 2018.

It's stats o'clock! See 2014, 2015, 2016.1, 2016.2, 2017.2 for previous similar posts.

A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the <a href="https://packagist.org/>packagist.org logs of the last month for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that to see which PHP versions people are using Composer with.

The remainder of the post shares some of the results and differences since November 2017. Among the highlights are:

  • The use of PHP 7.2 has increased by a large percent
  • The use of all over versions (including PHP 7.1) is dropping
  • There is still a large number of packages that only require a version in the PHP 5.x range to be installed

Check out the full post for the complete stats on versions in use and trends (along with some nice graphs of the results).

tagged: composer statistics 2018 version language install require

Link: https://seld.be/notes/php-versions-stats-2018-1-edition

Exakat Blog:
EPIC : Exakat PHP Index of Coding (May 2018)
May 04, 2018 @ 11:46:36

The Exakat blog has an interesting post to their site sharing some statistics from the applications they've scanned related to commonly used coding styles. In this PHP Index of Coding (for 2018) they share a listing of practices in the order of popularity according to the results of over 1700 projects.

Not using @ is the poster child of good practices. It’s also looked upon, as an impossible goal. Did you know that the @ operator is only merely used by 50% of PHP applications ? Same for parenthesis with include (and co) : don’t use them, like 50% of the developpers. This is how the Exakat PHP Index of coding was born.

Every month, Exakat runs thousands of analysis on half a billion lines of PHP code. This is primarily for testing purpose, a kind of torture test that checks the engine runs on any kind of code. And it is very useful to ensure all situations are correctly handled.

We also extracted the following stats out of 1700+ projects, analysis by analysis. This way, any issue may be ranked from ‘wide spread’ to ‘very unusual’. In fact, ‘wide spread’ may also be understood as : ‘almost a feature’.

The results are ranked by frequency of appearance with the top five being:

  • Uses Default Values
  • Used Once Variables (In Scope)
  • Unused Methods
  • Method Could Be Private Method
  • Should Use Local Class

For each item in the list there's a link to more information about the check and how much it has changed since the last time the index was generated.

tagged: exakat indexofcoding review application codingstyle rating 2018

Link: https://www.exakat.io/exakat-coding-index-2018-05/

Adnan Ahmed:
Modern Backend Developer in 2018
Apr 05, 2018 @ 12:55:05

On his Medium.com site, Adnan Ahmed has shared some of his thoughts about being a modern backend developer in 2018. In it he talks about the current state of backend development and makes some recommendations for those wanting to get started.

Web development today is completely different from what it was a few years ago; there are lots of different things that can easily baffle anyone entering into the web development. It was one of the reasons that we decided to make these step by step visual guides demonstrating the bigger picture and to give anyone a clear idea about what they have to follow to be in certain roles in web development.

The post starts with a large infographic showing the basic steps and some of the related technologies and concepts to go with them. Following this they break it down into more detail in a text form with summaries attached for each. There are a lot of topics in the list (24 of them) but here's some of the highlights:

  • Learn a Language
  • Learn a Package Manager
  • Standards and Best Practices
  • Security
  • ?Learn about the Relational [and NoSQL] Databases
  • Learning a Framework
  • Caching
  • RESTful APIs
  • Different Auth Methods
  • GraphQL [and Graph Databases]

His final recommendation is one that's good for beginners and veterans in the software development world alike: "keep exploring". If you stop learning and stop trying new things you'll stagnate in your own work and career. Challenge yourself to learn something new - a new language, tool or technique - as often as possible and apply it to your work.

tagged: modern backend developer 2018 summary steps recommendations

Link: https://medium.com/tech-tajawal/modern-backend-developer-in-2018-6b3f7b5f8b9

Nathan Dench:
BrisPHP News - 1 March 2018
Mar 09, 2018 @ 12:19:26

On his "Tech Notes" blog Nathan Dench has put together a listing of some of the interesting things that happened in the first part of 2018 in the PHP community.

I organise the a post from Marcel Pociot about the GitHub statistics for various PHP projects
  • news around Symfony, Silex and Laravel
  • There's also a few other "random things" to finish off the post with links to other interesting articles, projects and tools.

    tagged: news community 2018 release feature github framework

    Link: https://ndench.github.io/brisphp/brisphp-news

    Community News:
    php[tek] 2018 Schedule Posted
    Jan 23, 2018 @ 09:49:18

    The php[tek] conference, from the folks behind php[architect] magazine, has officially posted the schedule for their 2018 event happening in late May.

    Sessions at this year's event include:

    • "Evolution of PHP Security" by Eric Mann
    • "Mastering REST API Tests with Codeception" by Michael Bodnarchuk
    • "PHP on Kubernetes" by Chris Church
    • "Building Facal Recognition Services with Javascript and AWS" by Kesha Williams
    • "Greener Pastures: Infrastructure from the Group Up" by Steve Grunwell
    • "As Easy as Falling Off a Log (or Writing One)" by Brent Laminack

    There's tons more this year's conference has to offer, so be sure to check out this full schedule and find those topics that interest you. You can still pick up Early Bird tickets (for just the conference or the conference+training) until the end of February so be sure to get yours while you can!

    tagged: phptek tek18 conference schedule posted 2018

    Link: https://tek.phparch.com/schedule

    Zen of Coding:
    PHP MVC Frameworks Preview of 2018 (Phalcon 3, Symfony 4, Laravel 5.x and Others)
    Jan 05, 2018 @ 13:58:48

    On the Zen of Coding site they've posted a look forward at versions of several popular frameworks coming in 2018. Their list includes Phalcon 3, Symfony 4 and Laravel 5.x.

    It’s that time of the year again, when we take a look at the world of PHP MVC frameworks. We get ready for the trends of 2018 and plan our roadmaps. Also, we’ll take a quick detour to look at some seagues in the areas beyond PHP MVC.

    Web development changes year over year, if not faster. MVC has been a revolutionary paradigm for modern web apps. It helped millions of developers build awesome applications and launch exciting startups.

    The post includes a Google Trends chart showing the popularity of searches for various frameworks with Laravel, Symfony and CodeIgniter taking the top three spots overall. It then starts with a high level view of some of the recent changes and trends in several of the frameworks, moving into more detail for each (and some of "the rest" including CakePHP, Zend Framework and Yii. It then discusses microservices, how they relate to MVC and the continuing importance of backend functionality.

    tagged: laravel symfony phalcon 2018 preview framework microservices mvc

    Link: http://www.zenofcoding.com/2017/12/31/php-mvc-frameworks-preview-of-2018-phalcon-3-symfony-4-laravel-5-x-and-others/

    Paragon Initiative:
    The 2018 Guide to Building Secure PHP Software
    Dec 12, 2017 @ 12:16:13

    On the Paragon Initiative blog has a new post that shares some of their own tips and tricks of how to building secure PHP applications moving forward in to 2018.

    As the year 2018 approaches, technologists in general—and web developers in particular—must discard many of their old practices and beliefs about developing secure PHP applications. This is especially true for anyone who does not believe such a feat is even possible.

    This guide should serve as a complement to the e-book, PHP: The Right Way, with a strong emphasis on security and not general PHP programmer topics (e.g. code style).

    The guide covers a wide rang of topics that can help you secure your applications (and not just PHP ones either) including:

    • working with security headers
    • safely handling file uploads
    • effective password hashing
    • general-purpose cryptography
    • searchable encryption
    • event logging with Chronicle

    Each item in the list is a link to another part of the guide where the topic is discussed. In each there's plenty of good information about prevention and implementation as well as links to other tutorials and packages that can help.

    tagged: secure application development guide 2018 introduction

    Link: https://paragonie.com/blog/2017/12/2018-guide-building-secure-php-software

    Laravel News:
    Laracon Online 2018 Early Bird Registration Reminder
    Dec 12, 2017 @ 11:56:16

    On the Laravel News site they've posted a reminder about the Early Bird registration deadline for the 2018 edition of the Laracon Online conference.

    As the year comes to a close, remember that for the next 23 days, you can still buy tickets to Laracon Online 2018 for $12 (regularly $25). Tickets will go up to $25 on January 3rd, which is still a great deal for the all-star speaker lineup planned. Grab tickets today before the busy rush of the holiday and new year.

    Tickets are only $12 USD at the Early Bird pricing and the conference will be happening February 7th, 2018 beginning at 10am. Speakers include several of the Laravel regulars like Adam Wathan, Chris Fado, Matt Stauffer and, of course, Taylor Otwell. You can find out more information about the conference and pick up tickets of your own at the Early Bird price (while it lasts) on the Laracon Online website.

    tagged: laracon online 2018 earlybird ticket registration reminder

    Link: https://laravel-news.com/laracon-online-2018-early-bird-reminder