Welcome to the latest phpweekly newsletter,
Several releases have been announced by the PHP development team this week - PHP 7.0.10, 5.6.25, and 7.1.0 Beta 3, all available immediately.
We also have the first of a three part post from Paul Jones, looking into the condition and actions of the FIG.
The Call for Papers has just opened for ConFoo Montreal, taking place in March next year.
Plus, Cal Evans' latest Voices of the ElePHPant podcast was recorded live at this years php[tek] conference, where he interviewed core developer Adam Harvey.
And finally, if you are looking for a new challenge, we bring you a list of ten high growth companies that are currently looking to hire great PHP developers.
Once again, thanks for reading.
Cheers
Ade and Katie |
We love our sponsors. Why not try them?
From our sponsors:
|
Articles
FIG Follies, Part 1
This is the first of three posts I intend to make regarding the condition and actions of the FIG, and what they reveal.
A Response To PHP- The Wrong Way
For anyone who isn’t aware, there is a site call http://phptherightway.com, which is a summary of good (dare I say, best?) practices for writing PHP in 2016. In addition, there now exists http://phpthewrongway.com, whose aim is to provide a kind of counterbalance to http://phptherightway.com and what is presently mainstream PHP culture. This article is a rebuttal to the arguments found in http://phpthewrongway.com.
The Software Dilemma
Any time software and business come together, there is an inherent conflict between “get it done fast” and “do a good job”. This conflict often comes to a head when deadlines are missed, whether through unrealistic expectation or underestimation on the part of the developers.
10 High Growth Companies Hiring PHP Developers
The fact is that PHP continues to be so popular that large companies have still great demands for qualified PHP developers. Read this article to learn about some of the high growth companies that continue to look for great PHP developers.
Github Tips
Github has fundamentally changed the opensource landscape, especially for those among us remembering the sourceforge days. While Github is powerful out of the box, there are some tips, tricks, and browser addons that can be used to improve the experience. |
Tutorials and Talks
Laravel Notifications – Easily Send Quick Updates Through Slack, SMS, Email, and more
Laravel Notifications is an all new feature coming to Laravel 5.3 that allows you to make quick notification updates through services like Slack, SMS, Email, and more. Let’s see how easy it is to build and send a notification using this new feature.
Quick Tip: Convenience Hacks for Passing Data to Views
In MVC based architectures, working with template engines is an inevitable part of the development routine. It usually goes like this: we prepare and pass the data to the view. In the view, we print them based on our layout design. In this post, we’re going to talk about a trick for passing the defined variables to the view in a somewhat more convenient way.
Building a CMS: phpPress
In past tutorials, I have shown you how to create a flat file system content management system (CMS) using Go, Node.js, and Ruby. In this tutorial, I am going to take the same design model and build a server using PHP. Since PHP isn’t a server by itself, but is usually paired with the Apache web server, I will show you how to set up the Apache web server inside a Vagrant virtual system.
Drupal 8 Accessibility Features
The Drupal accessibility initiative started with some advancements in Drupal 7 to ensure that Drupal core followed the World Wide Web Consortium (W3C) guidelines: WCAG 2.0 (Web Content Accessibility Guidelines) and ATAG 2.0 (Authoring Tool Accessibility Guidelines). Many elements introduced in Drupal 7 were improved and bugs discovered through intensive testing were addressed and integrated to Drupal 8 core as well. Let’s take a tour of the accessibility in Drupal 8.
The Proximity Rule?
I noticed a recurring style in my code lately. Actually, my pair noticed and asked me about it. I call it the “Proximity Rule”. I wanted to call it the “Proximity Principle”, but the initialism made my inner-child chuckle. I feel it’s easier to explain with code samples.
Using Composer to Autoload ZF Modules
One aspect of Zend Framework 3 we paid particular focus on, was leveraging the Composer ecosystem. We now provide a number of Composer plugins for handling things such as initial project installation, registering installed modules with the application, and more. It's the "more" I particularly want to talk about.
Using Bitwise Instead of Booleans
The naive way of storing many boolean options (in a database) is to create for each option a field and storing a 0 when it is false and 1 when it is true. Which of course works, but adding options will require a new field, which might require creating a compatibility layer for your old data. There is an easier way to do this and it's even more efficient at checking fields. In this post I'm going to explain how to use bitwise operators and how it works internally.
Enforce Software Layer Dependencies with Deptrac
Deptrac is a tool recently announced by Sensiolabs. It helps you keep dependencies between the different layers in your architecture under better control by providing insight into the current state of the dependencies, and warns you when unwanted dependencies get introduced.
How To Use Laravel’s Eloquent ORM with Zend Expressive
I’ve been getting to know Laravel a bit better recently, primarily for the comparison I wrote about it and Zend Expressive not that long ago. The tutorial was exceptionally well received. So I thought I’d dig a bit further, and see if I could use Eloquent instead of my standard Zend\Db. It turns out, with a bit of work, you can do it! In today’s tutorial, I’m going to step you through how to make it available, using a project based off of the Zend Expressive Skeleton Installer.
Framework-Agnostic PHP Cronjobs Made Easy with Crunz!
In this article, we’re going to learn about a relatively new job scheduling library named Crunz. Crunz is a framework-agnostic library inspired by Laravel’s Task Scheduler, but improved in many ways. Full disclosure: I’m the author and am welcoming contributions and comments on how to improve it further! |
News and Announcements
PHP 7.0.10 Released
The PHP development team announces the immediate availability of PHP 7.0.10. 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 5.6.25 is Released
The PHP development team announces the immediate availability of PHP 5.6.25. 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.1.0 Beta 3 Released
The PHP development team announces the immediate availability of PHP 7.1.0 Beta 3. This release is the last beta for 7.1.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.
Forum PHP - October 27-28th 2016, Paris
The annual conference organised by the French PHP-users group, gathering all PHP and Open Source communities, pros and PHP lovers. Tickets are on sale now.
True North PHP Conference - 3rd-5th November 2016, Toronto
The 2016 edition of TrueNorthPHP will be the last, as the organisers are moving on to other activities.Three days of learning things you didn't know about PHP and complementary technologies. You'll also get the chance to meet and talk with some of the PHP community's best-known speakers and contributors. Please join us on November 3-5, 2016 as we will go out on top with an awesome conference! Early Bird tickets are on sale now.
php[world] - November 14-18th 2016, Washington DC
php[world] is a conference like no other. Designed to bring together the various sub-communities that are linked by the PHP programming language. Drupal, WordPress, Joomla!, Magento, Laravel, Zend Framework, Symfony and CakePHP all have strong independent communities, but together as the PHP community, the sum is greater than the whole. Tickets are on sale now.
Sunshine PHP Conference - 2nd-4th February 2017, Miami
The SunshinePHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 2nd - 4th, 2017, 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. Blind Bird 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. The Call for Papers is now open. |
Podcasts
Lately in PHP Podcast Episode 74 - Will Lazy Statements Make PHP 7 Programming More Efficient?
A recent proposal is being discussed for a PHP 7 feature called lazy statements. It would allow developers to assign values to variables based on code that is only executed when the variable is accessed for the first time, thus avoiding executing the code if the variable ends up never being accessed. That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in Episode 74 of the Lately in PHP podcast hangout.
Voices of the ElePHPant - Interview with Adam Harvey
This week Cal Evans interviewed core developer Adam Harvey, recorded live at php[tek] 2016 in May.
Full Stack Radio Podcast Episode 48: Jessica Lord - Building Desktop Apps with Electron
In this episode, Adam talks to Jessica Lord of GitHub about building desktop applications in HTML and JavaScript using Electron.
PHP Round Table Podcast Episode 51: What Happened To PHP 6?
Despite the fact that there was never an official release of PHP 6, it was going to be a real thing with a lot of great improvements to the engine and language. But why was this version of PHP never released? We talk with some previous and current internals developers to hear the story of what happened to PHP 6.
Laravel News Podcast LN24: Laracon EU Special Edition
This week we are joined by Shawn McCool and Freek Van der Herten to talk about Laracon EU, happening this week.
The Laracasts Snippets Episode 38: You Are Who You Say You Are
"Fake it 'til you make it" is a great idea, just as long as you back it up behind the scenes with actual work toward the thing to which you're faking. |
Yii Framework Contributor Alexander Makarov on Development
Alexander Makarov is a senior engineer and one of the core contributors of the Yii Framework. He is the author of Yii Application Development Cookbook. In his interview with Cloudways, Alexander talks about his career path, his contributions to the Yii framework, makes a comparison of Yii with other frameworks and at the end gives wonderful advice to students. Enjoy the interview 🙂
RFCs of the Future: Closure from Callable
Callables are awesome. I can pass functions or object methods around inside of variables. Sure, they can be abused to the point where you can’t recognise your code, but overall, they are awesome. Could they be made more awesome? Core Developer Dan Ackroyd seems to think so, and so he proposed and got passed PHP RFC: Closure from callable function.
Laravel 5.3 Overview
Watch Taylor Otwell presenting from Laracon US.
Interactive Debugging in Python with PDB
Debugging takes up a significant time of the software development cycle. In Python, this process is made simpler by using the interactive debugger module, “pdb”. It lets you temporarily stop the execution of a program and assess the situation to better approach your bug from the point of view of execution.
How to Create Your Own Software Product Business Without Quitting Your Day Job
Many developers want to create their own software product business but they still need money to support themselves, and so cannot quit their day jobs. Watch this very short video to learn about a simple tip on how you still can create your own business without having to quit your current job.
PHP cURL Tutorial and Example
A simple PHP cURL tutorial and example. Learn how to use curl_init, curl_setopt, and curl_execute. Also learn how to POST data to a remote URL using cURL. |
Jobs
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
phploy
PHPloy is an incremental Git FTP and SFTP deployment tool.
grpc
The C based grpc (C++, Node.js, Python, Ruby, Objective-C, PHP, C#).
swagger-php
A PHP swagger annotation and parsing library.
routing
A simple & powerful router for PHP 5.4+.
hhvm
A virtual machine designed for executing programs written in Hack and PHP.
minify
CSS & JavaScript minifier, in PHP.
phpword
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats.
elkarte
ElkArte is a modern, free, powerful community building forum software. It is completely free and licensed with an open source BSD 3-clause license.
selenia
Selenia is a web framework for the rapid development of web applications and websites using the PHP language.
scrapbook
Scrapbook is a caching environment for PHP, with adapters for e.g. Memcached, Redis, Couchbase, APC, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.
betterreflection
Better Reflection is a reflection API that aims to improve and provide more features than PHPs built-in reflection API.
php-spider
A configurable and extensible PHP web spider.
peridot
The highly extensible, highly enjoyable, PHP testing framework.
expression
Implementation of the Specification pattern and logical expressions for PHP. |
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.
|
|