September 10, 2005
Why Delphi?
But Delphi is not only a language. It is a platform. It allows you to write vanilla Win32 apps (with message loops, window procedures, and the like), but offers a superb class library which was the first modern OOP and component-based RAD. Now you can recompile the code based on this class library, the VCL, also for .Net, turning your application into a native and managed .Net assembly. But on .Net you are free to use the WinForms classes, beside all of the classes of the core class library, and ADO.NET, as well as (of course) ASP.NET. In other words, Delphi doens't lock you into a single solution but leaves you have with a lot of choices. This is very nice, although for each project yuo should make the effort to figure out which approach to use.
With some tweaks you could also move your code from the VCL to CLX, and have your RAD program running natively on Linux. And if CLX does have problems, the development of server side applications with Delphi/Kylix running on Windows and Linux, IIS and Apache, is really smooth. This web site is an actual example of the technology. Hopefully the Kylix compiler will be kept up to date with the language, even if Borland is not willing to put money into the Kylix IDE or class library.
[For the servers on the computer hosting this blog (and more) I write code in Delphi 2005 on a shared linux file system, and after recompiling on Windows, I do a command-line build on my Linux box from the shell running on my PC, than I deploy to another Linux box via SCP, SSH-based file copy].
Delphi is also a very powerfull IDE. Even if the last version had a few quircks, it is because it was heavily rewritten to provide really many new goodies, from refactorings to integrated UML viewing, from better version control integration to multiple form designers (for VCL, VCL.NET, WinForms, ASP.NET, plus a general HTML editor), and the MDA architecture offered by ECO. Hopefully the new version (codenamed DeXter) will bring more features along with more stability).
Delphi is also a community. There are many valuable third party components adding a lot of value and power to the product (reports, extended grids, improved data entry...), but also many community-driven open source initiatives. It is hard to list them all, but JEDI (JCL, JVCL, APIs...), Indy, FastCode, InstantObjects are only few of the countless projects, some most Delphi developers have probably heard about (if not, do check their web sites, they should be rather easy to "google").
The community, of course, is not mostly made of products and projects, but of people. Here I'd refrain from listing all the key players in the Delphi community as I'll certainly forget too many. There are indeed many developers, writers, teachers, team leaders, programmers, hobbiests, students (even dentists) willing to spend some of their time helping other fellow developers. There are few newsgroups around as responsive as the Delphi ones (simply have a look to other Borland newsgroups, or to MS ones, or to Java ones to see the difference). Not that you don't get technical replies on other forums, but you don't see the same involvement. Maybe a reason is that the Delphi community is smaller, you get to know many of the posters. They become friends (or foes, in some cases!). Yes, the Delphi community is very vocal, asking Borland a number of impossible things, but it is because these people like Delphi so much, not because of the opposite! Something very similar happens int he "Delphi e Dintorni" Italian community I help moderating (and host on an NNTP server built with Delphi by some friends).
I'm really happy to be part of this community and to enjoy using Delphi more than tens years after I started (btw, use the "Happy Birthday Delphi" link on this site to see how I started using Delphi and some of the material I collected from that time). Delphi is not the only technology I use these days. XML and XML-related languages come very close, although I generally use them from Delphi-compiled code. This has to do with Delphi weaknesses on the Web development area, something I'll get back to in another post.
I know there are other reasons for using Delphi, I feel these are the most relevant ones (ignoring some of the obvious and any company backing/bashing). In any case you'll certainly see many more posts on Delphi in this blog.
And, by the way, sorry if my English is not always good as it should, but it is not my mother language and I don't live in an English speaking country either. My books get the extra help of an editor, but for my blog you'll have to bear with my English.
12 Comments
Sorting the Blog
I've fixed the blog sorting in the home page, it was a matter of adding the XSLT statement: <xsl:sort select="created" order="descending"/> in the proper place. No touch to the code, no touch to the program logic, not even to the scripting. I really like XSLT (more on this in another post)!Comment by Marco Cantù [http://www.marcocantu.com] on September 10, 14:24
Why Delphi?
Marco, Your English is fine, don't worry about it.Comment by Chee Wee [http://blogs.borland.com/chewy] on September 11, 05:22
Why Delphi?
Marco, You really well sum-up the delphi spirit :) As you (and a lot of others guys) I felt in love with the delphi language (even if the latest Delphi release isn't as stable as expected)... Long live to delphi :)Comment by Stephane WIERZBICKI on September 12, 10:12
Delphi weaknesses on the Web development area
I can't wait for this subject(Delphi weaknesses on the Web development area) to be commented by you. The Delphi shoot-and-run web strategy exhausted many of us :)Comment by Marius Popescu [http://mapopescu.blogsome.com] on September 12, 14:09
Why Delphi?
Could you check your RSS code, because it doesn't seem to validate. http://www.feedvalidator.org/check.cgi? url=http://blog.marcocantu.com/blog_rss.xmldata I was checking it with RssFeedEater, an RSS Reader I've written - guess how? -, in Delphi 6 ;-), and so I thought it would interest you to know it... Take care Ciao StefanoComment by Stefano Falda [http://www.babisoft.com] on September 12, 17:42
RSS Fedd
I've done some work with the RSS feed and it should now be fine, with the exception of the content... which is some HTML with a wrong name space attached to it.Comment by Marco Cantù [http://www.marcocantu.com] on September 12, 18:22
Why Delphi? Tech question
Buon Compleanno Marco, I don't know if this is the right place but I was wondering if it's possible ask you a technical question. If so, it's about implementing something similar to the Welcome page you see in Delphi 2005 in our win32 applications. My problem is to make the javascript works with the main application. Apparently is not as easy as external.Application.MainForm.Button1.click; Do you know what we need to make "external" in javascript" actually pointing to the main application? Grazie. Ps I'll see you at the conference in SF..Comment by Roberto Azzimonti on September 12, 20:48
Tech querstion
Sorry, but this is not the proper place for tech questions (besides, I really don't know the answer). For tech questions use my newsgroups (the marcocantu section on http://delphi.newswhat.com) or Borland ones. Or mail me, as indicated in the author link on the site menu. And yes, the Borland Conference in SF is a couple of months away...Comment by Marco Cantù [http://www.marcocantu.com] on September 13, 00:40
Why Delphi?
Hi Marco, sorry to bother you again. I think you should escape your HTML characters in the <description> section of your RSS or (this is the quickest way) you should use the CDATA tag. What do you think? Keep up the great job StefanoComment by Stefano Falda [http://www.babisoft.com] on September 13, 12:20
RSS format
Regarding the HTML in the RSS feed, for now I've decided to remove the actual post from the feed, and provide a summary instead. This looks more close to the RSS standard, although most sites provide "rich" RSS. I'll write a post about this ASAP, also to collect opinions.Comment by Marco Cantù [http://www.marcocantu.com] on September 13, 13:19
Why Delphi?
Hi, Marco! Thanks you for your Delphi books. They are great! Keep making them.Comment by Sergey Ryzhov (Сергей Рыжов) [] on September 19, 16:24
Post Your Comment
Click here for posting your feedback to this blog.
There are currently 0 pending (unapproved) messages.

Why Delphi?
Comment by Pawel Glowacki [http://blogs.borland.com/PawelGlowacki/] on September 10, 10:56