OneTrueError - Automated exception handling

Monthly Archives: February 2012

A javascript selection script

I wanted a lightweight and cross browser plugin to be able to handle selections in a text area (for my griffin.editor plugin). Didn’t find a suitable one despite asking at stackoverflow.com. I created my own. It’s stand alone and only … Continue reading

Posted in CodeProject | Tagged , | Leave a comment

Introducing griffin.editor – a jQuery textarea plugin

I’ve tried to find a jQuery editor plugin which works out of the box without configuration. The WMD editor used by stackoverflow.com looked nice but I couldn’t find a version that I got running. My main issue with most editors … Continue reading

Posted in CodeProject | Tagged , | 8 Comments

Generic repositories – A silly abstraction layer

This post is all about GENERIC repositories as in Repository, not about all types of repositories. Repositories are a great way to abstract away the data source. Doing so makes your code testable and flexible for future additions. My recommendation … Continue reading

Posted in Architecture, CodeProject | Tagged | 5 Comments

Repositories, Unit Of Work and ASP.NET MVC

There are a lot of posts discussing repository implementations, unit of work and ASP.NET MVC. This post is an attempt to give you and answer which addresses all three issues. Repositories Do NOT create generic repositories. They look fine when … Continue reading

Posted in Architecture, CodeProject | Tagged , | 3 Comments

Localizing jQuery plugins

I’ve spent some time to figure out how to localize my jQuery plugins and I’ve just found out a way that works just fine. Disclaimer: I’m not 100% sure of how namespacing works in jQuery so this might not be … Continue reading

Posted in Architecture, CodeProject | Tagged , , | Leave a comment

Get an unique session in each browser tab

I got a lot to do at work, hence the silence. I got a lot to blog about, but so little time ;/ I found an interesting question at stackoverflow which this answer is for (also to show you that … Continue reading

Posted in Architecture, CodeProject | Tagged | 14 Comments