Popular
21
votes
For The Record
Let's Get Technical
– Records are data structures that hold one or more pieces of information. While records have been around since the earliest days of Pascal, they have taken on a much larger role in the most recent versions of Delphi. Today's records possess many features previously only found in ...
14
votes
Why You Should Be Using Interfaces
Nick Hodges
– I’ve been railing on why you should be coding against interfaces, and a number of you have been asking me to write an article about it, so I did. It turned out to be pretty long, so rather than make it a blog post, I turned it into an article. Why You Should be Using Interfaces and not Direct ...
11
votes
Delphi MVC Web Framework - “Hello World”
Daniele Teti's programming blog
– This is the first “Hello World” for my Delphi MVC Web Framework. program DelphiMVCWebFramework; {$APPTYPE CONSOLE} uses System.SysUtils, MVCEngine in 'MVCEngine.pas', BaseController in 'BaseController.pas'; var ...
11
votes
Lua4Delphi – Implementation Samples Part 1
Reinvent The Wheel
– Lua4Delphi is about to be released, and so, for those interested, it is important know how to implement it in your own applications. [Overview] What are the current capabilities of Lua4Delphi? As it stands today (and will certainly be in the February 1st release) Lua4Delphi can do the following ...
10
votes
Handling some XE2 issues Part #1
Uwe's Delphi blog
– I am using XE2 since it is available to me, but the stuff I am doing at home is different from the stuff at work and also different from the stuff my co-worker is doing. We have switched to XE2 almost two weeks ago and thatswhy we discover some more XE2 issues now. Here are some of the issues we ...
10
votes
What do you think of functions overloads?
DelphiTools
– In Delphi, you can overload functions, but doing so requires using the overload directive explicitly, f.i. the following code declares two functions with the same name, one that will be invoked if you pass an integer, another that will be invoked you pass a string: function MyFunc(a : Integer) : ...
9
votes
Meanwhile, in the DWScript SVN…
DelphiTools
– This summary of recent DWS changes is coming a bit late, and there is quite a bit to cover. Here is a quick, partial roundup of what changed since the last update. Language changes: Initial support for overloads (currently limited to standalone functions/procedures). New operator “sar” ...
9
votes
Good Practices for JavaScript “asm” sections in DWS/OP4JS
DelphiTools
– The compiler supports writing “asm” aka JavaScript section in the middle of Object Pascal, there are a few good practices as well as tips to keep in mind, let’s review the menu: Name conflicts and obfuscation support Do you really need an “asm” section? Don’t ...
8
votes
Visualizing 3D mathematical functions using FireMonkey
The Hacker's Corner
– My article "Visualizing mathematical functions by generating custom meshes using FireMonkey" on EDN. Enjoy! Share This | Email this page to a friend
8
votes
String comparison in Delphi
Yanniel's notes
– Have you ever wondered how utilities like Beyond Compare or DIFF are comparing files? They do this (I guess) by solving the longest common subsequence (LCS) problem.After reading the Wikipedia article liked above, I obtained an overall view of the problem and I looked at the possible resolutions. ...




