web developer. dublin, ireland.

Suggestions For You:

Brian

Apigility and constant 403 Forbidden

01/26/2015

I was enabling authentication on an Apigility API and no matter what I did I couldn’t authenticate my requests. I would constantly get a 403 forbidden. Turns out the problem was that Apache was stripping the Authorization header so apigility was even aware that a authorised request was even being attempted. The solution was to explicitly Read More

Share

Leveraging Composer to write a more maintainable Object Orientated WordPress plugin

03/04/2014

As your wordpress plugin grows it can quickly become a nightmare to maintain. To add a feature you just write callback function and wire it into a hook using wordpress’s global functions. Simples! But because it’s so easy, your plugin soon grows into a monolithic class or script, with unrelated functions and features. WordPress’s core Read More

Share

Note to self

04/26/2013

git config --global credential.helper "cache --timeout=3600"

Share

Hostname/Subdomain URLs and routing using ZF2

01/29/2013

The Problem Within wripl.com we’re using the our main domain along with a couple of subdomains, i.e api.wripl.com & oauth.wripl.com. The subdomain routing is performed using a Zend\Mvc\Router\Http\Hostname route. I was having 2 issues with this: My other standard routes eg ‘learn-more’ (‘/learn-more’) was available on the sub domains too. E.g. going to ‘api.wripl.com/learn-more’ would still route Read More

Share
wripl-v2-final-banner

I’ve added wripl to my site

01/24/2013

Today I’ve added the wripl wordpress plugin to my website. Wripl is a startup I’m working on, wripl centers around the idea of making the web more personal. Wripl gleans your interests from your activity on a web page, and uses this information to recommend other content on that site which you may be interested in. Wripl Read More

Share

Managing forked ZF2 modules with composer

01/20/2013

You’re using composer for your dependency management in your shinny new ZF2 project. Then you notice an issue in a thrid-party module you’re using. You fork it and submit a pull request. I’ve done this for a few modules recently, and while waiting for the PR to be accepted I simply cloned my fork into my vendors directory. This becomes a pain Read More

Share
packagist-logo

Adding your ZF2 module to packagist.org

01/17/2013

I created my first ZF2 (Zend Framework 2) module called BgOauthProvider. I versioned it on GitHub and added it to modules.zendframework.com. All was well. But at the back of my mind it was niggling me that it couldn’t be deployed and managed via composer. I’d had very little experience with composer (other than it was working), Read More

Share