Making a Windows shell that doesn’t suck

Over the last 20 years, I’ve had the pleasure of using Unix, Linux, DOS, Windows and OSX. One thing they all had in common was the notion of a “shell” or “command prompt”. One thing they didn’t all have in

Posted in Windows

Using Deferreds With the Cordova File API

Reading and writing to files with the Cordova File API can be difficult and messy due to heavy use of nested callback functions. We can make a convenient wrapper around this API and use jQuery deferreds to clean up our code.

Tagged with: , ,
Posted in JavaScript, Mobile, Programming

Fancy CSS Checkboxes with FontAwesome

fancy-checkbox-title2

Checkboxes. They are pretty lame looking in the world of website design. Fortunately, we can use CSS and an icon font like FontAwesome to make them look a lot nicer! The problem with checkboxes is that the browser applies its

Tagged with: , , ,
Posted in Programming

Disable Editing for a Kendo UI Grid Column

One of the oddities of the Kendo UI Grid is that the ability to edit a column is actually controlled by the backing DataSource’s Model, not the Grid itself. But what happens if we want to programmatically decide if a column is editable, or use the same DataSource in multiple Grids? Learn how to use a custom editor to move the control into the Grid.

Tagged with: ,
Posted in KendoUI, Programming

Loading Google Maps in Cordova the Right Way

There are a lot of articles out there that talk about using Google Maps in a Cordova or Telerik AppBuilder project. A surprising number of them start with: <script src=”https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=true”></script&gt; You should never use that! Read more to see a better way…

Tagged with: , , ,
Posted in JavaScript, Mobile, Programming

Adding / Removing CSS Classes with a Custom Kendo MVVM Binder

Back in April of 2013 I wrote a post for the official Kendo UI Blog that showed a way to bind complex types in a custom Kendo MVVM binder. The example custom binder would add or remove CSS classes from an

Tagged with: ,
Posted in JavaScript, KendoUI, Programming

Unit testing Kendo UI DataSources with Jasmine and Mockjax

Are you struggling to find a way to unit test your Kendo UI code because you have a pesky DataSource in there, and it keeps trying to fetch data from a server? Has that been your excuse for not testing

Tagged with: , , , ,
Posted in JavaScript, KendoUI, Programming

CodingWithSpike is Jeff Valore. A professional software engineer, focused on JavaScript, Web Development, C# and the Microsoft stack. Jeff is currently a Software Engineer at Virtual Hold Technologies.


I am also a Pluralsight author. Check out my courses!

Follow

Get every new post delivered to your Inbox.