By tag: Javascript
0
kicks
Angular.js and IE8 caching
Older Internet Explorer versions are notorious for agressively caching AJAX requests. In this post, you'll find two techniques that combat this behaviour.
0
kicks
Making RequireJS play nice with ASP.NET MVC
Being creative when attempting to use RequireJS with minifying in an ASP.NET Multipage MVC application
0
kicks
6 Examples of Hard to Test JavaScript
In this post we will be looking at 6 different ways that accidentally make JavaScript code hard to test including…
Tightly Coupled Components
Private Parts
Singletons
Anonymous Functions
Mixed Concerns
New Operators
As we introduce each of these concepts we will describe the issue, take a look at s...
0
kicks
Barbarian Meets Knockout: Knockout.js Observables
In the last installment of these series we gave a short introduction to Knockout.js, what it is, why should you care and how to get started. In this blog post I will focus in one of the pillars of Knockout, the concept of observables, JavaScript objects that have the ability to notify others when th...
0
kicks
Prevent JavaScript code blocking the UI thread with setTimeout + handy stopWatch to profile JS code
In early January of this year I was implementing some JavaScript code that does a lot of processing on the client side with the help of jQuery. It’s part of a project where my customer asked for the possibility of answering a questionnaire in two ways: using a Wizard (one question at a time) and Lis...
0
kicks
AngularJS and TypeScript
For those TypeScript developers who want to use the new hotness of AngularJS but have run into some issues with minification and model primitives, this blog post describes how to use AngularJS in a .NET environment with TypeScript.
0
kicks
Validating composite models with knockout validation
This article looks at how you go at validating composite models with knockout.js.
0
kicks
Customizing a knockout validation message
Knockout validation is a plugin that allows you to extend observables with validation. If you're familiar with jQuery validation, you will notice that most provided validation rules are very similar. One of the validation rules available out-of-the-box is pattern validation. By default the error mes...
0
kicks
Unsuck your backbone
A talk given at Codemania 2013 on how to build better JavaScript Applications using a composite event driven architecture
0
kicks
Barbarian Meets Knockout.js
Have you ever done any XAML development? Have you ever wondered or considered how cool it would be to use XAML-style data bindings and MVVM on the web? How awesome to get that level of rich user experience and separation of concerns? Well, that is what Knockout.js is all about.
0
kicks
7 hard earned lessons from a Single Page Application
7 controversial techniques to boost performance of Single Page Applications (SPA) and achieve 3-4 second page load time. Find out when commonly used techniques like combining Javascript back fires.
0
kicks
Report Unhandled Errors from JavaScript
Logging and aggregating error reports is one of the most important things you can do when building software. If you are like the vast majority of websites out there, then you don't know about JavaScript errors, and it's time to fix that!
This article talks about reporting unhandled JavaScript error...
0
kicks
Angry Birds of JavaScript: Mighty Eagle - Automation
In this post we will take a look at the Mightly Eagle who uses the most superior weapon of them all, a suite of tools that can organize and deploy all the other birds into battle against their soon to be vanquished foe. Slowly, one by one, the birds will take back what it theirs to keep!
0
kicks
Angry Birds of JavaScript: Big Brother Bird - Patterns
In this post we will take a look at the Big Brother Bird who pulls out the big guns with his finite state machine and other proven design patterns of destruction. Slowly, one by one, the birds will take back what it theirs to keep!
0
kicks
Angry Birds of JavaScript: Orange Bird - Templating
In this post we will take a look at the Orange Bird. He first starts out small with a simple template, but then expands itself into a DOM blast that will surely send the message that the birds mean business. Slowly, one by one, the birds will take back what it theirs to keep!