CodeProject

Fixing Memory Leaks in AngularJS and other JavaScript Applications

Dealing with memory leaks in JavaScript applications can be a complex process. In this article I’m going to show you how to identify whether you have memory leaks, analyse them and ultimately resolve them. I’m using an AngularJS application to demonstrate the concepts and approaches, but much of this material applies to any JavaScript application. Understanding Memory Leaks What is a Memory Leak? Why is a Memory Leak Bad?
Read more

The Only AngularJS Modal Service You'll Ever Need

If you need modals in an AngularJS application, look no further. I’ll show you how to use the Angular Modal Service to add Bootstrap Modals or your own custom modals to your application. See it in a fiddle or check out a full set of samples online. Contents [Using the Angular Modal Service](#UsingTheAngular ModalService) A Quick Example Design Goals How It Works Wrapping Up Using the Angular Modal Service Here’s how you can use the Angular Modal Service to add a bootstrap modal to your application.
Read more

AngularJS Promises - The Definitive Guide

Promises are a core feature of AngularJS - whether you understand them or not, if you use AngularJS you’ve almost certainly been using them for a while. In this post I’m going to explain what promises are, how they work, where they’re used and finally how to use them effectively. Once we’ve got the core understanding of promises, we’ll look at some more advanced functionality - chaining and resolving promises when routing.
Read more

Better Specifications

Specifications are absolutely key to the success of a project. Unless you have a good definition of what your project is supposed to be, there’s no way you can deliver it. A specification is the contract between you and the client, the basis for technical designs, quality assurance test plans, operational readiness, and much more. I’m not going to talk about how different teams do specs, what works and what doesn’t work.
Read more

CodeProject MVP

As a great start to the new year I have been made a CodeProject MVP! Have a look at my index of articles below: http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=4259528 Any suggestions for future articles are more than appreciated.

CodeProject Competition

My Solitaire and Spider Solitaire in WPF article is in two CodeProject competitions this month. The article is at: https://www.codeproject.com/Articles/252152/Solitaire-and-Spider-Solitaire-for-WPF If you think the article is worthy of a vote, then please go to the voting page for either of the two competitions! Best C# Article: http://www.codeproject.com/script/Surveys/VoteForm.aspx?srvid=1209 Best Overall Article: http://www.codeproject.com/script/Surveys/VoteForm.aspx?srvid=1212

Solitaire and Spider Solitaire on the CodeProject

I have uploaded a new article on the CodeProject, a step by step tutorial showing how to create Solitaire and Spider Solitaire for WPF with the help of Apex. The article is available at: http://www.codeproject.com/KB/WPF/solitaire.aspx