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!

March 12, 2015


Protect your code? Try SourceGuardian
Hi there PHP fans ;)

This week, learn about Brandon Savage's new error handler for PHP projects, which he has named BooBoo.

Also this week, WordPress developers can learn about the basic anatomy of the WP_Error class, particularly how to integrate it within your application.

Voting is now open for the 2015 At-Large Board positions for the Drupal Association. Meet the candidates and get to know them here.

Plus Nomad has announced a FREE event in a couple of weeks. Containers Throughout Your Environment will be presented by Phillip Baker on the 25th of this month.

And finally, this week's dev/hell podcast features Anthony Ferrara discussing the recent happenings on PHP Internals, which resulted in the loss of a productive community member.

Enjoy your read and have a great weekend.

Cheers
Katie and Ade

We still need your clicks please :)

 From our sponsors:
Dev courses from Tuts+ Signup for a free trial of New Relic and get 75% off Dev courses from Tuts+
(Sponsor this newsletter

 

Articles

On Code Reviews
There has recently been some discussion on the PHPNL Slack community about code reviews, which has prompted Stefan Koopmanschap to blog about his thoughts on the subject.

Envoyer - Zero Downtime PHP Deployments
Taylor Otwell, the creator of Laravel, has been working on a new product named Envoyer. Envoyer is focused on the deployment side of applications and includes things like zero downtime deploys, health checks, cron job monitoring, and more.

Introducing a New Error Handler for PHP Projects
Dealing with errors is one of the most frustrating and challenging parts of developing an application. Nobody likes to think about their application in a failure state, and there’s nothing more deflating than writing a bunch of great code, and getting a message that you forgot a semicolon on line 4. After trying a few packages and becoming frustrated with the nature of the available packages, Brandon Savage decided to write one. He called it BooBoo, because everyone makes mistakes. BooBoo is a package for error handling in PHP.

WPupdatePHP Project Aims to Help WordPress Users Get on Newer Versions of PHP
Developers are anxious for WordPress to bump up the minimum PHP requirement for core, as it’s currently lingering at 5.2, which is no longer among the supported versions of PHP. As of August 2014, PHP 5.3 no longer receives patches for security vulnerabilities.

Driving Change
These days many companies are focusing more and more on driving change. They have realised that change is a continuous process, and that change takes time. This article from Stefan Priebsch focuses on what you can do, personally, to assist with changes within your workplace.

Tutorials and Talks

Exploring the Webiny Framework: The StdLib Component
This introductory post looks at new framework Webiny, not focusing on the framework as a whole, but on the most basic of its components - the StdLib.

An Introduction to the WP_Error Class
In any development process, errors are something that you cannot avoid, no matter how competent and thorough you are when writing your code. As a WordPress developer, it is your job to make sure any of your code errors are being handled correctly without affecting the end user. WordPress is shipped with a basic error handling class, namely WP_Error that can be used and integrated into your code for basic error handling. In this tutorial, we will take a look at the basic anatomy of the WP_Error class, how it works and most importantly, we will cover how to integrate the WP_Error class within our application.

Building Your Startup With PHP: Localisation With I18n
This is part four of the Building Your Startup With PHP series on Tuts+. In this series, I'm guiding you through launching a startup from concept to reality using my Meeting Planner app as a real life example. Every step along the way, we'll release the Meeting Planner code as open source examples you can learn from. We'll also address startup-related business issues as they arise. In this tutorial, I wanted to step back and add I18n internationalisation support to our application before we build more and more code.

How to Check if an OAuth Token is Valid?
Some web applications need to show different information to users, depending on whether they have authorised API access using OAuth and if the access token is still valid, like for instance showing a login button or not. Read this article to learn about solutions for this problem. 

Commenting, Upvoting and Uploading Photos with the 500px API
In the first part of this series we used the API to get the latest photos from 500px and filter through them, and we built a user profile with the list of associated photos. In this part, we are going to give the user the ability to vote, favourite and comment on photos, and finally, we will give the users the ability to upload their own photos.

A Simple Guide to the WordPress Quicktags API
As of version 4.0, there are 18 built-in APIs in WordPress. They are all extremely important to different aspects of WordPress, and together they help WordPress to be the most flexible content management system in the world. One of these APIs is the Quicktags API, which lets plugin and theme developers add new buttons to the Text mode (usually called the HTML mode) of the WordPress editor. In this tutorial, we're going to learn what the Quicktags API is, and how to use the API to create new buttons for the HTML editor.

Working With The PayPal API
PayPal recently introduced a new RESTful API that is more convenient and more powerful than the previous version. In this article, I will show you how to integrate your PHP application with the new PayPal API.

Protecting Your Keys From GitHub
In this tutorial, I'll walk you through one solution I use in my own applications to separate my repository code from my keys.

Xdebug 2.3: Enhanced xdebug_debug_zval()
This is the second article in a series by Derick Rethans about new features in Xdebug 2.3, which was first released on February 22nd.
News and Announcements

Special FREE Nomad Event - March 25th 2015 14:00 CDT
Containers Throughout Your Environment, presented by Phillip Baker. Containers, and Docker specifically, have exploded in popularity, but it is hard to know when and where to put them to use. Beyond understanding the basics of containerisation and how it differs from other technologies, engineers and development teams should consider whether containers can solve problems at different levels of the stack – development, testing, staging or production. This talk will walk through the background of containers and dive into good uses of containers in different areas of a codebase’s lifecycle.

Voting is Open for the 2015 At-Large Board Elections
Voting is now open for the 2015 At-Large Board positions for the Drupal Association! If you haven't yet, check out the candidate profiles and review the 'Meet the Candidate' sessions (we ran three) that we held. Get to know your candidates, and then get ready to vote.

International PHP Conference Spring Edition - June 7-10th 2015, Berlin
The International PHP Conference was the world's first PHP conference and stands since more than a decade for top-notch pragmatic expertise in PHP and web technologies. At the IPC, internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Early bird tickets are available for the next couple of weeks.

CakeFest - May 28th-31st 2015, New York
CakePHP makes building web applications simpler and faster, and require less code, providing developers with a full MVC stack solution to build powerful applications which scale. The CakePHP conference has been announced for May this year, with two days of workshops and two days of the conference. Early bird tickets are available now.

OpenWest Conference - May 6-9th 2015, Utah
Utah Open Source Foundation, a collaboration of volunteers from local user groups, held its first conference in 2006 to support and promote open-source software. It is the largest regional tech conference devoted to all things OPEN: Hardware, Standards, Source and Data. Tickets are available now.

Podcasts

dev/hell Podcast Episode 57 - 57 Flavours of Hell
This episode we are joined by PHP whiz kid Anthony Ferrara to discuss recent happenings on PHP Internals, where a productive community member stepped away entirely. We discuss the merits of the proposals (particularly the controversial Scalar Type Hints RFC), and what the PHP community could be doing better to prevent contributor burnout. Also I guess we talked about baby animals…?

Voices of the ElePHPant - Interview with Eryn O'Neil
This week Cal Evans talks to Eryn O'Neil, PHP developer and tech leader at Clockwork in Minnesota.

Acquia Podcast: 4 Benefits of Hiring Dedicated Open Source Contributors
Eric Mandel, CEO of infrastructure provider Blackmesh, and I got the chance to speak at PHP World 2014 (where I was also a keynote speaker). We spoke about his history with development, open source, and Drupal. I also had the chance to ask Eric about how Blackmesh has become a leader in the area of corporate contribution to Drupal, employing Cathy Theys to work on Drupal core, mentor new Drupal contributors, and help out at code sprints around the world.

Full Stack Radio Podcast - Episode 11: Jeffrey Way - "But How Does It Feel?"
In this episode, Adam talks with Jeffrey Way of Laracasts about learning, object oriented design, testing, API usability, and a whole bunch of other stuff.

Reading and Viewing

Drupal Community Spotlight - Aaron Winborn
This weeks Community Spotlight features long-time community member Aaron Winborn. From building the Media module to helping organise NYC Camp, Aaron has had a massive impact on the Drupal community and project.

PHP: 20 Lessons to Successful Web Development Paperback (by Robin Nixon, published 16th February 2015)
Based on the author's successful online courses, this complete, integrated learning tool provides easy-to-follow lessons that feature clear explanations, sample code and exercises, and video tutorials. Each lesson is designed to take you less than an hour to complete.

MYSQL Programming Professional Made Easy (by Sam Key, published 6th February 2015)
Expert MYSQL programming language success in a day for any computer user.

How Can a Newbie Freelancer Become Popular in Freelancing Websites?
You gain popularity by doing more work and getting good reviews and recommendations from the clients you work with. Listen to, watch or read John Morris' post here.

Laracasts - Advanced Eloquent
This series of tutorials concentrates on the building blocks of Eloquent.

Jobs

To post a job advert please contact katie@phpweekly.com

Fuzzy Matching Project Work
We are looking for someone to help on a specific project which will involve matching products on one website with products on another website. Someone with skills and demonstrable experience of matching algorithms is a necessity. If you can’t prove that you can do this kind of work please do not contact us. For the right person there is ongoing exciting work. In the first instance please contact us at adrian.teasdale@gmail.com with “Fuzzy matching project” as the subject and we will then create a shortlist, providing the shortlist with information about our company.

Interesting Projects, Tools and Libraries

simplet
Simplet is a simple, file-based cms framework written in PHP, with members, forums and blogging built in.

semver
SemverLib is a simple-to-use PHP component for easily comparing two semantic version numbers with each other.

pheanstalk
Pheanstalk is a pure PHP 5.3+ client for the beanstalkd workqueue. It has been actively developed and used in production by many, since late 2008.

phprandom
The purpose of this library is to provide random data generation that is easy to mock when unit testing.

spectrum
Spectrum is a PHP framework for test automation.

ldaptools
LdapTools is a feature-rich LDAP library for PHP 5.6+.

plum
Plum is a data processing pipeline for PHP that helps you to write structured, reusable and well tested data processing code.

base
Base is a simple database abstraction in PHP. 

phpback
PHPBack is an open source feedback system you can use for your website. 

logger
Lightweight logger library based on the php-fig psr-3 logger interface standard.

dsl-client-php
This project is a client library used for interacting with DSL platform from PHP.

puppet-php
Install PHP packages and configure PHP INI files, for using PHP from the CLI, the Apache httpd module or FastCGI.

homebrew-php
A centralised repository for PHP-related brews.

safely-php
A library for more secure handling of GET/POST objects in PHP.

pooch
A simple lightweight MVC PHP framework.

react-php-v8js
React-PHP-V8Js is an experimental library that uses the power of Facebook's React library to render UI components on the server-side with PHP, as well as on the client.
Please help us by clicking to our sponsor:


 From our sponsors:
Dev courses from Tuts+ Signup for a free trial of New Relic and get 75% off Dev courses from Tuts+
(Sponsor this newsletter

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 
 


Protect your PHP code with SourceGuardian. Free trial.

 

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