Category Archives: Development

A Case We Shouldn’t Use Stored Procedure’s In

By | June 9, 2009

We are working on this big project at work in which several teams are assigned to different modules. The modules are, naturally, overlapping in certain areas where they they need to interact with each other through API’s. One of these modules is central and crucial to the rest of the modules, the dependency is very… Read More »

DPack for Visual Studio, Better Navigation

By | June 2, 2009

There have been couple of code assistance and refactoring products for the Visual Studio IDE, two of the top listed is CodeRush and Resharper; they provide amazing and rich functionality regarding code refactoring and navigation.But if the built-in refactorings in the Visual Studio itself suffices you (I am comfortable with it), then the only thing… Read More »

Clear jQuery Droppable List

By | May 19, 2009

The other day at work I finally had the chance to get my hands on code (see here why I’m so anxious about it 😛 ). We were using the jQuery’s Drag and Drop feature, where the droppable areas (DIV’s) are marked as droppable and registered for the events like the following:   126 function RegisterDroppable(DomID) {   128       … Read More »

Beware of Static Constructors

By | February 25, 2009

In Bunian we needed to use a static constructor for some reason, it was all going good; we tested the code and it ran smoothly…excellent (Code Coverage anyone?!).But when I came across this situation, it appeared that the static constructor wasn’t invoked!even when “Class.Method();” is called! so lets examine it. I have two simple classes… Read More »

default ASP.NET Membership provider on different database

By | January 26, 2009

Every ASP.NET developer should already know about the Membership Provider that ships with ASP.NET 2.0. Configuring it is as easy as opening Visual Studio > select the Web project file > navigate to the Project menu item > and select “ASP.NET Configuration”. Follow the wizard and you are up and running now. But the problem… Read More »

Get On With It!

By | January 16, 2009

When we started gathering requirements from the charity organizations for Bunian, it appeared that there are other kinds of people who benefit from the charity organization; there are “needy families” whose father is still alive but can’t sustain their families, and “students” who can’t afford their study.  So Bunian needs to support all these Beneficiaries… Read More »

Importance of Documentation

By | December 26, 2008

  Lately we have decided in Bunian to move on to NHibernate 2.0, and the contributor assigned to the move started out, only to send an email one day after: “THERE IS NO DOCUMENTATION!’.We had errors as a result to the move which couldn’t be fixed without a documentation explaining why this happened. After searching… Read More »