Logan Bailey

Adventures In Web Development

Blog, About, GitHub, and LinkedIn

Cleaning up your templates with array_chunk

January 23rd, 2014
array_chunk is a native php method you've probably never used before, but it probably could have saved you time on lots of occasions. Here we'll dive into a use case for array_chunk, other than batch requests to services, that will help you write cleaner code.

Opening VIM From Inside PHP

September 1st, 2010
Want to prompt the user for a large amount of text for your CLI application? Using some flag and a large string on the command line is not always ideal. Fear not, it's easy to open a text editor from inside your application.