PHP on mobile platforms, 2 – Andi Gutmans unveiled his company’s new “mobile first” approach to application development. PhoneGap support along with drag-and-drop capabilities for prototyping mobile apps are added to Zend Studio 10. Details are available from the source – recording of Andy Gutmans speech in the Zend official press release.
A closer look into PHP arrays: what you don’t see. – Surely, everyone knows that arrays in PHP are implemented with the hash table. But in this excellent article, the author plunges into the topic quite further. The author shares with you some of the underlying details of how the PHP array data type works, why it works the way that it does, how it’s different from other languages, and what behaviors the PHP array has that you may not be fully aware of.
Over-abstractionism – a reminder for those who use OOP (not just PHP developers) with an appeal not to overuse “abstraction” – the excessive use of all kinds of abstractions at the expense of simplicity.
Spooky Scary PHP – The author has devoted this post to Halloween holiday, having shared with you some scary (but logical) behavior found in PHP itself, and spooky (and possibly quite illogical) ways in which some have twisted PHP to do their bidding.
Symfony and the scary world of PHP – the post where the author expresses his displeasure with PHP and Symfony. “All in all, PHP is still a horrible place to be” – he concludes.
Test Drive PHP 5.5: A Sneak Peek. – The author not only tells us about the new features expected in the new version, but also test-drives practical uses for some of those new features and even giving you some actual bench marks for generators in PHP 5.5.
ZendCon Live – Keynotes from ZendCon, including Andy Gutmans interview, in which he talks about the latest innovations. Records of all other reports are available on youtube.
Practical Code Refactoring, Part 1,2,3,4. – a great series of 4 articles that reveals the essence of refactoring as the way to improve readability, to simplify scalability and to increase code efficiency.
Painless Data Traversal with PHP Filterlterators. – there is load of ways to traverse data, especially in PHP where there are a variety of loops available; including while, do while, for and foreach. These are fine for normal structures, such as scalar and associative arrays. But what if you want to get a bit more fancy? The author provides a small amount of code with a rather trivial approach, and then shows how using FilterIterator, you can extend the default bypass, adding a custom method “accept” to filter out unwanted elements.
Factory patterns: Collaborators Map. – an article about the popular generic design pattern. The author talks about the benefits of using Factories over a DIC and about the approach, called Collaborators Mapr. Examples and recommendations for further improvement and expansion of functionality are given.
Introduction to the Law of Demeter. – an article tells about one of the principles of software design – the Law of Demeter, which can be considered a subset of the loose coupling principle. The author describes the fact that when an object knows way too much about another (and this implicitly includes knowing how to access a third one) is considered wrong and how to find the actual dependencies it needs to work as expected. Examples are given.
List Files and Directories with PHP. – an article describes a common task everyone might have experienced while developing a PHP application: listing files and directories. Several basic and advanced solutions are discussed, each having its pros and cons. First there is a presentation of three approaches that use some very basic PHP functions and then progress to more robust ones which make use of SPL Iterators.
Common WordPress Malware Infections – WordPress is incredibly popular attracting Malware creators. Errors are detected rarely and rectified rather quickly, but not so with plugins and themes. The article describes the popular “viruses”, the methods of how to detect and prevent them.
WordPress Exploit Scanner – a plugin that searches the files and database of your website for signs of suspicious activity. It will not stop someone hacking into your site, but it may help you find any uploaded or compromised files left by the hacker.
“The PHP project is in need of a volunteer” – Rasmus Lerdord has written in Twitter. The PHP project is seeking for a volunteer to help to create and manage a small merchandizing program. The very first task is to find Rasmus email and contact him.