PHP Digest: PHP Goes to Mobile Platforms, Bitbucket Update, 5 Reasons to Try Codeception and Much More

October 22, 2012

News and Releases:

  1. PHP v.5.3.18 and v.5.4.8 are released. – More than 20 bugs are fixed. All PHP users are recommended to make an upgrade.
  2. PHP 5.5 is not far off – the message posted by David Soria Para, PHP 5.4 release manager, tells us about his plans for PHP 5.5. Julien Pauli is appointed to be the release manager of the new version. Approximate release date is February-March 2013. Innovations will be detailed in the next sections.
  3. PHP is coming to mobile platforms. – Article is based on an interview with Andy Gutmans. The full details will be announced at Zend's conference in Silicon Valley on 22-25 October.
  4. Web & PHP 7th Issue is released. – The following topics are discussed: introduction into scaling for Big Data, how to be an open source rockstar in 7 easy steps, PHP security for the real world, developing Web Applications in Haskell, speed up your applications using IIS & WinCache.
  5. CodeIgniter 2.1.3 Released – CodeIgniter 2.1.3 has released, bringing some additional security and enhancements to the 2.x stable version. In particular, CodeIgniter 2.1.3 improves IP address resolution in the Input class, preventing spoofing that was possible under certain circumstances
  6. Great update to Bitbucket – The Bitbucket team is unveiling a brand new, redesigned Bitbucket.


  1. What PHP 5.5 might look like – the list of new features / proposals is rather large and not sorted by significance, but the main are: a simple API for password hashing, Scalar type hinting, Getters and setters, Generators.
  2. Bye Bye PHP 5.2 – the author's opinion is that the time comes for hosting to get rid of PHP v. 5.2. A list of popular hosting services with PHP v.5.3 and v.5.4. is provided.
  3. For PHP developer on MacOS – the author shares the experience of setting environment for PHP development on the operating system MacOS.
  4. The Null Object Pattern – Polymorphism in Domain Models – in the traditional approach, the user of the class should do a check for null values and handle situations when the valid data cannot be received, but it generates a set of conditional branches in code. Fortunately, this problem is easily solved by the implementation of a polymorphic domain object using a design pattern Null Object. More on the implementation and benefits of using Null Object is presented in this article.
  5. Constructors and Breaking the Liskov Substitution Principle. – The morale of the article is the following: “Object construction is not a part of the contract honored by its implementers”.
  6. PHP Annotations Are a Horrible Idea. – The author explains why he believes that PHP annotations are a very bad idea. Even not annotations themselves, but the way they are used by many developers. An example of an alternative solution is provided.

Training Materials:

  1. OAuth with PHP – this paper describes a protocol OAuth, as well as the work with a class that implements PHP OAuth API. With the class, you can access the API of any site that supports any OAuth version, not caring about the internal details.
  2. DI, DiC, & Service Locator Redux. – What a DiC is? What a service locator is? When to use Which in PHP? These are the questions the author answers in his article. Also there is a simple example where the author uses both approaches - DiC for models and Service Locator for controllers.
  3. Background jobs with php and resque: part 2,3,4,5,6. – The series of articles, which describes jobs that are executed outside the main flow of the program, and usually handled by a queue system. Redis and php-resque (port Resque) are used.
  4. SymfonyLive San Francisco 2012 – videos of all reports from the recent conference.
  5. Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL. – Very detailed tutorial in which the author shows the example how to connect the mobile application and PHP + MySql to send push-notifications. The code is included.
  6. Building a Simple Announcements Plugin for WordPress. – Introduction how to create plugins for WordPress based on an example of creating a plugin that displays custom site-wide announcements across the top of the page, with the ability to schedule messages to appear between two given dates.
  7. 5 Reasons to Try Codeception. – You are still not testing your PHP applications? Try Codeception! It is simple, clear and effective.
  8. The Beginner's Guide to WordPress Actions and Filters. – If you want to learn how to customize WordPress-sites in a quick and flexible way, then this article is a good starting point for you.
  9. How to Use Selenium 2 With PHPUnit. – Screencast about the current testing tools sharing.
  10. Getting Started With Phinx. – Introduction to migrations on PHP using Phinx tool.
  11. Using PHPUnit from a PHP Archive (PHAR). – Starting with version 3.7.5, PHPUnit seems to finally work correctly when packaged as a PHP Archive (PHAR). The link contains an example of installation and further use. You can also install PHP Unit with Composer.


Releases of WordPress Plugins:

  1. Twitter2Posts. – Great tool to archive your tweets for better SEO & show your tweets on your web with no backward limit at posts with special category.
  2. WPsocialstats. – The powerful tool to track the performance of your WordPress blog posts and pages at social networks.
  3. HTML5 Video Player with Playlist. – Allows WordPress users to easily use HTML5 < video > the element enable native video playback within the browser.
  4. WP-antiProxy. – This plugin will fetch and auto-correct the client's IP address in the event that he is hidden behind a proxy or load balancer.
  5. Login Security Solution – security plugin against brute force attacks.
  6. PanoPress allows easy embedding of 360° Panoramas & Virtual Tours.
  7. CampTix Event Ticketing – an easy to use and flexible event ticketing plugin created by Allows visitors to purchase tickets to your online or offline event, directly from your WordPress website.
  8. Jetpack supercharges your self‑hosted WordPress site with the awesome cloud power of
  9. Tinypass – a simple plug-in that allows you to organize online access to any type of content: posts, site subscriptions, files download and even video view.
  10. WP Super Cache is a static caching plugin for WordPress.
  11. Automatic Updater automatically updates WordPress, your themes and plugins.
  12. Bad Behavior – one of the most trusted solutions for helping to prevent link spam and other malicious activity.
  13. Twitter Tools – a plugin that creates a complete integration between your WordPress blog and a Twitter account.
  14. Social Web Links – a plugin will display elegant icons of your social profiles on a sidebar widget. The plugin also provides options to upload your own icons if you do not like the default ones.
  15. Automatic Post Tagger – a plugin automatically adds user-defined tags to posts.
  16. Pushover Notifications for WordPress allows your WordPress blog to send push notifications for events happening on your blog straight to your iOS/Android device.

And in Conclusion:

  1. PHP Manual Masterpieces – a new blog, where "masterpieces" that occur in PHP manual, basically, taken from the comments, will be published. For example, Here's my int, so cast it maybe.

Do you have an awesome business idea? Let’s make it real!

Join our newsletter!

Get weekly updates of the top IT news delivered straight to your inbox


Magento website development. Empower your online store!