CodeProject
Feeling like having a go with Facebook’s hugely popular React framework but not sure where to start?
In this post I’m going to build a simple React application from scratch - using ECMAScript 6.
We’ll put together the bare minimum skeleton of a site and keep the folder structure free of noise and clutter so that you can focus on the app code and not the tooling!
The simple app we’ll build is at github.
Read more
I’ve been writing a couple of web services lately that use Auth0 for identity management. It’s a great platform that makes working with different identity providers a breeze.
One thing that I couldn’t work out how to do at first was to quickly build a new JWT1 from an existing token. I wanted to take my current token, add some more data to it and return it to the user. So here’s a ‘why’ and ‘how’.
Read more
I was working on a small and simple application built with AngularJS the other day. As with most applications like this, I start with a single JavaScript file caled app.js and no module system.
In the past I’ve used RequireJS with AngularJS. It’s an awful mistake. It leads to a big jump in complexity with no benefts. Angular apps don’t work well with AMDs, so really your are using RequireJS to combine files into one big file.
Read more
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
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
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
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
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.
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
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