|Welcome Back PHP Fans ;0)
In this week's edition, learn about what's new on Drupal.org by looking at the latest Roadmap.
Also take a look at Pagekit CMS, in particular the personal blogging function.
WordPress 4.5.2 security release is now available.
Plus in this weeks Full Stack Radio podcast, Laravel shift creator Jason McCreary talks about Git tips, tricks and best practices.
And finally, CodePen creator Chris Coyier recently took part in an Ask Me Anything session for the Hashnode blog.
Have a great weekend!
Katie and Ade
We love our sponsors. Why not try them?
The Tools to Change Our Lives and Our Industry
I started talking about mental health in tech publicly on /dev/hell in 2012, when Chris Hartjes let me ramble for over an hour about what it has been like to be a developer with mental health issues. That is what started me down the path of speaking at conferences about the issues I face, and the ones we all face, with a talk called “Open Sourcing Mental Illness”. I started dedicating less time to me, and more to what we knew about the impact of mental disorders in society, and specifically about the tech industry. We know quite a bit about the former, and we know almost nothing about the latter. So I started the Mental Health in Tech Survey in 2014.
What’s New On Drupal.org? - April 2016
Read our Roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community.
Tutorials and Talks
Symfony: A Tool to Convert NelmioApiDocBundle to Swagger PHP
We have an API built with Symfony that outputs its specification in the Swagger format. We needed to upgrade from version 1 to 2. As we switched the library to generate the specification while upgrading, we had to convert the configuration. In our case that configuration was so extensive that we decided to build a script to convert the configuration.
Notable PHP package: PHP Image Mosaic Generator
One nice way to present images is to create a mosaic effect. Several images are displayed as tiles next to each other, so the users can see many images at once. This PHP class can show tiled images using the mosaic effect. There is one main background image and all the group images are displayed over that image using transparency in a way that looks like small glasses over the background image, causing great visual impression. Read this article to learn more details about how this notable PHP package works.
Starting a Business with Laravel Spark
I am really excited about Laravel Spark. By the time you read this, there will probably be a multitude of posts explaining how you can set it up. That’s not as interesting to me as the journey I’m about to take in creating an actual business with Spark!
PHPMyAdmin Blank Whitescreen (414 Request-URI Too Long)
Ran across an interesting issue where PhpMyAdmin on a newly installed CentOS server was not rendering in a browser. Or more accurately, it was rendering but the CSS kicked in and caused the browser to display a blank page rather than the desired login screen. (Doing a View Source on the page showed that the login form was in fact there, but hidden by CSS.)
Symfony Components and The Full Stack Framework in CMS Ecosystems
In recent years the line between frameworks and Content Management Systems have faded in the face of modern PHP conventions and sharing components. One of the original movers in this space was EllisLabs with Expression Engine - a closed source CMS built with their Open Source Code Igniter framework.
Route Model Binding Using Middleware
Our team is currently working on a Spark app. Spark makes it really easy to add an API that can be consumed by the users of the app. The generation of API tokens and authentication middleware comes out of the box. It all works really great.
Installing nginx 1.10 with HTTP/2 Support
In the past few days nginx stable version has reached the version 1.10 with HTTP/2 support. I have blogged before about how to install nginx on ubuntu 14.4 but using ppa:nginx/stable channel. Sadly the channel was not updated yet to have the latest version, so here is how to install the latest version.
PHP Session Garbage Collection: The Unknown Performance Bottleneck
Here is one performance setting in your PHP configuration you probably haven't thought about much before: How often does PHP perform random garbage collection of outdated session data in your application? Did you know that because of the shared nothing architecture PHP randomly cleans old session data whenever session_start() is called? An operation that is not necessarily cheap.
Using The New Drupal 8 Migration API / Module
We at Liip AG believe that the migration API is the best and most efficient way to import data into Drupal. Here are some reasons why you should use migrate, instead of the feeds module or any other custom importer modules.
Prototype Quickly with PHPs Built-In Server and SQLite
Learn how to speed up Laravel development using the built-in PHP server and SQLite.
Working With Entities in Drupal 7
Developers love object-oriented code. But how can this be achieved with Drupal 7 entities? By default Drupal uses a single class for all entities of a given type. For example, all node objects are standard classes (\stdClass) and all entity objects have the \Entity type. I personally like to have an entity model that only exposes the functionality that is applicable for the logic of your domain.
First Look at Pagekit CMS – Clean, Extensible, Fast, But…
Pagekit hit version 1 recently, and as I’d been looking at personal blogging engines, I thought it’d only be fair to check it out. Granted, blogging is merely a subset of the functionality Pagekit can offer, but a good basic test-drive subset nonetheless.
|News and Announcements
WordPress 4.5.2 Security Release
WordPress 4.5.2 is now available. This is a security release for all previous versions and we strongly encourage you to update your sites immediately.
Slim 3.4.0 now provides PSR-7!
I've been neglecting Slim's PR queue recently, so this weekend I dedicated a lot of time to merging all the good work that our contributors have done. As a result, I'm delighted to release version 3.4.0!
FAQ: SparkPost Pricing Plans
We recently announced some changes to SparkPost pricing plans for our email delivery service. We’ve been absolutely thrilled with the response - it shows we’ve gotten the pricing model right. Still, I know any change is sometimes confusing. So, I thought it might help to round up some some answers to questions I’ve been seeing on Twitter and in the SparkPost developer community Slack channel.
PHPKOnf - May 21st-22nd 2016, Istanbul
PHPKonf is hosted by the Istanbul PHP community, and you're invited! We'll host some of the best speakers, awesome talk topics, latest technologies, and up to date news in PHP. Tickets are on sale now.
php[tek] - May 23-27th 2016, St Louis
Once again the team behind php[architect] magazine will be hosting their annual php[tek] conference! For this 11th edition of php[tek] we are excited to announce that we are moving to St. Louis! The new larger venue will allow us to continue to grow this conference, allowing more people from the PHP community to come together for a week of learning and camaraderie! Tickets are on sale now.
The PHP Tour - May 23rd-24th 2016, Auvergne, France
Organised by AFUP, the French PHP users group, and Clermont’ech, a local organisation which gathers developers from the area. This year, part of the program will focus on performance. With more and more business-critical applications, performance becomes decisive. Performance is in the core of PHP7, the latest version of our language. Tickets are on sale now.
PHP Serbia Conference - May 28-29th 2016, Belgrade
PHPSerbia Conference delivers high-value technical content about PHP and related web technologies, architecture, best practices and testing. It offers two days of amazing talks by some of the most prominent experts and professionals in the PHP world in a comfortable and professional setting. Tickets are on sale now.
dev/hell Podcast Episode 76 - No, YOU'RE A Tool
Chris and Ed sit down to talk about their recent travels to conferences both near and far, and to also discuss what tools and languages they have been using at their day jobs.
Voices of the ElePHPant - Interview with Rachel Baker
This week Cal Evans interviewed web developer and WordPress community member Rachel Baker.
Three Devs and a Maybe Podcast - Application Performance with Jonathan Klein
On this weeks episode we are joined by Jonathan Klein to discuss all things application performance. We start off the show with a chat about how he got into performance, why it is so important and how he thinks of it throughout the development process. From here we discuss his recently released Pluralsight course on ‘High Performance PHP’ and touch upon some of the key performance areas within the stack. Starting with micro-optimisations at the code level, we highlight their value and caching mechanisms. We then move onto the web server, process managers and the importance of a correct configuration. The Database layer is then brought up, discussing forks of MySQL, handling slow-queries and data-denormalisations. Finally, profiling and monitoring tools are discussed (such as New Relic and Seige) and where you can typically find the most wins within a typical stack.
Full Stack Radio Podcast Episode 41: Jason McCreary - Git Tips, Tricks and Workflows
In this episode, Adam talks to Jason McCreary, creator of Laravel Shift, about Git tips, tricks, and best practices, and how to develop a solid Git workflow for your team.
MageTalk Magento Podcast #91 - Imagine 2016 Recap (Part 1)
The guys bro down about Imagine 2016 and the announcements made which blew EVERYONE away.
Laravel News Podcast LN 15: Misc News and An Interview with Mike Bronner About His Early Experiences with Laravel Spark
Jack reads the news and interviews Mike Bronner while Eric takes a much needed week off.
The John Morris Show
How I got 2.7 million views and 28,032 subscribers on YouTube.
Ryan Hellyer Talks About WordPress Plugin Development, WordPress Community And How Goals Help In Coding Projects
Ryan Hellyer is a very well known WordPress obsessed Kiwi and a former scientist who used to live in Canada, then Norway and now Berlin. He has been contributing to WordPress communities for a long time. He is a prolific plugin developer, a mentor who shares his knowledge openly in the form of code snippets and tutorials. In this interview with Cloudways, he talks about WordPress and his personal life. He also shares his experience about AWS Nightmare.
10 GIT Tips and Tricks
Git is a powerful version control system and a lot of us are using it every day. In this lightning talk I will show you 10 git related tips and tricks you may not know, that will make your daily live easier.
AMA with Chris Coyier
Creator of CodePen, CSS-Tricks and Podcaster at ShopTalk, Chris Coyier recently did an Ask Me Anything session.
php[architect] May 2016 - Full Speed Ahead
We’ve just released the May 2016 issue of php[architect] magazine. To help you make good use of your development time, this month the magazine looks at libraries including DoctrineORM and FastRoute, and product development lessons from building Laravel Shift. In addition, this month includes articles on defining “Senior Developer”, the value of gratitude, keeping credentials safe, securing web services, and the value of hindsight.
The Laravel Survival Guide Kindle Edition (by Tony Lea, published 20th February 2016)
A guide to save yourself and others from becoming a zombie developer! What exactly is a zombie developer? Well, a zombie developer is a developer like you or I, yet they mindlessly hack on PHP apps and do the same thing over and over. By learning the basics of Laravel you can save yourself, and possibly others, from becoming a deteriorating zombie developer.
Integrating Web Services with OAuth and PHP: A php[architect] Guide Paperback (by Matthew Frost, published 22nd February 2016)
Modern web applications are no longer standalone, monolithic codebases. Instead, they are expected to integrate with external, 3rd party applications to allow users to tap into new features, integrate with their social networks, and to easily migrate their data between systems. Many services afford these integrations by building web services that use the OAuth standard to authenticate users and allow “secure delegated access” on their behalf.
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 protected]
Interesting Projects, Tools and Libraries
FluidXML, a PHP library to manipulate XML documents with a concise and fluent interface.
A project bringing composer support and PHP 5 standards to pChart 2.0 library.
A PHP implementation of bower
A web-based application that produces publication-quality geographic maps.
Spress is a static site generator built with Symfony components.
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.
A PHP library with commonly used code blocks.
Opulence is a PHP web application framework that simplifies the difficult parts of creating and maintaining a secure, scalable website.
An error handler framework for PHP.
This web application allows every body without any particular knowledge required in webmastering to create their own website.
Faker is a PHP library that generates fake data for you.
Provides a simple interface to work with Unicode strings in upcoming PHP7.
A PHP code-quality tool.
The leading free/libre analytics platform.
A PHP library providing easy access to the Slack API.
Phony is a PHP library for creating test doubles.
Eris is a porting of Quickcheck and property-based testing tools to the PHP and PHPUnit ecosystem.
|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.