PHP Digest: PHP Goes to Mobile Platforms, Bitbucket Update, 5 Reasons to Try Codeception and Much More
October 22, 2012
- 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.
- 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.
- 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.
- 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.
- 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
- Great update to Bitbucket – The Bitbucket team is unveiling a brand new, redesigned Bitbucket.
- 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.
- 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.
- For PHP developer on MacOS – the author shares the experience of setting environment for PHP development on the operating system MacOS.
- 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.
- 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”.
- 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.
- 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.
- 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.
- 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.
- SymfonyLive San Francisco 2012 – videos of all reports from the recent conference.
- 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.
- 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.
- 5 Reasons to Try Codeception. – You are still not testing your PHP applications? Try Codeception! It is simple, clear and effective.
- 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.
- How to Use Selenium 2 With PHPUnit. – Screencast about the current testing tools sharing.
- Getting Started With Phinx. – Introduction to migrations on PHP using Phinx tool.
- 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:
- 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.
- WPsocialstats. – The powerful tool to track the performance of your WordPress blog posts and pages at social networks.
- HTML5 Video Player with Playlist. – Allows WordPress users to easily use HTML5 < video > the element enable native video playback within the browser.
- 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.
- Login Security Solution – security plugin against brute force attacks.
- PanoPress allows easy embedding of 360° Panoramas & Virtual Tours.
- CampTix Event Ticketing – an easy to use and flexible event ticketing plugin created by WordCamp.org. Allows visitors to purchase tickets to your online or offline event, directly from your WordPress website.
- Jetpack supercharges your self‑hosted WordPress site with the awesome cloud power of WordPress.com
- 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.
- WP Super Cache is a static caching plugin for WordPress.
- Automatic Updater automatically updates WordPress, your themes and plugins.
- Bad Behavior – one of the most trusted solutions for helping to prevent link spam and other malicious activity.
- Twitter Tools – a plugin that creates a complete integration between your WordPress blog and a Twitter account.
- 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.
- Automatic Post Tagger – a plugin automatically adds user-defined tags to posts.
- Pushover Notifications for WordPress allows your WordPress blog to send push notifications for events happening on your blog straight to your iOS/Android device.