State management in Vue.js

January 20, 2018

Vue.js adopts a one way data flow paradigm, which means the state always flows from the parent components to the child components. This is a great way of managing state, because it makes things predictable. Ultimately, the state needs to be shared between components. This article will explore ways in which parent/child components can share state and most importantly how child components can pass state back to their parents.

Continue reading

The power of lists and maps in SASS

July 07, 2016

If you find yourself repeating a lot of similar rules when writing stylesheets or your needs go beyond simple variables think of lists and maps. I just discovered how useful lists and maps can be and therefore share a few examples.

Continue reading

Handling Braintree webhooks in Laravel Cashier

June 14, 2016

Laravel Cashier is already handling Braintree's 'subscription_canceled' and 'subscription_expired' webhooks and will cancel a subscription when any of those webhooks get triggered. The webhooks are handled by WebhookController, which can be easily extended to add support for other kinds of webhooks.

Continue reading

Next page