Saturday, July 29, 2006 Here is the BDS Live Template I wrote to create an NUnit test method shell for a C# class.
<?xml version="1.0" encoding="utf-8" ?>
<codetemplate xmlns="http://schemas.borland.com/Delphi/2005/codetemplates"
version="1.0.0">
<template name="test" invoke="manual">
<point name="name">
<hint>
Method name
</hint>
<text>
MyUnitTest
</text>
</point>
<description>
Unit test method
</description>
<author>
Kirby Turner - White Peak Software Inc
</author>
<code language="CSharp"><![CDATA[[Test]
public void $name$()
{
$*$Assert.Fail("Not implemented.");$end$
}]]>
</code>
</template>
</codetemplate>
The template will generate the following C# code:
posted by Kirby | July 29 09:19 AM | comments (0)
[Test]
public void MyUnitTest()
{
Assert.Fail("Not implemented.");
}
Friday, July 28, 2006 Kevin Downs, of NDoc fame, has decided to stop work on NDoc. One reason is the lack of love from the .NET community. This widely used open source tool for generating source code documentation from .NET applications has received very few community contributions and from what I gathered even less financial support. And to make matter worse Kevin was the victim of a mail-bomb attack believed to be directed at him for not providing .NET 2.0 support fast enough.
I'm not surprised at the lack of community support but the mail-bomb attack is just plan insane. I don't blame Kevin for stepping down. posted by Kirby | July 28 09:35 PM | comments (0)
I spent most of my day today fighting browser capibility problems. The AJAX heavy web page I'm working on functions great in FireFox but not so great in IE. After ranting to a friend, he sent me the following picture. So true, so true!
posted by
Kirby
|
July 28 02:50 PM
|
comments (2)
- Need to test your application's compatibility with Vista? Here's a set of tools that will help.
- SQLite is an awesome SQL database engine. And there is a Delphi favor of SQLite called DISQLite3. I recently used DISLite3 to help merge data from different files and I found it easy to use and very fast.
- I did a little mountain biking in Salem Woods. I didn't have time to ride the whole loop but I did enjoy what little I did ride on. Tight single track and lots of rocks and roots.
- My vacation officially starts when Melanie gets home from work. Unfortunately Boston is being hit hard with a summer time thunderstorm so her flight has been delayed. Still the start of vacation time is just hours away.
- After working in Visual Studio 2003 for a few days this week, I had to switch back to Borland Developer Studio 2006. It has definitely become my favorite IDE even for C# projects. But what if I am working with a team? I wonder how confusing it might be if I continued using BDS while other teammates user Visual Studio. Guess I'll have to try it and see.
According to the Microsoft blogger Somasegar, Windows Vista will support more than 7,000 new native APIs.
Here is a trivia for you. We have added more than 7,000 new native APIs for Windows developers in Windows Vista. Examples of some of the exciting new areas where we have exposed new APIs include the new integrated search capability and the new peer-to-peer functionality. To get the whole story, please check out the Windows Vista Developer Story at the Vista Developer Center.
Further proof the native windows code is here for a while. posted by Kirby | July 28 09:10 AM | comments (0)
Wednesday, July 26, 2006 In this recent article on eWeek, Tod Nielsen said Borland is close to naming the buyer for DevCo. He also said the process should be complete by the end of September. Exciting time indeed for software developers.
Many people thing Delphi is dead, but they are dead wrong. I've been hearing the same time for 10 years now from people who have never even tried Delphi. "Delphi is dead." "There is no future for Delphi." And so on. Not only is this wrong, but the future of Delphi is brighter than ever.
I jumped onto the .NET C# bandwagon in the early days. My first C# work started right after the Summer 2000 PDC, and I worked with C# exclusively from 2001 through most of 2004.
Soon after starting White Peak Software I realized I needed a "secret weapon" not only for custom software development work but for the products White Peak Software plans to publish. That secret weapon is Delphi. I have been able to do so much more for our customers, in less time and at a lower cost beacuse Delphi.
Corporations and uppper management will never get it. Microsoft development tools are a safe choice, and in many cases .NET within the enterprise makes the most sense. But for those developers who need a tool that allows them to do many things, Delphi or rather Borland Developer Studio is perfect. The ability to write native Win32 application and .NET applications from the same IDE is priceless. posted by Kirby | July 26 08:33 AM | comments (0)
Tuesday, July 25, 2006 A good read about one person's opinion on why Delphi is less risky compared to Microsoft development tools. I concur with this opinion. Heck just the other day I incorporated some Delphi code that I wrote some 10 years ago into a customer application. posted by Kirby | July 25 05:53 PM | comments (0)
Sunday, July 23, 2006 The last few weeks have been very busy for me so I haven't had time to post as many blog entries as I would like. SO here's a quick list of random thoughts I have had recently.
- Microsoft acquires SysInternals and WinInternals. Big news in my opinion. I'm curious to see what Microsoft will do with the excellent SysInternal tools like Process Explorer.
- Speaking of SysInternals, Mark Russinovich has an interested take on .NET managed application. I agree with him that client only applications shouldn't be managed applications.
- Foxit Reader is awesome. It is a PDF reader but unlike Adobe's PDF reader Foxit loads fast and doesn't require an install. The single Foxit exe has made its way into my bin directory of useful tools.
- Allen Bauer points out that Foxit has an SDK that allows you to embed a PDF reader into your application. And best of all it supports Delphi.
- Four grand to remove a tree? Makes me question whether home ownership is worth the trouble and unexpected expenses.
- DevCo is one step closer.
- I recently started some new work in Visual Studio 2003 and I immediately started missing features from Borland Developer Studio 2006. Most noticeable was the lack of built-in support for unit test projects and creating unit test cases. BDS simplifies the setup of unit tests.
Thursday, July 13, 2006 I lived in the West Village, Manhattan for just over 6 years. Earlier this year my wife and I moved to Salem, Massachusetts. We have a number of reasons for moving such as a change in life style, wanting to be closer to the mountains of New England, etc. Cost is definitely one of the reasons. We were spending more and more time outside of NYC making it hard to justify paying high rent for an apartment we didn't see much, especially in the winter time.
I was surprise to learn that Essex County, Massachusetts, which is where Salem is located, is ranked at the top of the recent Forbes most overprice places in the United States. (New York is ranked number 6.) Granted we don't live in one of the awesomely big water front homes mentioned in the article. I wish we did. But homes at a million and more is beyond what we can afford. I will say, though, that $1.4 million for a 4,000 square foot water front home does seem like a better deal to me than a $1.4 million, 2 bedroom, 900 square foot condo in downtown Manhattan. posted by Kirby | July 13 08:29 AM | comments (2)
