Work in progress. For now its just a collection of notes until I can assemble this into a tutorial. -use to react to eventual result of async action -use .then method -three states: succcess, rejected, pending … [Read more]
Switching to a VPS from Shared Hosting and LetsEncrypt SSL
Today I am switching from using shared hosting, over to VPS hosting. I figure one of the lowest tiers of either Digital Ocean or Vultr should be suitable for my low traffic sites. The process took two days of fiddling but I finally got it up and … [Read more]
How to Speed Up WordPress
https://www.youtube.com/watch?v=6MSRTM1iXmo&list=PLRsyN1zm907vlp33aBi3pAN_NSruMBWBm If you are hosting your Wordpress blog on a cheap shared hosting plan like GoDaddy or Hostgator, then you should setup these basic optimisations to really get the … [Read more]
Setting Up Your Development Environment Using Vagrant
There are some basic tools every front end developer should have setup before he can productively work. In this video I go through all the tools I need when working on Windows. This video covers the installation of :Vagrant - Virtual … [Read more]
Learning Angular 2 – Getting Started Tutorial
https://www.youtube.com/watch?v=bx8AOkgsidc&index=1&listType=playlist&list=PLRsyN1zm907udNiJ_37ClYhFuwltllDCY It is time that I learn Angular 2 properly. Front end frameworks are all the rage, and getting by with just a bit of jQuery is not going … [Read more]
Define Global Variables and Functions in Typescript
Global variables are considered bad practice. In Typescript all variables are namespaced and isolated within the modules they are defined in. However sometimes you just need a global variable. This is how you do … [Read more]
Front End Dev Technologies I need to know
Front end development is changing so fast. I used to get by just by knowing Photoshop, HTML and CSS inside out. Then I added jQuery to my toolset which made me realise I really need to learn Javascript properly. The more I went down this rabbit hole, … [Read more]
My Web Development Workflow in OSX
Here is how I typically work with my small web projects in a LAMP Environment. Vagrant - Virtual Machine Vagrant Manager - GUI for managing my Vagrant VMs Virtual Box Scotch Box - A vagrant LAMP Stack that just works Webstorm - HTML/Javascript … [Read more]
Essential Terminal commands
Show file listings in current directory I used to just type 'ls' but you get much better info if you type out 'ls -alh'. This should show you file sizes, dates and even hidden files. If its too much to type, try creating a shortcut/alias. ls … [Read more]
Javascript module patterns
I've come across a good blog post about javascript module patterns. You want to start using these to make managing larger projects easier and not polluting your global with tons of functions. Basic Module Example Locally Scoped Object … [Read more]