Searching #arrays, and the joys of #SPL #iterators #phpRead more "PHP Bytesize : Recursive Hunting"
Recently I’ve been toying with helper methods and classes for analysing certain types of data and came up with a real simple way of calculating numerical groupings – given a step and a set of values. Let’s say you have a list of numbers, such as the following… Now imagine you want to bracket these […]Read more "PHP Bytesize : Number Grouping"
Earlier this year I wrote a lovely article about our friend the autoloader and how you need never worry about the include, require or require_once functions again in PHP. Ah good times. However I want to touch on that subject, autoloading, again – mainly because, although better than before, it’s still not a perfect solution. […]Read more "PSR-4, namespaces and Composer"
Wednesday morning, six thirty am. The sky is a grey shade of blue, and the moon is glazed behind a blanket of cloud,. The orange glow of street lights hovers in the distance through a thin layer of mist sitting in the valley between two dew covered hills as your morning train zips through. The […]Read more "Syncing Dev Projects – Workflow and Dropbox"
I’ve spent the best part of over two years working in various guises of technical support, from 1st line, through to senior technical consultant, and have seen my fair share of methods, techniques, tips and tricks both shared and applied. Working closely with several APIs and sharing code examples there is one pet annoyance I […]Read more "Top Tips : Getting the Gist of things in Support"
Part of a new series to increase the frequency of the posts here at RecursiveIterator, I’m going to start posting shorter quick tip posts. Hashing. Encrypting. Cyphering. These are music to the media’s ears when they think of programmers and hackers. In reality hashing is generally used for data that we want to simply do […]Read more "PHP Bytesize : Passsword Hashing"
Want to learn a new language? So you’ve been doing your research and have decided that you’d like a new tool in the ol toolbox, rather than using [insert language here] as your hammer of choice. Congratulations it happens to all of us at some point or another. We all get to that point where […]Read more "Learn a new language – not everything needs a hammer"
Lambda. It’s enough to strike fear into those of us that haven’t studied Mathematics in longer than we have studied it (oh er!). And seems to also, cause a distinct longing in those not-so-patiently, if reddit/r/halflife is to be believed, clinging on to hope for Half Life 3. Luckily for you I’m not going to dwell […]Read more "Python : Ta-lamb-da – Using Lambdas"
Having worked with a number of APIs and lathered myself in some rather frightening SOAP I’m a big advocate when it comes to well designed RESTful APIs. Think of SOAP like a whole slab of caramel slice, and you have a fork. It looks delicious. You have the right implement. However it isn’t long before […]Read more "Has anybody seen my RAML? A handy tool for API Design"
Python 3, unit testing, mock_opens, and when you get caught out by a peculiar omission. Recently I’ve been working a lot with Python, and have come across a strange omission that’s rather easily solved. Python, as you probably know, has a really great unit testing framework embedded in the core distribution – a beautiful idea if there ever […]Read more "Python :: Unit testing, mock opens and iteration"