cjs77.github.io
Robust Protractor tests using State Objects - The Brain Dump
http://cjs77.github.io/angular/2015/06/28/robust-integration-testing-with-protractor
Robust Protractor tests using State Objects. Posted by Cayle Sharrock on June 28, 2015. AngularJS ships with Protractor. Which purports to make integrated, or end-to-end testing easy. I found this to not. Be the case; at one point, I was contemplating giving up on integrated testing completely, but I’ve found a set of patterns that makes AngularJS E2E testing a lot more robust; and subsequently, I feel more confident that the tests are doing what they’re supposed to. Page Objects - Martin Fowler. Let’s s...
cjs77.github.io
Clean data binding in Angular JS - The Brain Dump
http://cjs77.github.io/angular/2015/06/26/databinding-in-angularjs
Clean data binding in Angular JS. Posted by Cayle Sharrock on June 26, 2015. Clean Data binding in AngularJS - the wishlist. Databinding in Angular is easy every basic tutorial in angular has cool two-way binding up and running in seconds. But if you’re a polarised ENTP. Like me, then you feel very antsy about how the tutorials implement data binding. What I want (and took me some time to figure out) is:. Keep all logic out of controllers and encapsulate them in services (see this blog. Ok, so all my log...
cjs77.github.io
Automatic updates for jekyll-based sites - The Brain Dump
http://cjs77.github.io/jekyll/git/2015/05/21/automating-jekyll-site-updates
Automatic updates for jekyll-based sites. Posted by Cayle Sharrock on May 21, 2015. To write my company’s website. In addition to this blog). I’m using git. To manage the content revisions, naturally, but since it’s a private repository, I’m not using github pages to keep the website and the site content in the repo synchronised. The website itself is hosted on rented server space that I have ssh access to, but is not the same server that hosts the git repository, or the development machines (obviously).
cjs77.github.io
Thoughts on Angular Controllers - The Brain Dump
http://cjs77.github.io/angular/2015/06/07/thoughts-on-angular-controllers
Thoughts on Angular Controllers. Posted by Cayle Sharrock on June 7, 2015. Things that ocurred to me while developing my first Angular-based front end. I know it says this in the docs, but it’s easy to forget whilst still in the giddy euphoria after experiencing two-way data binding for the first time. So two-way data binding is awesome but,. You can’t naiively think it will still work everywhere. Function MyController() { this.datathingy = getDynamicResult(); / Only called once, yo }. Can’t put it in the.
cjs77.github.io
A Kue tutorial using MEAN.io - Part 2 - The Brain Dump
http://cjs77.github.io/node.js/job-scheduling/kue/angular/2015/04/03/meanio_part2
A Kue tutorial using MEAN.io - Part 2. Posted by Cayle Sharrock on April 3, 2015. I set up the mean.io app and tweaked a few things. Now, we can dive into some coding hopefully. The idea is to create a little image processing app that takes a batch of files in the front end and then processes them (using ImageMagick) on the back-end to resize them, or whatever. The main thrust here is to. Figure out how to use Mean.io. Create a package in mean.io. To do the job processing (using redis for job queuing).
cjs77.github.io
About - The Brain Dump
http://cjs77.github.io/about
This is what I do. Cayle Sharrock is the founder and managing director of Nimbus Technologies. Nimbus Technologies adds value to its mining, engineering and agricultural clients through technology and a deep understanding of the fundamental processes that drive those industries and businesses. We deliver mobile solutions to the mining and agricultural sectors; moving production control and planning from behind your desk to the field; and vice versa. Find out more at http:/ www.nimbustech.biz.
cjs77.github.io
The Brain Dump
http://cjs77.github.io/page2
Mostly for my own reference, but you might find something useful here too. A Kue tutorial using MEAN.io - Part 2. Posted by Cayle Sharrock on April 3, 2015. A Kue tutorial using MEAN.io - Part 1. Posted by Cayle Sharrock on April 2, 2015. How I set up this blog. Posted by Cayle Sharrock on April 1, 2015. Larr; Newer Posts.
SOCIAL ENGAGEMENT