sticker

June 13, 2013

This issue brought to you thanks to the folks at SourceGuardian.com
Hi there and welcome to another edition of PHP Weekly. Remember if you have anything to share with us which is PHP related to let us know.

As usual, have a great weekend

Katie

Articles


The Mobile-First Web
Henri Bergius talks about the growth of mobile web users.

Avoiding Interface Overkill
Brandon Savage discusses the pros and cons of interfaces.

Interview with Vito Chin, Lead Maintainer of Gmagik Extension for PHP
Learn more about the ecosystem that PHP is usually part of, thanks to this interview with one of the founders of Lentor Solutions Vito Chin.

PHP and Application Security
Lee Mangold talks us through a combination of security tools.

Dutch PHP Conference 2013
Rowan Merewood shares some of his thoughts and experiences of last week's Dutch PHP Conference 2013.

Tutorials and Talks


Consuming RabbitMQ Messages with PHP
Once you’ve created a RabbitMQ producer, it’s fairly easy to create a consumer. In fact, the only difference is in exactly what commands you’re using.

Manage Complexity with the Facade Pattern
Facade is a design pattern used in almost every web application, often unknowingly. Learn here what Facade is and how it helps write good code.

Proc_Open: Communicate with the Outside World
There are many ways we can interact with other applications from PHP and share data. This tutorial concentrates on one approach in particular, proc_open(). The function spawns a new command but with open file pointers, which can be used to send and receive data to achieve interprocess communication (IPC).

Importing OpenStreetMap data into MongoDB
With several recent updates MongoDB now uses new index types.

Working with AngularJS and Silex as Resource provider
Angular is a great framework when building complex front-end applications with JavaScript, and the best part is that it’s very simple to understand.

PHP: PECL/mysqlnd_ms 1.6 – automatic retry loop for transient errors
PECL/mysqlnd_ms is a client-side load balancing driver plugin for PHP MySQL that aims to increase distribution transparency when using any MySQL based cluster: failover, read-write splitting, abstraction on consistency (e.g. read-your-writes), partitioning/sharding support, … it’s all there.

How-to with PHP
This post will introduce PHP in it's simplest form and explore its evolution into a modern, mature programming language with established standards and reusable libraries.

Ultra-Rapid PHP Application Development
This article describes how to easily and quickly create scalable and secure web applications with the free Scavix Web Development Framework ("Scavix-WDF").

PHP - String Position - strops
Being able to manipulate strings is a valuable skill, especially in PHP. You'll most likely come across a programming problem that requires you to find some data in a string.

Community: PHP CS Fixer Plugin
This Netbeans PHP user has created a plugin for CS Fixer, which can be downloaded here.

Embedding REST Entities
Tobias Schlitt elaborates on the approach of resource embedding.

Functions In PHP
Functions are one of the easiest and most effective things in programming to learn.

Using PHP5-FPM With Apache2 On OpenSUSE 12.3
This tutorial shows how you can install an Apache2 webserver on an OpenSUSE 12.3 server with PHP5 (through PHP-FPM) and MySQL support.

PHP Performance Crash Course Part 1, The Basics
We all know performance is important, but performance tuning is too often an afterthought. As a result, taking on a performance tuning project for a slow application can be pretty intimidating – where do you even begin?

Parallel Testing for PHPUnit with ParaTest
ParaTest is a tool that sits on top of PHPUnit and allows you to run tests in parallel without the use of extensions. This is an ideal candidate for functional (i.e Selenium) tests and other long-running processes.
News and Announcements

PHP 5.4.16 and PHP 5.3.26 Released!
The PHP development team announces the immediate availability of PHP 5.4.16 and PHP 5.3.26. These releases fix about 15 bugs, including CVE-2013-2110. All users of PHP are encouraged to upgrade to PHP 5.4.16.

PHP 5.5 RC3 is available
The PHP development team announces the availability of PHP 5.5 RC3. This release fixes some bugs against RC2.

6.7.B2 Beta Release
An effective and flexible way to keep on top of your tasks.

Reading and Viewing
 

PHP, Under the Hood (slides)
Anthony Ferrara's recent talk at the Dutch PHP Conference 2013 on how PHP works Under the Hood.

PHPUnit Best Practices
Download Sebastian Bergmann's presentation from the International PHP Conference in Berlin, discussing how to use PHPUnit most effectively.

Upgrade Your LAMP Stack to 2013
In Arne Blankerts presentation from the International PHP Conference 2013, he explains why nginx + PHP-FPM (+ Redis for session storage) provide a better PHP stack than the classic Apache + mod_php approach.

PHP: The Lean Way
At the International PHP Conference 2013, Stefan Priebsch demonstrated how to successfully apply the "Lean Startup" idea to development teams and application architects in the PHP world. Download his presentation here.

How to Build a LAMP Server (by Steve Parker, Kindle edition)
This book deals with the tasks of installing, configuring and using a LAMP (Linux, Apache, MySQL, PHP) stack for the purposes of serving a custom web application.

Should I Use mysqli_real_escape_string With Prepared Statements in PHP?
View this Q&A video by John Morris.

Interesting Projects, Tools and Libraries


Whoops! PHP Errors for Cool Kids
Whoops is a small library, available as a Composer package, that helps you handle errors and exceptions across your PHP projects.

Debugging Laravel with MonoLog and FirePHP
By default, Laravel is configured to create daily log files for your application, which are stored in app/storage/logs. All Laravel logging features are handled by the wonderful MonoLog library.

whizark/php-patterns
A minimal and conceptual PHP 5.4+ pattern collection that *will* cover design patterns (not only GoF's), anti-patterns, closure patterns and refactoring patterns.

Creating Interactive HTML5 Graphs in PHP
Read about this web developer's experience with his tool of choice - phpChart.

Shellwrap
This library allows you to work with the powerful Linux/Unix command line tools in PHP through a beautiful syntax.

Gaufrette – File System Abstraction Layer
Gaufrette is a PHP5 library that provides a filesystem abstraction layer.

Snappy – Snapshot/PDF Library
Snappy is a PHP5 library that allows you to take snapshots or PDFs of URLs or HTML documents.

instaclick/php-webdriver
PHP Webdriver for Selenium 2

jlogsdon/cli
Console Utilities for PHP

Dispatch
Dispatch is a minimal PHP framework.

Please spread the word :)

We are wanting to get as many people as we can on here. If you know anyone who would benefit from being on the list please either pass them a link to www.phpweekly.com or forward them this edition so that they can see what we do. We really enjoy seeing people sign up and the emails we receive from our readers. 
 

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