Contents tagged with Design Patterns
- 30Mar 2011
Why I Still L.O.V.E. ASP.NET WebForms
Objectives Build Contact Page (a page that interacts with a data-storage) Build a Contact List Page (a page with a gird) Do it using ASP.NET WebForms Create Unit Tests We will use the MVP …
Read More -
Firebug is an essential tool for every web developer. It allows to do many things such as script debugging, DOM manipulation etc. What happens though when it get’s to the hand of an experienced …
Read More -
HDD (and it don’t mean Hard Disk Drive ☺) is intuitively a bad approach on Software Development. If someone tells you that many times is doing Hope Driven Development, only by name you might say “Oh …
Read More - 5Mar 2011
JavaScript is disabled - Should I Care?
Many times a Web Developer faces the question “This won’t work if JavaScript is disabled. Should I change it?” If it’s something simple like a submit button instead of a link …
Read More -
The easiest way to submit a form is to use the input tag with the submit type <input type="submit" name="submit" value="Submit" /> But in every form it’s possible want a cancel link that …
Read More -
Visual Studio has a build in Replace function that uses Regular Expressions. Let’s consider the following scenario: Although it’s not “good” code many times a developer has to write the following code …
Read More -
Javascript is weeeell a script-based language. But over the years it has evolved a lot! So can we develop in an Object Oriented Way using javascript? Of course we can! Here is one (of many) way of …
Read More - 28Feb 2011
A simple SQL quiz
Today at work a colleague came up with a really interesting question. Let’s consider this : We have a table that has two columns Id, IsValid. Id is our primary key, while IsValid is a not null …
Read More - 27Feb 2011
[Design Patterns] Null Object Pattern
Design patterns are a chapter that I believe every developer should be familiar with. Design patterns are not to be used in every line of code but you should know as many as you can in order to know …
Read More -
At the Greek WebMatrix WebCamp I asked from the attendees to implement a simple notebook website. This website should be built using WebMatrix and SQL CE. I also implemented the above …
Read More