Better naming for WordPress hooks

Next time you're out there writing some code for a custom WordPress theme or plugin, try thinking about adding colons or dots to your hook names. It makes it much more readable and easier to understand the separation between components and the function of the hook. Filter: Action: It's really fun and makes keeping track of what your hooks really do a little easier. Have fun! »

Enhancing Arrays in HTML forms using AngularJS

This was inspired by Adam Wathan's blog post here: https://adamwathan.me/2016/04/06/cleaning-up-form-input-with-transpose/ Check out his book here, he's brilliant! The purpose of Adam's blog post was to show the utility of Collections in Laravel. I recently ran into the same problem and solved it on the front-end using AngularJS instead. Dealing with arrays in HTML form submissions tends to be… »

Changing the public folder in Laravel 5

I have been playing around with Laravel 5 recently and it's really looking great. Definitely different, and definitely improved. First things first, I strive to setup my laravel projects with 2 main folders, separating the Public facing website and assets from the Private app, API, and configuration. In Laravel 4 In L4, this was pretty simple: Move the application files Create application_files… »

Quicklook Plugins for Developers

Just found the best thing ever today! I have been working for so long with code files ranging from PHP to C# to JSON, lots of images in various sizes, zip files for downloads, etc. and I have always had such a hard time getting important information about these types files quickly from Mac's Finder. I would always have to look through my folders and drag one file after another into Sublime Text so… »