Trang converts between different schema languages for XML. It supports the following languages:
* RELAX NG (XML syntax)
* RELAX NG compact syntax
* XML 1.0 DTDs
* W3C XML Schema
A feature-complete fluent .net library for the Twitter API.
A simple, discoverable, fluent interface for building Twitter queries, as well as additional features like asynchronous processing, server-side caching, url shortening, and rate throttling. Now go, create.
ScintillaNET is a .NET 2.0 wrapper around the Scintilla Native control. It provides a friendly .NET interface around the unwieldy Scintilla component ...
This editor is designed to edit souce code files in a textarea. The main goal is to allow text formatting, search and replace and real-time syntax highlighting ...
Cool Text is a free web-based graphics generator for logos, buttons, and just cool fonts. It's probably the oldest and certainly the only one around with 1200 fonts ;-)
WiXEdit is an editor for XML source files for the Windows Installer XML (WiX) toolset to build MSI and MSM setup packages. WixEdit tries to make the editing of WiX XML source files simple and comprehensible for everyone. Without any or little knowledge of WiX or even XML, you can create MSI installer packages for your software!
dircproxy is an IRC proxy server ("bouncer") designed for people who use IRC from lots of different workstations or clients, but wish to remain connected and see what they missed while they were away
Don't worry: the code will always tell you what to do. Just listen.
The key points here are that a class is only a singleton if all applications treat it exactly the same and if its clients can use the class without an application context.
"singletons are unnecessarily difficult to test and may make strong assumptions about the applications that will use them [...] I know where you live anti-pattern [...] Liskov Substitution Principle".
"To decide whether a class is truly a singleton:
* Will every application use this class exactly the same way? (exactly is the key word)
* Will every application ever need only one instance of this class? (ever and one are the key words)
* Should the clients of this class be unaware of the application they are part of?"
* Introduce a global state in the program, hide the dependencies.
* Test-driven development: classes become tightly coupled with the singleton. Need to test the singleton along with the class to be tested initially.