|Welcome one, welcome all, to the latest edition of phpweekly.com.
Speculation is mounting over what the next version of PHP should be called. Surely after 5.x comes 6.x? So why is there a proposal to name it 7.x?
The WordPress team has released 4.0 Beta 2 for download and testing.
Only a few weeks until PHP Summer Camp in Croatia, with three days of Symfony and PHP focused practical workshops and training.
Also, the China PHP Conference is almost upon us and, if you don't already have a ticket, there's just one day left to get a 10% discount, so be quick!
Finally the Three Devs and a Maybe Podcast team are joined by James Watts of the CakePHP project, discussing his experiences in programming and how he got involved with the project.
We always love to hear from fellow PHP fans so don't be shy, drop us an email at [email protected] with any feedback you feel compelled to share :o)
Help us keep PHP Weekly going
Please help us to keep doing this each week by visiting our sponsor:
From our sponsors:
The Next Version Of PHP And The Status Of PHPng
If the current version of PHP is 5.x, what should the next version be called? Obviously it should be 6.x. Why then is there a proposal that it should be 7.x? And as PHPng gets ever faster, is it PHP 5.7, PHP 6.0, PHP 7.0 or even PHP 8.0?
10 Most Common PHP Mistakes
PHP makes it relatively easy to build a web-based system, which is much of the reason for its popularity. But its ease of use notwithstanding, PHP has evolved into quite a sophisticated language, with many nuances and subtleties that can bite developers, leading to hours of hair-pulling debugging. This article highlights ten of the more common mistakes that PHP developers need to beware of.
5 Steps to Build Perfect Web Sites using the Design Thinking Process
The PHP Classes site is launching a new design for the package pages. The Design Thinking process was applied to determine exactly what needed to be added or improved to make it perfectly address the users' needs. Read this article or watch the demonstration video to learn how the Design Thinking process was used to create this new design and upcoming features that will address other users' needs that no other site is satisfying.
Action-Domain-Responder, Content Negotiation, and Routers
While talking about Action-Domain-Responder on the Crafting Code Tour, one of the common questions Paul Jones was asked was: “Where does content negotiation happen?” His response was always: “Where does it happen in Model-View-Controller?” That opened up a discussion on how content negotiation is a tricky bit that can go in different places, depending on how you want the concerns separated, and is not a problem specific to ADR.
Tutorials and Talks
KissTest, a Simple, Fast, and Beautiful Unit Test Framework for PHP
PHPUnit is a great testing framework. However, over time Joe Fallon began to wish it had certain features, so he created KissTest. It is a Keep-It-Simple-Straightforward (KISS), very fast, and absolutely gorgeous xUnit style unit test library.
Running WordPress on OpenShift Part2
In this tutorial, we will dive deeply into OpenShift to understand the custom build and deployment process. We will also learn the command-line tool for logging and troubleshooting when our application is down.
How to Create and Share a Vagrant Base Box
Interesting tools are emerging each day of the year, helping developers work faster, keeping them focused on the actual business values of the project. One such tool is Vagrant, which is becoming one of the strongest helping hands for a developer, standardising how development environments are created and managed. In this article you’ll learn how to create your own Vagrant base box based on Ubuntu 14.04 LTS, provision it with your favourite apps and share it with the rest of us using Vagrant Cloud.
Sending HTML Emails with Drupal 7, Webform, and Mandrill
By default, Drupal is configured to send out plain text emails. For many developers, plain text email is sufficient and preferable to HTML email. HTML email is still, in this day and age, not guaranteed to render the same across email clients, more likely to be labeled as spam, and requires a significant amount of testing to make sure it works. In this article, we’ll look at the modules to install and configure to enable HTML emails and, specifically, how to change the default Webform email template to send submissions as HTML.
Best Practices When Working With Sensitive Data: Securing Your Server
When it comes to sensitive data like credit card numbers, user addresses or social security numbers, you can never be too careful. You have to ensure to your users that the information they provide you with is safe on your servers. In this article, I will show you how you can make your sensitive data secure. This part will focus on the lower levels of security, like network and the server.
Social Network Authentication: Google+
In the previous part of this series, we created our initial interfaces which we’ll be using for all future parts. In this article, we will integrate Google+ within our application.
Getting to Know Zend Server 7
Zend Technologies is the company which funds the development of the Zend Engine (the engine PHP is based on), as well as Zend Framework and some other projects like Apigility. They also build proprietary software of high professional caliber, designed for high intensity PHP work in large companies – software like Zend Studio and Zend Server – though both are excellent tools for solo devs as well. In this post, we’ll be taking a look at the latter.
Tips for Best Practices in WordPress Development
In this series, we're going to cover the most important things you should consider when developing a WordPress Plugin or a WordPress Theme. This guide aims to provide a set of good practices that will be helpful to beginners and also to expert developers that are starting to work with WordPress.
|News and Announcements
SourceGuardian 10 Released
SourceGuardian 10 has been released today which adds improved code protection methods, as well as encoding, for PHP 5.6 as well as some new options. This update is entirely based on user suggestions and is definitely worth trying.
WordPress 4.0 Beta 2
WordPress 4.0 Beta 2 is now available for downloading and testing. This is software still in development, so we don’t recommend that you run it on a production site.
Drupal 7.29 and 6.32 Released
Drupal 7.29 and Drupal 6.32, maintenance releases which contain fixes for security vulnerabilities, are now available for download.
PHP Summer Camp - September 3rd-6th 2014, Croatia
Three days of Symfony and PHP focused hands-on workshops, the Summer Camp is a two-in-one type of event that focuses on practical workshops and training. While it doesn’t actually give you any certificates or framable papers you can hang on your wall, it does provide in depth exercises of different depth and breadth with different types of software.
ZendCon - October 27-30th 2014, Santa Clara CA
The 10th Annual ZendCon conference takes place in October this year. Known by community members as one of the “must attend” PHP conferences, this year's main topics include PHP Best Practices & Tooling; Continuous Delivery & DevOps; and Application Architecture - APIs, Mobile, Cloud Services. Tickets are on sale now, with the Special Summer price ending next week.
China PHP Conference - August 2nd-3rd 2014, Shanghai
ThinkInLAMP will be hosting a 2-day event filled with high quality, technical sessions about PHP Core, PHP High Performance, PHP Engineering and more. One more day to get a 10% discount on your tickets.
That Podcast Episode 5: The One Where Everyone Is Going to London
Beau and Dave discuss having been selected for Symfony Live London and how they plan to bring their families with them so everyone can hang out in person for the first time. Beau discusses his other upcoming talks including Nomad PHP EU and php[world] and Dave talks a bit about his pair programming setup. Both agree that rewriting code from another project is a great way to really understand how the thing ticks.
HHVM: The New PHP?
Facebook has scaled its service to over a billion users, which is very impressive. At some point, however, PHP became its bottleneck. Turns out that rewriting over a million lines of code, even in another language, is not a viable option. So if you cannot change the application, why not change the platform? That is exactly what Facebook did when they created HipHop. HipHop was great, but ultimately failed. Now, the new kid on the block is HHVM, an alternative runtime for PHP. Will HHVM replace PHP? Should you care?
Three Devs and a Maybe Podcast: Delving into CakePHP with James Watts
This week we are very lucky to have James Watts, a core member of the CakePHP project, on the show. Initially starting off with his journey into programming, we move on to talk about the differences we find between junior and senior developers. We then touch upon his previous start-up experience and how that resulted in him thinking more about the product as a whole. CakePHP has been around for almost 10 years now, and we discuss how he got into the project - along with the framework's key goals. We then move on to highlight some of the key differences/features you will find in the next major release (3.0). Finally, we discuss his upcoming book, and his experiences with organising a large open-source community event.
The Loosely Coupled Podcast: Episode 7 - Building a Testing Culture
In this episode Matt and Jeff discuss how to build a testing culture in your company. They discuss organisation resistance, the importance of testing and how to move forward when the rest of your company is less than excited.
Securing PHP: Core Concepts (by Chris Cornutt, published 21st June 2014)
This book acts as a guide to some of the most common security terms and provides some examples of them in everyday PHP. Anything's easier to learn when you're all speaking the same language. This book starts you in the right direction, providing directions on the path to more secure development. Your users deserve a better level of privacy and security in the services they use.
Make an iPhone App with MySQL and WordPress (by Sunny Chanday, published 26th June 2014)
Make your iPhone app with WordPress and MySQL database in less than 30 minutes with sample code and design. All the codes with snapshots are present in the book.
PHP Next Generation is outperforming Facebook’s HHVM
Last month Andi Gutmans, CEO and co-founder of Zend, gave an exclusive interview to Antoine Crochet-Damais at Journal du Net in Paris. Read the translated version here.
DeskPRO is hiring a QA Engineer with Codeception Experience. (London or Remote / Perm or Contract)
Join our team and lead the QA effort at DeskPRO. Your initial focus will be building a large acceptance test framework in codeception.
SHAREIGHT Full Stack Developer - London
SHAREIGHT are looking to add talented full-stack developers to their team. To gain a place in our team you should have solid experience building and maintaining complex software systems. Developers who apply creativity and passion to solve human problems with software and technology will fit right in with us. We work in an Agile way and value team players who can collaborate with others to deliver elegant solutions.
*CMNTY is Looking for a Symfony2 PHP Developer!
CMNTY Corporation develops online communities. Our SaaS solutions will belong to your main task areas. You will be responsible for the architecture, planning and development of our products. You will implement new features, find and fix bugs and optimize code. Visit our Facebook page to learn more.
Developer for Performance Telecom
Performance Telecom require a developer, based near Durham, UK, to work on an exciting Customer Satisfaction system. This role would suit someone with experience as well as someone who is willing to learn new 'stuff'. Contact [email protected] with your CV/Resume and for more information. This is NOT a remote position.
DeskPRO is hiring Full Stack PHP Developer (Symfony/AngularJS) in London or Remote.
Join our small London based team (excellent remote workers considered as well) building a large PHP application where your work will have immediate impact on our millions of end users. Lots of interesting projects coming up including adding elasticsearch and memcached to our stack, writing a DeskPRO app for telephony based upon Twilio, integrating our software with other companies APIs, adding functionality to our phonegap mobile app as well as continuing the development of our core software platform.
Interesting Projects, Tools and Libraries
PHP Time Utilities is a set of classes useful for assisting with working with time related values in PHP and MySQL.
Raven is a PHP client for Sentry.
Simple event manager tool for Laravel.
PHP Bindings for Conekta's API.
A Service Locator/Dependency Container for PHP.
Simple PHP concurrency primitives.
A simple class to manipulate Dictionary data structures within PHP.
Purl is a simple Object Oriented URL manipulation library for PHP 5.3+.
PHP Language extensions.
A nice PHP microframework.
EArray is a small PHP class to provide convenient ways to access a PHP Array.
PHP Phiber framework - Build light-weight lightning-fast PhP applications with Phiber.
NSQ publish only library for PHP.
PHP binding for the figo Connect API.
PHP OTP Library compatible with Google Authenticator.
The PHP Unit Testing framework.
VFS is a virtual file system for PHP built using the stream wrapper API.
So, how did you like this issue?