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!

June 6, 2013


This issue brought to you thanks to the folks at SourceGuardian.com
Congratulations to our first ever PHPWeekly Competition Winner! Nilesh Shukla is now the proud owner of a brand new Kindle, courtesy of our friends at SourceGuardian.

Thank you for the contributions that you sent to us this week. They are much appreciated. Keep them coming!  

We're also on Twitter and Facebook now, so please share with your friends.

All the best and have a great weekend!

Katie

Articles
 

Nomad PHP - The Post-Meeting Interview
An interview with Nomad PHP founder Cal Evans, after the first ever Nomad PHP user group meeting.

PHP Version Adoption
PHP runs over 75% of all websites whose technologies are known (source: w3techs), which makes for a really REALLY long tail of users who once installed wordpress, phpmyadmin, or some other open source project that helped their business needs at the time. What they don't do is upgrade. PHP's current usage statistics look like this.........

Andi Gutmans on PHP, Cloud Computing and Security
In an exclusive interview to InfoQ, Andi Gutmans, CEO and Co-founder of Zend, shares his views about cloud computing, various aspects related to PHP, including security, and the course of action to take to protect your site from hackers.

The Reason for The Popularity of PHP and MYSQL
When web site hosting, MySQL and PHP development are like two sides of the same coin. They work in tandem to create dynamic and comprehensive web sites. Having MySQL and PHP programs for your website will always give a competitive edge to your business. 

Tutorials and Talks

Publishing Messages to RabbitMQ with PHP
Now that we understand the basics behind RabbitMQ, it’s time for us to start working with it. The first step in working with RabbitMQ is to begin sending messages to the exchange so that they can be queued.

Upgrade php-memcache extension to 3.0.8 or downgrade to 2.2.6
This can haunt Drupal sites using features and is quite hard to track down, leading to very unstable system behaviour.

Extract Objects from an Access Database with PHP, Part 2
In the first part of this series we learned how to extract packaged objects from a legacy Access database. In this second part we’ll learn how to extract Acrobat PDF documents and take a brief look at a selection of image formats.

Digital Tickets with PHP and Apple Passbook
This article shows you how to build a sample web application that creates and distributes passes in the form of a “PHPMaster Membership Card”. It is not a full-featured product, but it’s a nice base to build on for more serious real world uses. You can download the demo code for the article from PHPMaster’s GitHub.

PHP - Cookies
This lesson will teach you the basics of storing and retrieving a cookie, as well as explaining the various options you can set with your cookie.

PHP - Session
A normal HTML website will not pass data from one page to another. All information is forgotten when a new page is loaded. A PHP session solves this problem by allowing you to store user information on the server for later use (i.e. username, shopping cart items, etc). Learn how to here.

Aura.Web: Aura's Web Controller for MVC
MVC is an acronym that means Model-View-Controller. This tutorial introduces you to Aura.Web, the controller component of the Aura Library. Here, learn how to use it to build your own controller, and also how to use a response transfer object to issue HTTP response headers.

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Debian Wheezy
Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration and low resource consumption. This tutorial shows how you can install Nginx on a Debian Wheezy server with PHP5 support (through PHP-FPM) and MySQL support (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP) .

Understanding Recursion
This article looks at the fraternal twin of iteration: recursion.

How to Cache CakePHP Db ACL Checks 
After enabling SQL query logging to Chrome Console I began noticing that queries against the ARO table appear running at 300 milliseconds or higher. This is data that doesn’t change often and is needed on every request so its a great candidate for caching. Unfortunately I couldn’t find any mechanism for caching DbAcl checks. Here is my solution.
News and Announcements

MongoDB Database Driver version 1.4.1
This package provides an interface for communicating with the MongoDB database in PHP.

intl version 3.0.0
Internationalization extension implements ICU library functionality in PHP.

Shanghai PHP Conference June 30th 2013
ThinkInLAMP is pleased to announce the first Shanghai PHP Conference, in 2013. A community oriented conference, this event will concentrate on PHP languages and web based technologies used today.

Peers Conference June 26-28th 2013, Chicago
A Tech Conference for web designers, PHP developers and web business owners.

Reading and Viewing
 

Storyplayer Slides from PHP London Talk
Earlier this month, Stuart Herbert spoke to a packed audience at the PHP London user group meetup about Storyplayer, a test tool that has been open-sourced at DataSift. Here are the slides from that talk.

Laracasts.com - End to End with Angular JS
A more intermediate/advanced look at building an AngularJS application backed by a MySQL database, using the Laravel 4 PHP Web Application Framework.

Java and PHP Developers, Learn about the MySQL Database
The MySQL for Developers course teaches you the knowledge, skills, tools and issues involved in writing applications with the MySQL database server. It forms the core of the MySQL Developer learning path.

PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide  (by Larry Ullman published Sep 2012)
Readers can take their PHP skills to the next level with this fully revised and updated PHP Advanced: Visual QuickPro Guide, Third Edition! Filled with fourteen chapters of step-by-step content and written by bestselling author and PHP programmer Larry Ullman, this guide teaches specific topics in direct, focused segments, showing how PHP is used in real-world applications.

BDD With Behat - Webinar Slides
Behavior Driven Development is gaining more and more attention in the PHP world. Based on Test Driven Development, this approach aims to create executable software specifications which are also human readable, especially for non-technical team members.

Competition Winner

NileshCongratulations to Nilesh Shukla on winning our Kindle competition! Nilesh is a Software Engineer for Tripadvisor Media Group in South Jersey and has been developing in PHP for over 5 years. Enjoy your Kindle Nilesh.






Interesting Projects, Tools and Libraries


High Performance PHP with Static Typing
PHP+QB is an alternate virtual machine for PHP that claims to offer an order of magnitude improvement in performance. The downside is that it requires everything to be statically typed and arrays have severe limitations put on them.

php-test-helpers
An extension for the PHP Interpreter to ease testing of PHP code.

Use Doctrine 2.3 with PHP and Zend Framework
Doctrine is an Object-Relational Mapping tool for PHP application development. With some configuration, you can combine it with Zend Framework so that you can use Doctrine entities to simplify interaction with application data. This article presents the process of integrating Doctrine 2.3 with a Zend Framework 1.x and 2.x application.

Awesome PHP
An up to date list of amazingly awesome PHP libraries, resources and shiny things.

Backup MySQL Database PHP Script
There are quite a few scripts available on the Internet that allow you to dump data from a database into a format that can be used to replicate that database structure elsewhere. The following function is one take on this commonly occurring script.

jenwachter/router-exchange
A collection of PHP interfaces and adapters to make swapping out router library dependencies quick and easy.

zfr/zfr-pusher
PHP library for interacting with the Pusher REST API

Jeapie/push-message-for-php5
PHP 5.1 class for push message to jeapie

Zebra_cURL, a high performance PHP cURL library
Zebra_cURL is a high performance PHP library acting as a wrapper to PHP’s libcurl library.

Our sponsor...

Thanks to the folks at SourceGuardian for helping us to put this out.
 

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