February 2006 - Posts

0
Comments

Software development processes, steps and methodologies by hannes

A nice high level summary of Software development processes, steps and methodologies courtesy of Wikipedia. ( http://en.wikipedia.org/wiki/Software_development_process ) Software development process Waterfall processes The best-known and oldest process is the waterfall model, where developers (roughly) follow these steps in order. They state requirements, analyze them, design a solution approach, architect a software framework for that solution, develop code, test (perhaps unit tests then system...
Filed under:
2
Comments

Using Class Interfaces by hannes

The UML definition of an class interfaces is that's it used to describe the external visible behaviours of a class. Now my question, should a public class have an interface for it's exposed methods or not? I believe so but what's a good practice regarding the use of interfaces? Lets also say that everything is straight forward meaning no COM+, GAC, etc to simplify the problem. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!
Filed under:
0
Comments

Operator Overloading. by hannes

Operator overloading is not something you use everyday. But when you can find a use for it it can a be very useful solution. Here is a simple example. Public Class Time Private Hours As Decimal Private Minutes As Double Public Sub New ( ByVal F As Integer , ByVal I As Double ) Me .Hours = F + ( CInt (I) \ 60 ) Me .Minutes = I Mod 60 End Sub Public Overloads Function ToString() As String Return Me .Hours & " Hours, " & Me .Minutes & " Minutes" End Function Public Shared Operator +( ByVal...
Filed under:
0
Comments

DataGrids: Paging and Sorting Example by hannes

ASP DataGrid is one of the most useful WebControls. In the following example I will show you how to use the paging and sorting functionality of DatGrids. < body > < form id ="frmDataGrid" runat ="server"> < div > < asp:DataGrid ID ="dgMonth" runat =server AutoGenerateColumns ="False" AllowPaging ="True" AllowSorting ="True"> < ItemStyle Font-Bold ="False" Font-Italic ="False" Font-Names ="Arial" Font-Overline ="False" Font-Size ="9pt" Font-Strikeout ="False" Font-Underline...
Filed under:
Powered by Community Server (Commercial Edition), by Telligent Systems