I have been meaning to store filters I find useful and write a little blog post about each one just so I have access to them and maybe someone else will find them handy. This filter is for displaying phone numbers in the following format: 1(xxx) xxx-xxxx When users are inputting their information you can […]
Javascript Pitfalls for C# Programmers Part 4
Comparison Operators and the difference between == and === Do you know what the difference is between double and triple equal comparison operators? This is something C# programmer might look right over because they are used to comparison operations and don’t expect anything funky, but beware! The Pitfall: Double equals will typecast values being compared […]
Javascript Pitfalls for C# Programmers Part 3
A little code snippet that is a C#-like String.format for JavaScript.
Javascript Pitfalls for C# Programmers Part 2
Arrays “JavaScript does not have real arrays. That isn’t all bad. JavaScript’s arrays are really easy to use. There’s no need to give them a dimension, and they never generate out-of-bounds errors. But their performance can be considerably worse than real arrays.” – Douglas Crockford, JavaScript: The Good Parts Its important to remember: An array […]
Javascript Pitfalls for C# Programmers Part 1
When you start working with javacript and you have a background in C/C++/C# there are a few things that will burn you if you are not aware of them. Nothing is more frustrating that not understanding why something isn’t working the way that it is supposed to! Javascript can confuse the unaware C# programmer with […]
D3 Charts with angularjs-nvd3-directives.js
Directives hide the complexity and code that is necessary to create d3.js, and nvd3.js charts, which makes adding charts to an Angular.js application quicker, and simpler than other methods.