A bit of a small audience for this one, but a project I was put on wanted to us the Galen Framework to test their UI. For people who do not know what this framework is, it is a method of writing acceptance code that matches up to the output in the browser window. This can be coded to work for all different device, sizes and URLs. One hard space I came to was to action the hover state of an element and then test it.
What if the worst happens?
I see a lot of companies rush, rush, rush and push, push, push to get things in fast. They want to deliver new features every second if they could. However this has big risk and future problems they keep coming. I always say Prepare for the Worst and Hope for the Best!
How to Force clear cache
As all developers know our best friend and worst enemy is the cache. You can make all your changes and be confident they will work, then they don't change just when you want them to. It is great that you can clear your own cache, but how can you refresh all the users cache? HereContinue reading "How to Force clear cache"
Any Side Custom Checkboxes
No one wants to use a standard browsers checkbox, as they are inconsistent or just plain ugly. So like everyone I set up to make my own custom checkbox. I will explain below how to build custom checkbox and why I think it is the best method.
Good, Bad and the Ugly Commenting
I feel that it is important to comment your code and make sure that the next developer that uses the project knows what the hell you have done. However I have seen over the time I have been developing a lot of different ways people comment, so here are some of the dos and doContinue reading "Good, Bad and the Ugly Commenting"
How to normalise ’em’ font
I was thinking about how we use the font measurement 'em' and how it can be very hard to keep track of the relative sizes. When you keep driving down in sizes for different widgets it can be hard to know what size your font is going to come out like.
MS Word special characters Regex
That pesky Microsoft! They have to be different and mess us developers around don't they. Have you ever noticed that Microsoft Word's symbols look a bit different or act a little odd? Well it's because they are not the standard char characters. This can be a pain for Regex and other things. So how doContinue reading "MS Word special characters Regex"
Sticky Menu Bar code and example
This is a bit of a feature a lot of websites use and love, which is the Sticky Menu Bar. This could also be used for things like a cookie policy bar as well, but what ever the use it is a good feature. However I see some people add these with some terrible codeContinue reading "Sticky Menu Bar code and example"