Posted on 5th September 2010 by jamiei in Delphi, Delphi Prism, Development
The Managed Extensibility Framework (or MEF for short) has been around the .NET world for a while but I thought I might go through my foray into using MEF with Delphi Prism. MEF is a new library in .NET Framework 4 and Silverlight 4 that addresses the problem of easily extending and componentising applications by [...]
Posted on 8th June 2010 by jamiei in Delphi, Delphi Prism
As the announcements have recently proclaimed: Delphi Prism 2011 is out now and the Software Assurance emails went out particularly quickly after the announcements (great work team embarcadero!). I thought I might share what I’ve found to be new and cool in the Delphi 2011 Release. Visual Studio 2010 Support I’ll start with the most obvious [...]
Posted on 20th March 2010 by jamiei in Delphi, Delphi Prism, Development
It’s very easy to overlook the fact that Delphi Prism fully supports .NET 3.5 and parts of .NET 4 and with it, the amazing range of Frameworks and Libraries that the .NET eco-system contains. One such framework that I’ve been waiting to get working with is the Microsoft Reactive Extensions for .NET (aka Rx Framework). [...]
Posted on 9th November 2009 by jamiei in Delphi, Delphi Prism, Development
In my original introduction to Cirrus framework I drew up a basic method result caching attribute for Delphi Prism. This weekend I thought I’d give it another go and try to create a more general purpose Caching Aspect that integrates with a well known Cache library. I decided to use the opportunity to experiment with [...]
Posted on 3rd October 2009 by jamiei in Delphi, Delphi Prism, Development
In my last post I covered dynamically compiling code with Delphi Prism and this time I’m going to introduce dynamically creating code which could then be written out to a source file or compiled from in memory. You might want to generate code dynamically for a wide variety of reasons, whether it be to bootstrap [...]
Posted on 2nd September 2009 by jamiei in Delphi, Delphi Prism
Delphi Prism and the .NET Framework are both extremely powerful tools and bring a lot of flexibility that Delphi for Win32 cannot necessarily provide, particularly when it comes to reflection and code generation. I recently started a project where I wanted to be able to compile a string with Delphi Prism code into an assembly without hacking my [...]
Posted on 29th June 2009 by jamiei in Delphi, Delphi Prism, Development
The May 2009 Release of Delphi Prism introduced the Cirrus layer that provides Delphi Prism developers access to a library for Aspect Oriented Programming natively for the first time. The AOP Wikipedia article has a much more detailed explaination than I could provide but for those who don’t want to read the full article AOP [...]
Posted on 28th April 2009 by jamiei in C#, Delphi, Delphi Prism, Development, Podcast at Delphi
I have in the past written up a few tips for converting a Delphi.NET project to Delphi Prism but this time I thought it might be useful for me to write up my experiences on converting this C# Project to Delphi Prism by initially using the C#ToPas Tool from RemObjects. Many of you who attended CodeRage [...]
Posted on 11th January 2009 by jamiei in .NET General, codegear, Delphi, Delphi Prism
Continuing my look at Delphi Prism, in my previous post I took a (very short) look at some of the compatibility changes required to port my Delphi.NET Twitter Library to Delphi Prism, I mentioned that I now needed to learn about some of the new language features provided by Prism. Ever since the release of [...]
Posted on 21st December 2008 by jamiei in .NET General, codegear, Delphi, Delphi Prism, Development, Windows Development
As we know, now that the future of Delphi.NET is Delphi Prism (based on the RemObjects Oxygene compiler) we have to migrate our Delphi.NET projects to be compatible with the Prism compiler. The Easiest way to get started is to look at the free Oxidizer tool provided on the RemObjects Wiki. The tool helps with [...]
Commentary..