Web Development Diaries

If we can't be friends we are not doing business with you

posted by 6 months ago and updated 6 months ago

The world of business tends to be a lot about generating money. A business has its values, it has its own character, it's aspirations and these days there is a lot more beneath the surface than just money. Money is the business's petrol, without it the business stops running.

Companies though are run by people. It is the people who sit behind

... read more on If we can't be friends we are not doing business with you

Tags:

When to DIY your website

posted by 11 months ago and updated 6 months ago

These days there are so many different tools to build a website. There are websites that help you build websites. I am sure you have found them already. Building your own website is not a myth but it could be a big mistake for your business.

Is it worth it to build your website with such tools or do you need something more sophisticated? The ans

... read more on When to DIY your website

Testing Mail with Laravel Dusk and Mailtrap.io

posted by 1 year ago and updated 6 months ago

Laravel Dusk is an amazing way to do acceptance testing in order to make sure your application is working. To be honest acceptance testing is our favourite testing because it proves your application is working.

Although Dusk is amazing and powerful it might appear that it has certain limitations. Dusk uses ChromeDrive to create an application

... read more on Testing Mail with Laravel Dusk and Mailtrap.io

How to save an SSL certificate with a Mac

posted by 1 year ago and updated 6 months ago

Sometimes self-generated certificates from our development servers don't play as nice with our browser. So, we need to take a little extra time to configure them. We basically want to download, export the certificate and import it into your system. In order for the certificate to be trusted.

openssl s_client -connect server.com:443 -show
... read more on How to save an SSL certificate with a Mac

Tags:

Self-signed certificate failing under Chrome

posted by 1 year ago and updated 6 months ago

One of our development servers started playing funny games today. Want to waste a day? Spend it figuring out SSL certificates.

It all used to work, but as always, something broke. We had to mend it to do our job. Usually the SSL error would squawk because the certificate is self-signed and not added as a trusted certificate. But usually we would

... read more on Self-signed certificate failing under Chrome

Tags:

Extend Larvel's Cashier to use our own Subscription model

posted by 1 year ago and updated 6 months ago

We love Laravel! It is our go to framework for php development projects. At times though we run into trouble using it.

This time we wanted to change the way Laravel\Cashier was working. We wanted to extend the Subscription model. and have Laravel/Cashier use that model.

Why Extend the Subscription Model of Cashier?

Because we wanted t

... read more on Extend Larvel's Cashier to use our own Subscription model

Test before you push upstream with Git hooks

posted by 1 year ago and updated 6 months ago

Please read our previous blog post A tale of Sourcetree and Git hooks. This article presupposes to have knowledge on Git Hooks.

At Under the Coco Tree we strive for automation. It is one of our core values. How can we automate redundant tasks in order to free our tim

... read more on Test before you push upstream with Git hooks

Meet the Subscribers Extension

posted by 1 year ago and updated 6 months ago

Subscribers is a Magento 1 extension that helps you increase your mailing list and sales.

How?

Subscribers injects a form into your website that captures the customers email. In return, yes you do give something away, you give a discount coupon.

![Subscribers Pop-up](https://www.underthecocotree.co.uk/images/products/newsletter-popup/Subs

... read more on Meet the Subscribers Extension

Tags:

A tale of Sourcetree and Git hooks

posted by 1 year ago and updated 6 months ago

At Under the Coco Tree we constantly update the code of different projects. This summer we took a plunge into automating the process of testing and deployment. Yes it took time but it was worth implementing continues integration.

We starting using PHPCI but the tests and code quality scans would take place after th

... read more on A tale of Sourcetree and Git hooks

How to filter a grid in Magento 1

posted by 1 year ago and updated 6 months ago

Note: This tutorial assumes prior knowledge into building modules, only parts of the code are included to solve a particular problem.

Filtering grids can work out of the box but sometimes you might need to create your own custom filter. There are two ways we are aware of to filter data in your columns.

  • defining a `filter_condition_ca
... read more on How to filter a grid in Magento 1