Some software developers like to have many code windows and tool windows open at the same time, whilst others prefer to minimise the number, as it can be difficult to find a desired window. The Visual Studio IDE Navigator attempts to simplify navigation.
Tag: Development
Creating A Timer (Timeout) Using jQuery Deferred Objects
(Ben Nadel) When I talk about using jQuery’s new Deferred objects in the context of AJAX, people will often ask my why I don’t just use the “success” and “error” callbacks in the AJAX configuration hash. To this, I can only say that I find the deferred / promise aspects create more readable and enjo
PHP Service Layers: Modeling Domain Objects
(Alejandro Gervasio) In this first part of a series, I introduce you to what a service layer is and how to use it in conjunction with an MVC stack. While you don’t need to use one in every possible case, a service layer can be of great help in interfacing sections of an application with multiple cli
Preventing CSRF With Ajax
(Phil Haack) A long while ago I wrote about the potential dangers of Cross-site Request Forgery attacks, also known as CSRF or XSRF. These exploits are a form of confused deputy attack.
Difference between Class and Structure in .NET
(Vijayaragavan Srinivasan) I hope this article will clarify doubts for those who are keenly looking for the difference between Structure and Class in .NET (C#).
.NET Math Library
The .NET framework includes a class named “Math”, which provides a number of standard mathematical functions, using static methods, and mathematical values, using simple constants. This article describes all of the Math class members.
How to save ListView content to a text file
(Ged Mead) Sometimes you might need to take a copy of what’s displayed in a ListView and save it. There are several options and one of these is simply to save it to a plain text file.
Creating A Private Scope By Extending The Public THIS Scope In JavaScript
(Ben Nadel) In JavaScript, we create objects. These objects don’t really have a sense of public and private variables (in a classical object-oriented sense); but, thanks to the lexical binding of Closures in JavaScript, we can finagle private variables that can be accessed via public methods.
Work Smarter
(Jim Mischel) “Flying,” it’s been said, “consists of endless hours of boredom interspersed with brief moments of sheer terror.” As a private pilot, I agree with the sentiment. I’ve had few moments of “sheer terror” in an airplane, but quite a few brief periods of excitement. Mostly, though, flying a
SortedDictionary and SortedList
(Simon Cooper) Apart from Dictionary, there’s two other dictionaries in the BCL – SortedDictionary and SortedList. On the face of it, these two classes do the same thing – provide an IDictionary interface where the iterator returns the items so
