Home > Toolbox

Toolbox

The toolbox contains projects and articles about software engineering and related topics.

Items in the toolbox


Parsing a menu using XML, XSLT, and PHP

Keywords: PHP, XSLT, XML, menu, breadcrumb trail
Description:
While I was evaluating PHP and started to restructure this site, I thought it would be nice to use XML for both content and menu of the site. XML allows a structured design of your content that is both flexible and easy to use. Using XSLT you can easily transform this content to HTML. Actually, since XML requires a structured and well-formed page, you get XHTML 1.1 compliance almost for free. This article gives an overview of how to accomplish this using three ingredients: XML, XSLT, and PHP.
View article | View example | Download source (.zip file, 4 KB)

A C# project metrics tool

Requires .NET Framework v1.1
Keywords: C#, SLOC, metrics
Description:
This tool displays several metrics of a C# project. The specified project file (*.csproj) is scanned and each contained C# source file is interpreted. The tool displays several accumulated metrics, such as source lines of code (SLOC), total number of whitespace lines, and the total number of lines. These metrics give an impression of the size of an project.
Implementation:
The tool is implemented using Visual Studio 2003 and C#. It is actually a testbed for an XML serializer, which is obtained from a custom model-based code generation tool.
Download binary (.zip file, 21 KB)
Get .NET Framework 1.1


Valid XHTML 1.1! Copyright © 2004. You can contact the author at contact@markd.nl. Hosted by BytePark.