AngularJS Memento Factory
The Memento Factory let’s you add “Undo” and “Redo” functionality to your AngularJS App. This is an easily overlooked feature that adds a “wow” moment to your user-experience. It’s also incredibly easy to implement.
In this article I explain the logic of the Factory, give a demonstration of how we use it at Accredible, and explore some more great use-cases from around the web.
Jekyll is dead, long live Hugo!
Over the past few days I’ve been revamping oodavid.com in terms of direction and style. While considering my work I took the opportunity to also review my choice of static-site-generator (SSG).
Jekyll was such a no-brainer at the time; SSGs were in their infancy and GitHub offers free generating and hosting of Jekyll sites. The development cost to me was negligable. Fast-forward a number of years and the SSG space has exploded, in fact, it feels like the choice of programming languages grows with a power-law!
AngularJS Meta Tags Management
Meta tags have played a huge role in search-engine history. While they no longer affect SEO rankings in the same way, they are more vital than ever in the “social sharing” ecosystem.
In this article I demonstrate a simple AngularJS Service that allows you to manage the <meta>
tags in your app. I explain how AngularJS best practices aren’t fit-for-purpose and offer a simple solution. I also explore debugging on Twitter, Pinterest and Facebook and the need for pre-rendering using 3rd party SaaS products.
Style Rendering Test
This post marks a new chapter for oodavid.com; alongside a more article-centric design, I’ve migrated away from Jekyll running on GitHub pages to Hugo running on Netlify.
The migration has encouraged me to add a simple taskrunner (npm
scripts that run Hugo
and SASS
) and to play with a more modern style. The design is heavily based on the Stellar theme by HTML5Up, although my source code has been written from the ground-up. What can I say, I like to learn by doing.