sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

December 28, 2017

Well here we are folks, on the cusp of 2018, bringing you the last edition of phpweekly.com of 2017.

Packed with the usual mixture of podcasts to listen to, tutorials to work on, and conferences to sign up for.

Ade and I would like to thank each and every one of you out there in the PHP community who have subscribed to our weekly newsletter, and who help us immensely with article submissions, ideas and general advice.

With almost 21,000 people receiving and reading PHP Weekly each week, we would not be where we are today without all of you. We are humbled by the kind words and inspired by the advice.

Here's to a Happy, Healthy and Prosperous 2018 for you and your families.

Cheers!
Katie and Ade
 

Please help us by clicking to our sponsor:

encrypt php scripts 
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

Zend Framework in 2017: By The Numbers
It’s been a banner year for Zend Framework, as our vibrant community contributors helped us to release major new features and updates plus our overall interactions with the people who make Zend Framework what it is, grew significantly. All this activity means a better foundation for Zend Framework, and some amazing things planned for 2018. Here’s just a few items and numbers to illustrate how we did this year.

A Little Christmas Gift
2017 was a busy, and very interesting year. We are just getting home from our annual strategy workshop in the Bavarian mountains, and while we are happy to settle down for Christmas now, we are also looking forward to 2018 and the many cool things we have in store for you.

Saying Thanks - Open Source Appreciation
Wow, it has been a really long time since I’ve posted here. Most of my writing has ended up in articles of php[architect] or over on Websec.io. I wanted to jump back into the blog though and talk about something inspired by a post over on the Symfony blog about giving thanks.

What ORMs Have Taught Me: Just Learn SQL
I've come to the conclusion that, for me, ORMs are more detriment than benefit. In short, they can be used to nicely augment working with SQL in a program, but they should not replace it.

2017 - A PHP Year In Review
It's this time of year again - the end of the year is coming up fast, so why not step back and take a look at what we, as a PHP community, have achieved this year?

Tutorials and Talks

An Async Map Function
Laravel has an excellent Collection class that has many useful operations. The class is also macroable. This means that you can add function to it at runtime by calling macro on it and passing a name and a closure. In our projects we tend to code up the same macros over and over again. That's why we have put those macros in a package called laravel-collection-macros so we, and the community, can reuse them. In this post I'd like to talk a bit about a new macro that we added today called parallelMap.

ReactPHP HTTP Server Middleware
What exactly is middleware? In real application when the request comes to the server it has to go through the different request handlers. For example, it could be authentication, validation, ACL, logger, caching and so on. Consider the request-response circle as an onion and when a request comes in, it has to go through the different layers of this onion, to get to the core. And every middleware is a layer of the onion. It is a callable object that receives the request and can modify it (or modify the response) before passing it to the next middleware in the chain (to the next layer of the onion).

Prooph Query Bus
Continuing on with the Prooph series, I want to take a look at the query bus of the Prooph service bus component. The query bus provides a way to issue a query (not necessarily a database query!) to a query handler. This handler is then responsible to return a result for our query.

Using the Multipart Uploader with Client-Side Encryption for Amazon S3 in the AWS SDK for PHP
The AWS SDK for PHP released support for multipart uploads with client-side encryption in version 3.48.0 via the S3EncryptionMultipartUploader. With client-side encryption, data is encrypted and decrypted directly in your environment. This means that this data is encrypted before it’s transferred to Amazon S3, and you don’t rely on an external service to handle encryption for you.

Say Thanks to the Libraries You Depend On
If you're like me, you build apps that depend on a lot of great PHP libraries that are maintained by countless talented developers. That's amazing! The PHP community has come so far! And while I try my best to contribute back, it's tough to show appreciation for all these efforts.

PHP AMQP Clients - Benchmark Them All!
Increasing popularity of AMQP interop prompted a wave of questions regarding which adapter is the fastest. In this post, I am going to share my findings of message publishing performance. There will be a similar post about consumption side.

Buffered vs. Unbuffered Channels in Golang
As any newcomer to Golang and it’s ecosystem, I was eager to find out what is this hubbub about these things called goroutines and channels. I read the documentation and blog posts, watched videos, tried out some of the “hello world” examples and even wasted a couple of days trying to solve the puzzles for day 18 from Advent of Code 2017 using goroutines and failed spectacularly.

The Flex composer.json File
We need to make our composer.json file look like the one from symfony/skeleton. Actually, go to "Releases", find the latest release, and then click to browse the files. Now we can see the stable composer.json contents. So... yea, this one file is all you need to start a new project. That's crazy! Flex builds the project structure around it.

Objectively Comparing ORM/DAL Libraries
For many of us, developers, pattern of accessing external data (SQL) is a thing of preference. We get used to different syntaxes and subjectively endorse it. By looking past the individual preferences, I wanted to create a “comparison criteria” that would help the PHP community to objectively evaluate data persistence frameworks based on features.

PHP Security Mini Guide – SQL Injection
PHP is the world’s most popular (Server-side) Web Programming Language. According to W3Techs, as of November 2017, 83% of the websites are powered by PHP. Among those websites are Facebook, Yahoo and Wikipedia. Since PHP is so popular, PHP security is essential since the number of vulnerable web applications is large. Finding a web application which does not share part of a code/script with another is rare. That means that if the shared piece of code is found to be vulnerable, all the applications which are using it are also vulnerable.
News and Announcements

Sunshine PHP Conference - 8-10th February 2018, Miami
The SunshinePHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 8th - 10th, 2018, 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 on February 8th 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 on February 9th and 10th containing 5 keynotes and 40 PHP talks over 4 tracks. 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. Early Bird Tickets are on sale now.

International PHP Conference - June 4-8th 2018, Berlin
The International PHP Conference is the world’s first PHP conference and stands since more than a decade for top-notch pragmatic expertise in PHP and web technologies. Internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Here is the place where concepts emerge and ideas are born - the IPC signifies knowledge transfer at highest level. All delegates of the International PHP Conference have, in addition to PHP program, free access to the entire range of the webinale taking place at the same time. Early Bird tickets are on sale now.

Podcasts

Three Devs and a Maybe Podcast - Everything Serverless with Andy Raines
In this weeks episode we chat to Andy Raines about all things Serverless. We start off by discussing what Serverless actually means, advantages of using such a model, design constraints it employs and how it scales. From here we touch upon the history of how we got to the compute/infrastructure we use today: from on-premise servers, IaaS, PaaS and FaaS/BaaS. This leads us on to highlight the 12-factor app methodology, how immutability has vast benefits in many contexts and how FaaS platforms work under-the-hood. Finally, we mention the Serverless PHP project Andy is working on, the motivations behind it and future development he would like to see take place.

Secure Messaging for Everyone with Wire
We talk with Alan Duric, Co-founder and CEO of Wire, an open source end-to-end encrypted instant messaging app for voice and video calls. In 2005 Alan co-founded Camino Networks which was later acquired by Skype, and his involvement with internet based voice communications goes back 20 years. We talk about the early days of Skype, why Wire is open source, the importance of encryption, the importance of secure messaging, their polyglot ways, and how they plan to stand apart from other apps like WhatsApp, Telegram, Signal and more.

Full Stack Radio Podcast Episode 79: Kent C. Dodds - Building Reusable React Components with Render Props
In this episode, Adam talks to Kent C. Dodds about building downshift, a React autocomplete component he designed for experiences he needed to build at PayPal. Kent gives a behind-the-scenes look at how the library uses the render prop pattern to allow maximum customisability without complex configuration.

PHP Ugly Podcast #87: We Forget John
Topics include Peak PHP and the current state of WavePHP.

Reading and Viewing

Best Christmas Deals Of 2017 – Grab WordPress, Magento, Cloud Hosting, Web Dev & Marketing Tools Discounts
It's Christmas! It is also the time when many of us start thinking about the projects that will go live or move to a new home in the next year. We at Cloudways understand and appreciate this line of thought and decided to bring you an offer that would give you a head start.

WordPress User Survey Data for 2015-2017
For many years, we’ve invited folks to tell us how they use WordPress by filling out an annual survey. In the past, interesting results from this survey have been shared in the annual State of the Word address. This year, for the first time, the results of the 2017 survey are being published on WordPress News, along with the results of the 2015 and 2016 survey.

Susan Rust On Running A Drupal Dev Shop
Susan Rust is the CEO of Flashpoint Marketing and has vast experience with Drupal throughout her career. She has spoken at a lot of Drupal events and is a highly inspirational figure in the world of marketing and Drupal. Today, we sit down with Susan to have a chat about her experience with Drupal and the impact it has had on her career.

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (by Larry Ullman, published 3rd November 2017)
When it comes to creating dynamic, database-driven Web sites, the PHP language and MySQL database offer a winning combination -- and with PHP 7, web professionals can achieve dramatic performance improvements. Combine these great open source technologies with Larry Ullman's PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fifth Edition, and there's no limit to the powerful, interactive Web sites you can create.

PHP & MySQL - Novice to Ninja, 6e Paperback (by Tom Butler and Kevin Yank, published 7th November 2017)
A hands-on guide to learning all the tools, principles, and techniques needed to build a fully functional application using PHP & MySQL. Comprehensively updated to cover PHP 7 and modern best practice, this practical and fun book covers everything from installing PHP and MySQL through to creating a complete online content management system.

Jobs

Web Engineer at Zeek
Interested in putting your PHP and WordPress knowledge to use with a small and highly focused group of people? Build and learn in a collaborative and empowering organisation.




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

no-captcha
No CAPTCHA reCAPTCHA For Laravel.

spaghettify
A PHP 7, postgreSQL web platform built on slim framework.

myaac
A free and open-source Automatic Account Creator (AAC) and Content Management System (CMS) written in PHP.

grav
Modern, crazy fast, ridiculously easy and amazingly powerful flat-file CMS.

git-wrapper
A PHP wrapper around the Git command line utility.

latitude
A SQL query builder for PHP with zero dependencies.

qrcode
This library helps you generate QR codes in a jiffy.

telegram-api
Complete async capable telegram bot API implementation for PHP7.

ac-php
Emacs auto-complete & company-mode for PHP.

nolovia
An ad/malware blocking configuration file generator for bind, NSD, and other DNS resolvers.

mellivora
A CTF engine written in PHP.

valet-plus
Blazing fast macOS PHP development environment.

Please help us by clicking to our sponsor:

encrypt php scripts 
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?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks.
Also, if you have a site or blog related to PHP then please link through to our site.

unsubscribe from this list | update subscription preferences 
 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com