This post is about my experiences working with a couple of different css-in-js solutions. I’ve been working for the past year or so on a project that opted for css modules. Its pretty good but a few little niggles have come up on a number of occasions that made me want to start looking at alternatives. So, I tried out emotion, and had a little poke around at glamorous and styled-components and how they work with styled-system. Here’s what I found… Continue reading “Another perspective of some css-in-js solutions” »
I’ve read a few posts about how to query Salesforce’s reporting API in order to generate charts. However, none of those explained how to set custom filters or groupings on that data. One of our clients required a chart making but not using the default groupings/filters that existed in the actual report. Here’s how it was done… Continue reading “Salesforce Reporting API and NVD3” »
While there are modules out there to automatically add loading bars using angular http interceptors, when using VisualForce remoting, the actual retrieval of data is deferred to visual force, effectively hiding the request. So, how do you show a loading bar when using this technology? Or how do you deal with multiple directives that all call remoting methods at the same time and are asynchronous? Here’s one way… Continue reading “AngularJS load bar for VisualForce remoting” »
So we were creating an AngularJS app as the front-end for a Salesforce community. We used VisualForce remoting to get the data while in Salesforce. But we didn’t want to muck around having to constantly deploy assets into Salesforce during development. So, we came up with a pretty effective way of allowing front-end designers/dev’s to work outside of salesforce without having to modify the app when it was plugged into salesforce. Here’s how… Continue reading “Effectively working with AngularJS in and out of Salesforce” »
The previous post talked about our custom salesforce chatter component from the angular directive side of things. This bit talks about the service that actually interacts with the chatter rest service. Continue reading “Salesforce chatter in AngularJS part 2” »
The requirement was a single page application built using AngularJS that hooks into salesforce’s chatter API with the ability to upload files. Here’s how it was done… Continue reading “Salesforce chatter in AngularJS part 1” »
Hubspot is a great platform to develop SEO-optimised websites and blogs. One of our clients (skeleton productions) needed a way to showcase their portfolio of corporate videos. Here’s how I implemented owl carousel to allow them to create and manage their own content without being hindered by the platform.
This post extends part 1 and talks about how to get all the already submitted reviews, display them, and enable rating and commenting functionality on them, all using knockout js. This includes using knockout templates, adding additional functions/observables to pre-mapped view models, extending knockout binding handlers, and implementing a ‘show more’ function to dynamically load another page of results. Continue reading “Umbraco, knockout js and forms part 2” »
This post is about how to implement Umbraco MVC forms with Unobtrusive bootstrap validation and use knockout js to perform data binding. It also covers adding additional functions and properties to mapped observables without having to add them to your c# view models.
Here’s something about how to create a filter plugin for the jquery datatables plugin and then test it using qunit.