addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

PHPWeekly March 6th - Job Proposal Montevideo

From: Diego S.
Sent on: Thursday, March 6, 2014 11:40 AM

PHP Weekly 6th March 2014


The New PHP
PHP, the programming language many love to hate, is experiencing a renaissance, with improvements and new standards. This is not your parents’ PHP. The new PHP is a more mature language with community standards, a growing affinity for interoperable components, and a passionate movement to improve performance. If you have bypassed PHP for alternative languages, or if you are a PHP veteran unaware of recent changes, you owe it to yourself to give PHP a second look.

HHVM vs Zephir vs PHP: The Showdown
Since its inception, the slow running speed of PHP has been widely publicised and, over the years, there have been a number of improvements. The first Zend Engine arrived with PHP4 and delivered various performance enhancements. Each release since this time has delivered some sort of increased efficiency in one way or another. The core has adopted the Zend OPcache for future versions of PHP, Facebook has been working on a just in time compiler called HipHop VM and the team that brought us Phalcon framework have created Zephir. All of these projects have chosen to tackle the issue of PHP's speed via different avenues. It has therefore left one simple question - who's making the biggest improvements? Who's the fastest?

Welcoming New Authors 2013/2014
Over the past few months several new authors have signed up to These authors are here to teach and to learn, to contribute to the quality SitePoint is known for and to spread the knowledge they’ve accumulated throughout their PHP adventures. This post will briefly introduce them and list their SitePoint accomplishments thus far, in order of appearance.

Top 8 Debugging Tools for PHP Programmers
Debugging Tools play an important role in development. These tools help to make the development process simple and more effective.

Tutorials and Talks

Installing PHP Extensions on
Inspired by a comment on his previous article 'Getting Started with Laravel on', Bruno Skvorc realised that Nitrous was still a bit too complicated to customise properly. In this tutorial, he glides through installing cURL and Phalcon on a PHP box.

Using An Azure Database from PHP on Linux
The cloud is the newest buzzword in all things development, and there are many different options for utilising the nebulous cloud. Amazon Web Services, Microsoft Azure and Digital Ocean (just to name a few) are some providers that give you various levels of cloud computing. While all three give you Virtual Private Hosting, Microsoft has stepped up their offering.

Auto Injecting Dependencies in PHP Objects
It took Gonzalo Ayuso a while to come up with a decent title for this post. While it's not the most descriptive of titles, he wanted to use the simple idea of automating the Hollywood Principle (“Don’t call us, we’ll call you”).

Using MySQL Fabric From Any Programming Language
MySQL Fabric is a framework for MySQL Replication high availability, automatic failover and sharding. Technically, a MySQL Fabric daemon monitors a set of MySQL servers and takes appropriate actions upon failure. Clients use Fabric aware drivers to learn about failed servers and shards to distribute queries accordingly. Simple to understand, simple to sell, simple to raise false expectations and simple to fail [, dear Sales]. With the usual blog posts telling only the story of the first three sentences, major parts of the story are covered in silence.

Functional Testing in Symfony2
In his previous article, Taylor Ren demonstrated how to load sample data into a Symfony development environment. The test data may not be useful as it stands on its own. When coupled with Functional Testing, however, it becomes a life saver.

How to Use a Webcam To Take Pictures in PHP Application 
If you want to take a picture of a user to be used in a PHP Web site, you can do it with a little help of a JavaScript and a Flash library. This tutorial explains how to take picture snapshots using a Webcam to be uploaded to a PHP application.

Basic PHP Form Validation
A quick tutorial showing how easy it is to validate form data with php. This can help cut down on spammers, and it can help to ensure that email addresses are at least formatted correctly. 

Symfony2 Components Overview: Validator
In the first five posts of this series we have been talking about key components for any PHP framework from the point of view of their internals, such as HttpFoundation to abstract the HTTP protocol, HttpKernel to convert a Request into a Response, Routing to map requests to controllers, EventDispatcher to add reusability and extensibility, and Config to load and validate configuration values. This time we’ll delve deeper in the user space to describe a component that is for specific apps rather than just for frameworks. Today’s topic will be the Validator component.

HHVM: Tracking Parity
HHVM has a large suite of unit tests that must pass in several build configurations before a commit reaches master. Unfortunately, this test suite passing doesn’t tell you if HHVM can be used for anything useful – so we periodically run the test suites for popular, open source frameworks.

Persisting Value Objects in Doctrine
Ross Tuck has been using more and more Value Objects in his applications over the last year, primarily with Doctrine ORM. Value Objects are an extremely powerful technique and he has been impressed with how much they can clean up a codebase. One of the main questions he had when starting with Value Objects is how to persist them with Doctrine. This post attempts to create a reference for all the different persistence techniques he has seen so far. 

Lessons Learned Implementing AES in PHP using Mcrypt
The Advanced Encryption Standard (AES) is the successor of triple DES. When you need a standardised, secure, high performance symmetric cipher it seems like a good choice. Wi-Fi network traffic is encrypted with AES for instance. Also when you want to securely store data in a database or on disk you could choose AES. Many SSDs store data internally using AES encryption. PHP supports AES through “mcrypt”. On Debian based systems (like Ubuntu and Mint) you can install it using “sudo apt-get install php5-mcrypt”.
News and Announcements

PHP Code Craft 4th and 5th April 2014, Johannesburg
Just a month to go until PHP Code Craft kicks off in South Africa. Two days of top international and local speakers, amazing talks and evening socials, with Rasmus Lerdorf as conference keynote. For advanced developers there is an additional one day event on April 12th in Cape Town, the Advanced Craft Session.

International PHP Conference June 1st to 4th 2014, Berlin
The International PHP Conference is a globally recognised event for PHP developers, webworkers, IT managers and everyone interested in web technology. Once again, the conference will explore key topics and core technologies for developers and decision makers. Learn how to scale your applications, explain the details of Continuous Integration or evaluate different approaches to NoSQL

PHP Tour Lyon June 23rd and 24th 2014, France
The PHP Tour Lyon 2014, organised by AFUP, the French PHP Users Association, will be held on June 23rd and 24th. This PHP Tour event is a conference that moves all around the country, and this year it will be held at the Université Jean Moulin Lyon. With Rasmus Lerdorf and Damien Alexander among the guest speakers, get your tickets now.

Reading and Viewing

Voices of the ElePHPant - Interview #1 with Larry Garfield : Drupal 8 & PHP 5.4
Recorded live at Sunshine PHP 2014, this is Part 1 of Cal Evan's interview with Larry Garfield, talking about Drupal 8 and PHP 5.4.

Unit Testing by Example @ ConFoo 
A talk given last month by Anna Filina, at the 2014 ConFoo Conference in Montreal. Anna's step-by-step approach allows less experienced developers to learn and advance.

dev/hell Podcast Episode #40: Poly Life Mentoring
PHP community members Ed Finkler and Chris Hartjes have released their latest episode, talking to Sean Coates about deploying web applications in various languages, the impact Composer has had on PHP development, formal and informal mentoring, and how to get accepted to speak at conferences.

Interview With Mike Lopez: How to Build Scalable PHP Applications Using Object-Oriented Programming (OOP) Concepts
In this video, Mike Lopez of WishList Products explains to John Morris how to use OOP concepts to make your applications scalable, and the kind of headaches you can avoid doing so.

Voices of the ElePHPant - Interview with Paul Jones
Cal Evans chats to lead developer on the Aura PHP framework, Paul Jones.

Job Proposals @Montevideo

If you have a position that needs filling, let us know and we will include it.

PHP Developer, Montevideo
Have you ever thought to yourself, “Hey, I want to build things that make the world better and work with amazing people while I’m at it” or wanted to program in PHP; slicing, dicing and doing things to data that were thought to be impossible? Well, have we got the job for you! If Zend Framework 2 and Agile development fills you with joy only measurable in yottabytes- then once again, we’ve got a place for you!

Inline image 1

Interesting Projects, Tools and Libraries

The feedly Cloud API
A PHP Wrapper around Feedly's REST API.

Guzzle is a PHP HTTP client & framework for building RESTful web service clients.

A basic but flexible tree data structure for PHP and a fluent tree builder implementation.

A PHP 5.5 microframework based on generator-style middleware.

Extensive, portable and performant handling of UTF-8 and grapheme clusters for PHP.

A micro PHP 5.4 Modular MVC framework, that contains only the libraries to get you started.

Altax is an extensible deployment tool for PHP.

Elegant SSH tasks for PHP.

A minimal trait to decrease getter/setter boilerplate.

The Extensible Macros Library for PHP.

A simple event manager for event driven applications.

A PHP library for sending push notifications via the Pushwoosh service.

A Fun PHP Minifier.

PHP Value Object library.

CLIFramework is a command-line application framework for building flexible, simple command-line applications.

Transparent method cache for PHP and Redis.

SHorthand for MOCKing in PHPUnit.

Copyright © 2014 PHP Weekly, All rights reserved.
Becaise you signed for it!

Our mailing address is:
PHP Weekly
Rotterdam House
116 Quayside
Newcastle Upon Tyne, NE1 3DY
United Kingdom

Add us to your address book
Email Marketing Powered by MailChimp

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy