Published March 17th, 2015 by

So have been doing loads of work learning about Backbone, Javascript and related tech of late. The plan of action at the moment is to get more familiar with Jasmine,…

Read More Probably due an update

Published February 1st, 2015 by

Lots of learning on this project.. I got it working and then have gone back to refactor it to see if I can tidy it up. As I was only…

Read More So far so good

Published February 1st, 2015 by

Silly thing tripped me up today so think its worth noting.. got the answer from here eventually http://stackoverflow.com/questions/18661395/backbone-select-change-event-not-firing Effectively what was happening is that I was injecting content into the el  and…

Read More El and events

Published January 20th, 2015 by

If you need routes with trailing slashes to be recognized you do for example Reference: http://stackoverflow.com/questions/9600390/backbone-js-route-optional-parameter

Read More Small but handy tip on routers

Published January 18th, 2015 by

Random reading around JS today and I found this excellent resource that outlines typical patterns used in JS – definitely worth investigating & understanding. http://shichuan.github.io/javascript-patterns/

Read More Random JS reading

Published January 17th, 2015 by

Project going ok so far.. handy tip today is abut using underscore’s where on a collection checking against multiple attributes. e.g. below: Also doing a good bit around routing and…

Read More Progress on the webapp

Published January 3rd, 2015 by

Have said it before and will say it again.. the people on StackOverflow are AWESOME! Got a REALLY useful overview of the Event Driven Approach and how it applies to…

Read More Event driven approach

Published January 1st, 2015 by

Was doing some filtering on a collection and came across a problem where I wanted to have a variable as the key in ‘where’ but it wouldn’t take and I…

Read More Where filtering in backbone

Published January 1st, 2015 by

Quick but handy to know… when within a collections (and possibly views haven’t tried that yet) when you’re running a custom function as below on a click (checkit).. then you…

Read More Backbone events within collections

Published December 31st, 2014 by

Useful stackoverflow question about how I had originally set it up:  http://stackoverflow.com/questions/27722019/backbonejs-collection-not-populated-but-fetch-works The issue comes when using json as its async and the collection hasn’t been populated by the time…

Read More Setting up my backbone results app