Joe Lennon

Founder of Subwoofr and Array Software. Author of HTML5 in Action and Beginning CouchDB. IBM developerWorks Contributing Author.

Reducing the number of links in Laravel's default paginator template

Laravel's pagination features make it really simple to paginate your database queries and provide your users with links to navigate between pages of results. By default, these links are styled using standard Bootstrap classes. If you want to change the template used for the pagin...

Tags: laravel, blade, pagination, bootstrap

Minifying assets with Laravel Mix watch command

Laravel Mix is the fantastic Webpack-based asset compilation framework that ships by default with Laravel 5.4, replacing the Gulp-based Laravel Elixir. It has a ton of sensible defaults, and it's likely that you can use the default scripts in most cases to compile your assets. In...

Tags: laravel, mix, laravel54, webpack, watch

Announcing clob

A blog platform for developers.

I'm excited to announce a new open source blog platform targeted at software developers. I call it clob. I keep getting platform fatigue and constantly bounce between different products when it comes to blogging. As a developer, I love reinventing the wheel, so thought why not cr...

Tags: clob, blog, blogging, developers

Homestead issues with NFS on Ubuntu

If you're trying to run Homestead on an Ubuntu Linux host you might get a complaint that your machine does not support NFS when trying to run vagrant up for the first time. To fix this, you need to install the nfs-common and nfs-kernel-server packages on your host system. $ sudo...

Tags: laravel, homestead, nfs, ubuntu

Laravel Tests, SQLite and “no such column” errors

I ran into a frustrating issue today while trying to run PHPUnit tests on a Laravel project I’m working on. Essentially, I was getting PDOException messages saying things like no such column. Looking through the stack trace, the issue seemed to have something to do with the Illu...

Tags: php, laravel, sqlite, testing, migrations

Using Laravel 5.4 Request Sanitization Middleware

One of the new features introduced in Laravel 5.4 is a pair of middleware for sanitising data in requests. These middleware are: TrimStrings ConvertEmptyStringsToNull Both of these middleware are very useful. TrimStrings will trim whitespace surrounding any request input values...

Tags: laravel, sanitization, middleware

Using BootForms with Laravel 5.4

Adam Wathan’s BootForms makes it painless to work with Bootstrap forms in your Laravel Blade templates. If you’ve been using BootForms and just upgraded to Laravel 5.4, you might have run into some issues with your views. There’s an open pull request which fixes this issue, so ho...

Tags: php, laravel, bootforms, blade

The real value gap in the music business

2015 was a landmark year for the music business. Global music revenues up 3.2%, the first increase in well over a decade. Digital sales surpassed physical sales for the first time in history. Streaming now accounts for 43% of digital music revenue. 900 million people used ad-su...

Tags: music, streaming, music business

Startup Founder Required

ABC Startup Company is looking for an experienced founder to lead their company’s initial growth and development, driving our success through to achieving a minimum of US$1 billion in annual revenue within five years. The successful candidate will (in no particular order): Have...

Tags: entrepreneurship, startup, founder

Launching a startup in Cork

Last night I was on a panel for the first Built in Cork event of 2016, alongside Barry O’Sullivan (CEO Altocloud, Dragon’s Den), Niamh Bushnell (Dublin Startup Commissioner) and Mark O’Toole (Beachhut PR). As usual, it was hosted by the venerable DC Cahalane, unofficial Cork Sta...

Tags: startup, entrepreneurship, cork

Never a good time

There is a good time to take risks in your career. But it’s not when you might expect. In my early career, I had several opportunities to move from my reliable, pensionable employment into riskier roles in startups and rapid-growth companies. Invariably, I declined all of these o...

Tags: startup, risk, entrepreneurship

A tough job interview

A few years ago, I was contacted by someone in Gilt Groupe about a potential role in their front-end engineering team in Dublin. At the time I was happy in my Product Manager role in Core and was routinely ignoring similar emails from recruitment agencies and other companies. I...

Tags: recruitment, whiteboard, interview