Swimming World Championships: Delphi Software swim in it

From July 17th to August 2nd, The Foro Italico (in Rome) will be the heart of the 13th FINA World Championships Roma 2009, for swimming, diving, synchronised swimming and water polo. Four permanents pools and two temporary pools will be the set of the competitions for the four competitive disciplines, and all the venue will turn into a village that will host and entertain all night long over 400.000 people during 17 days of contests. Now you are thinking: where is Delphi ? Delphi is used (as usual) without knowing you are using it. A software built with Delphi is…
Continua a leggere →

Delphi Developer Days

When I was at Delphi Live in San Jose, I attended Marco Cantù and Cary Jensen Masterclass about Delphi Multithreading. Although, I’m expert of multi threading techiques and the related problems, this masterclass was very interesting and well organized as well. IMHO, the topics have been presented in very effective manner and, as usual, in a very professional way. After their speech, Marco introduced me to “Delphi Developer Days”. I’ll do my best to attend their event in London. Following some references in case you want also attend: Delphi Developer Days 2009 London Top Delphi experts Marco Cantù and Cary…
Continua a leggere →

Delphi profiling made simple… really simple!

Many users asked Embarcadero to include a profiler in the next Delphi for Win32. Waiting for this, there are some interesting tools for profile a Delphi program. For example, AsmProfile is an Open Source sampling profiler wich is very simple to use. UPDATE: Actually AsmProfile is an “Instrumenting” profiler. It uses runtime function detouring and assembly to profile any selected function. If you dont know differences between Instrumenting profiler and Sampling profiler, you can go here or here and read about it. So, Suppose to have a slow code like this: Download AsmProfiler from SVN or project home page (see…
Continua a leggere →

A Simple start with MVP in Delphi for Win32, Part 1

As GUI framework such as VCL become more and more powerful, it’s common practice to let the UI layer do more than it should. Without a clear separation of responsibilities, the UI layer can often become an integral part of application and businness logic, but… this kind of responsabilities belongs to other layers of the application. A design pattern (and his numberless variants), is especially well suited to solving this problem. In this article I want to build a simple application using MVP pattern. Actually, pattern used is not “clear” MVP but his variation called Passive View. Using Fowler words:…
Continua a leggere →

.NET databinding in Delphi for Win32

Databinding is defined as: “General technique that binds two data/information sources together and maintains them in sync. This is usually done with two data/information sources with different types as in XML data binding. However in UI data binding, we bind data and information objects of the same type together (e.g. Java objects to Java UI elements).” Databinding is common technique in VCL. Since Delphi 1 we have TDataset class for bind data and UI controls (DB Aware) in a GUI application. In .NET world, instead, databinding is very different. So, I’m starting to write (actually for fun) a DataBinder component…
Continua a leggere →