Jul 272004
 

Yesterday I created the basics of a mailserver with the Indy 9 components. To avoid cluttering the main form, I’ve put the components on a Data Module, but that was not a good idea. Moving them to the main form made the code compile and run.

{note to self: Data Modules are for database-components}

As a database, I need a database that can either run embedded and be extended to client-server. FlashFiler 2 from TurboPower can do that, and so does NexusDB, but the free version of NexusDB has a limitation of 1 database per app, 5 tables per db, and 10000 rows per table. Not sure if that will do the trick for a mailserver. Buying (US$900) just to create a proof-of-concept seems a little irrational, even to me.

The plan to create a working mailserver is:
– design data model
– implement basic database structure
– implement accounts/aliasses/maillists
– implement receiving and storing messages for accounts/aliasses/maillists
– setup domainstructure / relaying-settings
– implement POP3 retrieval
– ask friends to test this version 🙂

If things get this far, and things go well, the following items are on the to-do list:
– logging
– basic anti-spam features
– basic anti-virus features
– IMAP4 capabilities
– external POP3-mailbox retrieval
– ODBC (or native Oracle/MSSQL) to support other databases for account/message-storage
– …

 Posted by at 10:02
Jul 262004
 

There is an informal update for Delphi 7 on CodeCentral. It solves some XML databinding issues. The entry is on this page.

 Posted by at 11:58
Jul 152004
 

I played around with NexusDB lite, the free version of NexusDB. NexusDB is a C/S database system, that can be used embedded as well. In that case, your exe is both the client and the server.

NexusDB Lite, currently at version 1.07, has 3 restrictions/limitations: you can only open 1 database per application, you can only have 5 tables per database and you can only have 10000 rows per table. That sums to 50000 rows in total. Not a problem for initial setup or serious testing.

All standard datacontrols recognize the nx-components, so you should not have any trouble converting/creating your application.

It’s a little to early to give my judgement, but from what I know now, I can say that the server and the components work pretty smooth. The only thing I have against NexusDB at the moment are the strange datatypes. ShortString, WideString, NullString. Make up your mind. Where my (VAR)CHAR? And why an Int8, Int16, Int32 and Int64? What’s wrong with Shortint, Int, LongInt? Okay, okay, I’ll stop whining. It’s not Oracle. And it is free, so who cares?

 Posted by at 23:29
Jul 142004
 

Yesterday I had a good day in my mental/personal(/midlife?) crisis, so I started Delphi just to do some programming. Nothing real, just playing around. A while ago, I downloaded SuiPack, from SuniSoft, so I installed that.

Let me tell you about the installation first. You start the installer, and in less that a minute a message is showed that the installation is complete. Okay, I thought, I haven’t even noticed something.

Starting Delphi again gave me 4 more tabs in the pallette: SuiPack, SuiPack DB, SuiDialogs and SuiUtils. The first one is so filled with components, that it doesn’t even fit on one page. It seems to contain just about any object you already know! SuiPack DB holds the components that are database-aware. SuiDialogs hold some predefined dialogs and then there are some utils.

Working with the components is easy. Converting old projects is easy too. Just drop a converter-component on your form, and suiPack will try to convert all components to the Sui-counterpart. If you don’t use too many third party components, converting should give you no problem. Switching themes on the fly is easy. Just drop a SuiThemeManager on the form, double-click it to select which components will be effected and at runtime change the SuiThemeManager.SuiUIStyle to something else. A predefined theme, or something you load from a file. It’s already in there.

Two thumbs up for this product. Its price is good too. Individual licenses are $59, or $99 with full source. Corporate licenses are more expensive, but still very cheap if you have a couple of developers on your payroll.

 Posted by at 09:31
Jun 082004
 

The Microsoft .NET magazine for Developers #5 (what a great title for a Dutch magazine!) has an article about Delphi 8 for .NET, written by Bob Swart. As one can expect from Bob, the article is clean, without prejudice and after reading it you can only think: why don’t I have a copy yet?! 😉

No link to the article, since the magazine is not an e-zine, but an old-fashioned paperstyle magazine.

 Posted by at 23:46
May 272004
 

Yesterday, I converted the application I’m building for a client from using TRichView to WPTools, after succesfully using both next to eachother in one window.

Although WPTools is only $45 (225 vs. 180) more expensive, it offers not only more components to make your programmers life easier, but it has better RTF-compatibility as well. TRichView (as confirmed by the author when I asked him about it) has problems with very thin table-lines (if you set the border to 1 or so). And it can’t handle headers and footers well, as I blogged about before.

In a couple of hours playing with the WPTools-components, I had more functionality in my application than ever before with TRichView. And when I asked the author a question in the middle of the night (actually, it was about 01:00), the answer was already in my mailbox this morning (at about 06:55). And I thought I had little sleep!

If one is interested, I can draft an article that shows the differences in more detail then described here. So drop me a line/comment if you would like to see such an article.

 Posted by at 08:59
May 222004
 

In case you downloaded and installed the Delphi 7.1 update, go and download this one as well, since it seems to fix the bug that cause the “persistent field size mismatch exception”.

 Posted by at 00:10