« Homepage
ExpressionEngine Plugins on Erskine’s GitHub Page
30/10/09
Glen Swinfield
I’ve been organising our development workflow with an aim to start putting out more small plugins and extensions. They now live at GitHub: http://github.com/erskinedesign/, and I’ll keep adding more as I build them. This post’s purpose is to tell you that, and also quickly mention our current approach to add-on development.
Our Approach
We rarely have the time at Erskine to put a lot of hours into developing commercial ExpressionEngine add-ons, but we do accumulate a few bits and pieces that others might find useful, we’re now going to start pushing these out to the community as they arise – through the medium of GitHub. Documentation will be minimal but the usage examples in the code should suffice.
Currently on GitHub
ED ImageResizer – resizes, crops and caches images on the fly. Anyone at Jamie’s EECI conference workshop will have seen this. I think that there is another alternative out there already that does a similar thing but we’ve been using this for a while and it works well for us. See the plugin usage example for more.
ED Text – this has been kicking around for a while, it basically truncates text to a given length without breaking words -and strips html etc.
ED Conditionals – A simple plugin that takes weblog and category ID’s as parameters and then lets you use {if has_content} conditionals in your templates. The results are cached so using the plugin several times with the same parameters won’t keep blazing database queries.
Why use GitHub now, after all this time?..
We’ve been using the service Codebase for our code development/management needs and one of its new features is the ability to push updates to your Git repositories to a third-party (in our case GitHub). So through the magic of Codebase and GitHub, Erskine are now more likely to be making public the little things that make our ExpressionEngine lives easier.
I hope you find them useful. I will be converting the ImageResizer and conditionals plugin for EE2.0 – more here when that happens though.
Glen Swinfield published this at 12:46 on 30/10/09