Archive for the 'Delphi' Category
12 May
“The board "highly recommended" switching to Pascal/Delphi because it is stable and was designed to teach programming and problem solving.”
Cary Jensen has an interesting survey up on his blog, asking about how much you use the “non-core” features of RAD Studio. Now this is an interesting question. He’s asking particularly about the unit testing, audit, [...]
Posted in Delphi, RAD Studio, Random Thoughts, Unit Testing by: Nick Hodges
4 Comments
05 May
The next principle for the “Pretty Good Practices” we’ll discuss is this notion: Whenever possible and as much as possible, put functionality in a class – preferably a class that can be easily unit tested, reused, and separated from any user interface.
TextScrubber demonstrates this via the use of the TTextScrubber class in the uTextScrubber.pas unit. [...]
Posted in Best Practices, Delphi by: Nick Hodges
18 Comments
28 Apr
Okay, hopefully by now you’ve read the introduction of this series, and you’ve downloaded (or better yet, pulled from source control) the latest version of TextScrubber and given it a once over. In this installment, I’m going to discuss the file structure of the project and why I did things the way I did.
First, [...]
Posted in Best Practices, Delphi by: Nick Hodges
13 Comments
19 Apr
A while back someone (I can’t remember who, sadly, sorry to the person who made the suggestion…) suggested that someone do a series of articles about “the best practices on how to develop a Delphi application”. That’s a good idea. There are a lot of ways to do things, and clearly there are some good [...]
Posted in Best Practices, Delphi, RAD Studio by: Nick Hodges
21 Comments
07 Apr
Okay, so when I left you hanging in the last post, I promised I’d explain what was up with IncMillisecond. But before I do that, I have to explain a bunch of stuff about TDateTime. And as it turns out, we’ll have to take a detour, and we won’t exactly get to IncMillisecond this time [...]
Posted in Delphi, RAD Studio, Unit Testing, ednfront by: Nick Hodges
6 Comments
01 Apr
First, an admin note: I’ve adjusted the color of strings in my code. I was optimizing the colors for reading on my blog proper as opposed to the main site (hadn’t even thought of it, actually, sorry.), and someone pointed out that the colors weren’t working on the main site at all. Hope that this [...]
Posted in Delphi, RAD Studio by: Nick Hodges
10 Comments
31 Mar
Andreano has a new blog, or at least it is new to me – just found it today. He has two items there that caught my eye:
His RADTweet project – a Delphi-based Twitter client – is online. He has wisely put it on SourceForge for easy access, downloading, and updating.
A project that shows how [...]
Posted in CodeGear, Delphi, Delphi Prism, Random Thoughts by: Nick Hodges
2 Comments
30 Mar
Okay, things have settled down again, and it is time to get back to my adventure in TDateTime and DateUtils.pas.
When we last left off, I had started at the top of DateUtils, and just started working my way down. I had written some tests for DateOf and TimeOf, and tried to write tests that pretty [...]
Posted in Delphi, Fun with Unit Testing, RAD Studio, Unit Testing by: Nick Hodges
4 Comments
05 Mar
I was talking with a customer yesterday. It was a pretty typical conversation – they have a big investment in Delphi, with hundreds of thousands of lines of code. They had built a major application for a major business using DataSnap and dbGo (formerly ADOExpress). They had started to build some new web systems with [...]
Posted in Aspect Oriented Programming, Delphi, Delphi Prism, General, ednfront by: Nick Hodges
6 Comments
04 Mar
The Haitian Relief Auction is wrapping up, and there are still some good deals to be had. My favorite out there right now is the “Your name (and picture) in the RAD Studio Easter Egg”. The bidding has gone above $100, so the winning bidder will have their picture included as well. I can tell [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
4 Comments
18 Feb
I’ve always said that by a country mile, the most under-appreciated, under-utilized, and under-exploited feature of the IDE is the Live Templates engine.
If you haven’t explored Live Templates, you really should. The Delphi Wiki has a pretty nice write up on them, as well as a page with a number of useful templates that [...]
Posted in Delphi by: Nick Hodges
23 Comments
06 Feb
Hey, feel free to weigh in on Delphi as your favorite language over at StackOverflow. Hat tip to Moritz Beutel for his answer.
The Haitian Relief Auctions are going like gangbusters. We even made the Santa Cruz Sentinel! (Way to go, Anders! And hey, I even got my name in the papers!) Many of the items [...]
Posted in Delphi by: Nick Hodges
9 Comments
25 Jan
Well, there certainly is a lot of folks using serial ports out there.
Allen Bauer goes on quite a tirade about stack frames and stack alignment.
We originally set 31 December 2009 as the last day you could upgrade from Delphi 2005 and below. A bunch of you were still a bit hesitant, so [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
11 Comments
14 Jan
Check out Channel E – a central location for Embarcardero’s online stuff: video, blogs, twitter, etc.
Interested in finding out more about Delphi Prism? Long time Delphi developer Brian Long has written a White Paper which discusses using Delphi Prism and Mono. You can also download papers from Dr. Bob and Marco Cantu on REST, [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
18 Comments
06 Jan
If I had a dollar for every time I’ve been “teased” about TSmiley, I could finance my own startup.
TSmiley, for those of you that don’t know or haven’t heard, is maybe the very first third-party VCL component ever. I built it for the first time way back in the fall of 1994 when I [...]
Posted in Components, Delphi, General by: Nick Hodges
25 Comments
14 Dec
I spent some time working on the “Enhancements Since Delphi 7” page on the Delphi wiki. Feel free to pitch in. I’m sure that I missed a lot of stuff, as I did it kind of late of a Friday afternoon. I’ll try to get back and fill it out as well. (I referenced the [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
3 Comments
25 Nov
Phew – okay, been a while. I was “on the road” last week. Thanks to all the great folks that showed up in Philadelphia, Raleigh, and Minneapolis for my road show. I hope I was able to convey the great stuff in the latest version of RAD Studio. (Don’t forget to use your “special codes” [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
21 Comments
13 Nov
This week we were in the early stages of rolling out what was to be “RAD Studio Update 2” with a large number of bug fixes. We put the update out on the web and the registered users page, and posted an article on the Embarcadero Developer Network. We were excited, because there are a [...]
Posted in CodeGear News, Community, Delphi, General, RAD Studio by: Nick Hodges
54 Comments
26 Oct
Hey, the Delphi Survey is back! It’s long, but well worth the time. Please go and fill it out as completely and as thoroughly as you can. We really read and study and use and act on the valuable information we get from it. Your opinions really matter and really make a difference. Thanks in [...]
Posted in Community, Delphi by: Nick Hodges
31 Comments
15 Oct
Oh, by the way, another good way to get your comments deleted is to use profanity. Should have mentioned that before.
The guys over at Gurock Software have a really cool article called “Working with Delphi’s new Exception.StackTrace” showing how you can get more information about stack traces at runtime.
Want to write an iPhone [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
15 Comments
29 Sep
Wow – I think that my TurboPower blog post has generated more comments than any has in a while. The response has been gratifyingly positive. There have been a couple of issues and questions raised, so I’ll make a few further points:
Okay, first things first: Is it Turbopower or TurboPower?
Please go to this one question [...]
Posted in Community, Delphi, RAD Studio, ednfront by: Nick Hodges
19 Comments
28 Sep
There has been a lot of interest lately in the TurboPower projects on SourceForge. Lots of folks have used Turbopower code in the past and are now wanting to bring this code forward to Delphi 2010. There has been a lot of work done in this area already, but unfortunately, the SourceForge pages haven’t always [...]
Posted in Community, Delphi, RAD Studio by: Nick Hodges
83 Comments
17 Sep
Okay, question: How do I end up with people on my Twitter following list that I know I didn’t put there? I get these people in my Twitter stream that I’ve never heard of, and – surprise!!! – they are spamming me. How does that happen? (Updated: Let me be clearer — I end up [...]
Posted in Delphi, Delphi Prism, Random Thoughts by: Nick Hodges
6 Comments
14 Sep
Time is running out on the BOGO deal. Act now and get a free product. This offer will end soon!
Have you ever had the overwhelming desire to embed a game into the Delphi IDE? Well, now you can, as Chris Hesik shows you the new Open Tools APIs to do just that. Or maybe something [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
5 Comments
11 Sep
Tim Del Chiaro, RAD Studio Marketing Manager is asking a good question: What have you built with Delphi and other Embarcadero Products? We’d love to know. So, now is your chance to brag about that cool application you’ve been building all these years. You can help us get the word out about what Delphi and [...]
Posted in C++Builder, Cool Things with Delphi, Delphi, Delphi Prism, Delphi for PHP, ednfront by: Nick Hodges
11 Comments
10 Sep
The invaluable Pierre LeRiche has updated FastMM “FastMM is a lightning fast replacement memory manager for Borland Delphi Win32 applications that scales well in multi-threaded applications, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files.” Delphi 2010 uses a pared-down version of FastMM because, well, because Pierre [...]
Posted in Delphi, Random Thoughts by: Nick Hodges
4 Comments
05 Sep
A bunch of guys here on the R&D team are hard at work putting together their CodeRage 4 presentations. Most of the talks will concentrate on the new things you can do with RAD Studio 2010, including new IDE and VCL features. If you haven’t registered yet, I’d strongly recommend that you do so.
[...]
Posted in Delphi, Random Thoughts by: Nick Hodges
5 Comments
25 Aug
Well, after a lot of hard work, RAD Studio 2010 is now available. You can buy it this very minute at our shop site and from our excellent partners around the world.
Our team put in a lot of hard work and brain power to get this release done. Quality continues to be the top [...]
Posted in CodeGear, CodeGear News, Delphi, RAD Studio, ednfront by: Nick Hodges
65 Comments
25 Aug
There have been a bunch of sneak peaks and blog posts and a lot of attention paid to some of the “flagship” features in Delphi 2010 like Gestures, DataSnap, Firebird connectivity, IDE Insight, the Code Formatter, and more. Cool stuff, to be sure (and you can find out more about all of these cool things [...]
Posted in Community, Delphi, General by: Nick Hodges
10 Comments
24 Aug
We posted an FAQ about the W32/Induc-A Virus. Hopefully it will answer those, well, questions that are frequently getting asked. :-) The virus is easy to detect and easy to fix and easy to prevent.
To highlight a few things:
This only affects older versions of Delphi – versions 4 – 7 specifically.
The virus isn’t malicious; it [...]
Posted in CodeGear, CodeGear News, Community, Delphi by: Nick Hodges
12 Comments