Easy sorting with CakePHP


Sorting with Set::sort() in CakePHP 1.2 You probably already know that CakePHP's Set class is one of the most useful additions to CakePHP 1.2. What may have slipped through the cracks is that you can now sort arrays very easily using a new method - Set::sort(). Note: This feature has only been added to CakePHP 1.2 … Continue reading Easy sorting with CakePHP

Very helpful regex (regular expressions)


Regular expressions are a very useful tool for developers. They allow to find, identify or replace text, words or any kind of characters. In this article, I have compiled 15+ extremely useful regular expressions that any web developer should have in his toolkit. Getting started with regular expressions For many beginners, regular expressions seems to … Continue reading Very helpful regex (regular expressions)