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!

July 4, 2013

You should try SourceGuardian.com from our kind sponsors!
Hello and hope your week has been great so far!

As we are over 4,000 subscribers now I thought I would say a huge thank you to everyone for joining and hope that you are enjoying the issues as we release.  We do make mistakes at times, so please forgive us if we sometimes put in the wrong article or have spelling or grammar mistakes. It does take quite a bit of effort to do these each week and deliver them on time :)

Thank you also for some of your suggestions last week.  We are still in the process of deciding how to re-format our sections and hope to have something in place in the next week or so. The most requested 'feature' was for placing current jobs so if anyone requires a PHP developer then let us know

All the best and see you next week

Katie

Articles

PHP Forever
Some people believe that web scripting language PHP has had it's day. Andi Gutmans of Zend doesn't see it that way.

Urban Legends and Error Handling
PHP as a programming language, just like any dynamic language, may at first appear to not need overly strict validations of data. Validation of data, however, is directly related to error handling: If data is invalid, this should be an error or an exception (if you write OOP code, which you should be doing). This error needs to be handled somewhere.

PHP Upgrade Broke My Data Importer
In his latest post Simon Champion recounts some of the issues he had when upgrading to PHP 5.4, which is usually a smooth transition from PHP 5.3.

Know The PHP Hampshire Usergroup
An interview with the organisers of this user group. Learn all about them, the group and the challenges they face.

Tutorials and Talks

Array Operators in PHP: Interesting but Less Spoken
Operators in PHP can be organised into seven different categories: arithmetic, assignment, bitwise, comparison, error control, execution, incrementing/decrementing, logical, string, array and type operators. This article details working with array operators, but also covers how some of the others work when used with arrays.

Synching Data with Amazon S3
Have you ever needed to upload an entire directory of files to Amazon S3 or download an Amazon S3 bucket to a local directory? With a recent release of the AWS SDK for PHP, this is now not only possible, but really simple.

Build a CRUD App with Yii Within Minutes
Yii is a high performance framework that’s fast, secure, and well-suited for Web 2.0 applications. It favours convention over configuration, which means that if you follow its guidelines you’ll end up writing much less code than you would otherwise (and less code implies fewer bugs). Furthermore, it offers many convenient features out of the box, such as scaffolding, data access objects, theming, access control, caching, and more. In this article I’ll cover the basics using Yii to create a CRUD system.

Diving into Symfony 2
Frameworks are hot topics in the web industry and have been for some time. In this vast sea of flavors is Symfony – an extensive PHP framework that follows the ever popular MVC paradigm. Its learning curve is probably a little steeper than its fellow competitors, like CodeIgniter. Don’t worry, once it grows on you, you’ll feel more powerful than ever and you’ll be able to develop fantastic applications.

PHP Sessions in Erlang Mnesia
In a new post to his site, Alvaro Videla shows you how to use a PHP-to-Erlang bridge to store your sessions in Mnesia. Mnesia is a distributed, soft real-time database management system written in the Erlang programming language.

CodeIgniter - fired up on NUODB
CodeIgniter is a powerful PHP framework with a very small footprint. It is built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. I will show you how you can use NuoDB to power the CodeIgniter tutorial “News” application.

Make $ Vagrant Up Yours
Juan Treminio has written an introductory post to Puppet and Vagrant and their use to make virtual machines for your PHP environments. Vagrant is a command line tool to manage virtual machines. Puppet is a command line tool to install software on virtual machines. PuPHPet is an unpronounceable GUI tool to help take the pain out of working with both!

Using PHP that comes with MAMP
...instead of PHP that comes with OSX. The MAMP PHP executable should be located somewhere like .. /Applications/MAMP/bin/php5.X/bin/php. The OSX PHP is located in /usr/bin/php and /usr/bin is in PATH variable by default.

PHP - What Do I Need?
In this tutorial we assume that your server has activated support for PHP and that all files ending in .php are handled by PHP. On most servers, this is the default extension for PHP files, but ask your server administrator to be sure. If your server supports PHP, then you do not need to do anything. Just create your .php files, put them in your web directory and the server will automatically parse them for you.

Amazon Beanstalk PHP Hosting & Database Versioning for SaaS
This is part two of 3 posts written about getting a SaaS app + site built from scratch. Learn about hosting, database & DNS, and database versioning.

How to Install LAMP with Samba File Sharing
Web sites can be served using PHP scripts stored in a different machine than the actual Web server machine. Read this article to learn how to setup a Fedora based Web server machine (without a desktop GUI) using Linux, Apache, MySQL, PHP and using Samba to serve sites using files shared by separate machines.

PHP: Determine Absolute Link URLs
When parsing HTML and following links, it is necessary to calculate absolute URLs from the href attribute values in <a> and <link> tags.
News and Announcements

Web & PHP Conference San Jose, Sep 16-18 2013
For this year’s Web & PHP Conference we want YOU to get involved and have your say in the program. We’ve reserved six places in the schedule to be picked by the community, decided by an online vote. Each week, we’ll be putting up a group of four abstracts and asking you to vote on your favourite. Round 1: Brad Griffith v Dave Stokes v Jeremy Lindblom v Yann Larrivee. Who is your favourite? Who do you want to see speaking at the Conference? Have your say and vote now!

PHP London 4th July 2013
PHP London is a non-profit group to promote knowledge sharing and best practice amongst PHP developers and web development and business professionals in London. Tonight Rasmus Lerdorf will be talking about PHP In 2013.

Webinar: Debugging PHP with PhpStorm July 18th 2013
Join us Thursday July 18th at 17:00 GMT for a free webinar, Debugging PHP with PhpStorm with Maarten Balliauw. In this webinar, we’ll have a look at the debugger which is integrated in PhpStorm and will explore its capabilities.

Reading and Viewing
 

The OOP in PHP
Matthew Turland's slides from his presentation at Lone Star PHP 2013

The PHP Town Hall podcast has posted their latest episode - Episode #8, "Use Your Time Machine to Go to PeersConf Yesterday"
In this episode Ben and Phil talk to the super-talented conference organiser Jessica D'Amico, joined by avid conference goer and PHP rockstar Matt Frost.

Speed Up Your Database
This presentation was recorded at the Montreal.rb user group. Anna Filina gave a number of tips to investigate the performance of database queries and to speed them up.

Jobs

We're just testing the water with this. If you have any open positions then please send them over and we will add what we can in next week's edition

Interesting Projects, Tools and Libraries

Reactive Extensions for PHP
The reactive extensions for PHP are a set of libraries to compose asynchronous and event-based programs using observable collections and LINQ-style query operators in PHP.

prologue/phpconsole
Prologue Phpconsole is a package for interacting with Phpconsole in Laravel 4.

8 Best PHP Libraries for Developers
The goal of the Standard PHP Library - or SPL, in brief - is to provide a standard library of interfaces which allows developers to take full advantage of object-oriented programming in PHP 5. Therefore in this article we have collected 8 of the best PHP Libraries which will assist and help developers to simplify their work and serve their development tasks.

YOLO - The microframework with swag
YOLO is the only PHP microframework with swag. Based on the Symfony components, keeps responsibilities separated, requires lots of boilerplate code!

Buzz
Buzz is a lightweight PHP 5.3 library for issuing HTTP requests.

Faker
Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymise data taken from a production service, Faker is for you.

HTML Purifier
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C's specifications.

phpgeo
phpgeo provides abstractions to geographical coordinates (including support for different ellipsoids) and allows you to calculate geographical distances between coordinates with high precision.

fillup/apiaxle
PHP library/module for interacting with ApiAxle APIs.

fenom
Fast template engine for PHP

codemix/handlebarsphp
Transpiles handlebars templates into native PHP templates

php-console
A console to quickly try and run PHP code in your browser.

Find Us and Follow Us :)

Spread the word

Please help us by telling your friends and colleagues all about us. If you know someone who is a PHP developer then pass on this issue or point them to our site :)  Thanks!

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