Avalon & Indigo

Please discuss general Delphi programming topics here.

Avalon & Indigo

Postby Kambiz » June 11th, 2008, 4:56 pm

According to Delphi / C++Builder roadmap Delphi 2007 should have VCL for Avalon and Indigo. Is there such VCL?

Image
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby kokkoras » June 14th, 2008, 5:00 pm

What is Avalon and Indigo ? ;-)

What is the latest Delphi version?
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby Kambiz » June 15th, 2008, 10:04 am

Now, Avalon is called Windows Presentation Foundation (WPF), and Indigo is called Windows Communication Foundation (WCF).

I didn't work with WCF, but I can tell that WPF is impressive. The learning process of WPF is going to be a little hard, but after that all development will be much easier, productive, flexible and beautiful. User interface of WPF applications is defined by an XML markup language named XAML. Using XAML, you can design a very cute UI which get benefits of DirectX and GPU.

I guess the latest version of Delphi is Delphi 2007. Actually it is a while that I gave up Delphi and use C# and WPF.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby kokkoras » June 15th, 2008, 10:11 pm

> Actually it is a while that I gave up Delphi and use C# and WPF.

I see... so, give us your opinion about C# and the Microsoft way.
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby P_G » June 16th, 2008, 8:20 am

Delphi 2007 supports the Vista Aero effects (Glassing, shadows, etc.) that are part of the desktop window manager (DWM). As far as I know WPF is the .NET wrapper of DWM (correct me if I'm wrong). So yes - Delphi 2007 can do GUIs in Vista-style but it does not use XAML.

P_G
P_G
Senior Member
Senior Member
 
Posts: 51
Joined: June 14th, 2004, 11:13 am
Location: Germany

Postby kokkoras » June 16th, 2008, 10:32 am

I saw a video introduction to C# yesterday. The IDE was so much Delphi like! I am not sure about the learning curve though. Is there a C# VCL version? Learning all those libs again is time consuming. Does the C# personality of Delphi 2007 includes VCL?
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby P_G » June 16th, 2008, 10:50 am

I referred to Delphi 2007 for Win32 in my last post. The C# personality has indeed a VCL for .NET although many users advice not to use this VCL due to the fact that it uses Win32 calls and is not 'pure' .NET.

P_G
P_G
Senior Member
Senior Member
 
Posts: 51
Joined: June 14th, 2004, 11:13 am
Location: Germany

Postby Kambiz » June 16th, 2008, 2:47 pm

C# and .NET libraries sound familiar to Delphi and Java developers, and I am sure you already know why.

The good thing of .NET is that you do not need to invent wheel every time that you want to develop an application, and because of that the .NET library is huge. And obviously for someone that wants to get benefits of .NET, C# is the best choice so that it is designed natively for .NET.

Although managed code is slower than native one, I believe it is not a big issue on today computers. Anyway, in cases that speed is a matter, we can use native code and even call it from the managed code.

you can consider XAML of WPF as DFM files of Delphi. However it is more powerful because beside using GPU for rendering UI, it gives UI designers more flexibility. In XAML, like a web page you can define style for every single control; use data templates to specify how data appears on the controls, bind any kind of data (or property) to properties of controls, define triggers to animate or change style of a control based on value changes of a property (or data) or raising an event, and much more that I didn't learn yet. I do suggest to download XAMLPad (is an MS Tool) and paste some XAML code inside it to see what I mean.

Do you know what, I was really sick and tired of writing wrappers for C/C++ libraries to use them inside Delphi. In C# everything is already there and ready to use. Life is so easier now.
Last edited by Kambiz on June 25th, 2008, 11:14 am, edited 1 time in total.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby P_G » June 16th, 2008, 3:19 pm

Kambiz,
I hope you won't rename 'DelphiArea' to 'CSharpArea' :wink:

P_G
P_G
Senior Member
Senior Member
 
Posts: 51
Joined: June 14th, 2004, 11:13 am
Location: Germany

Postby Kambiz » June 16th, 2008, 4:23 pm

Well, the domain registration is already paid until 2013, so it can't be vanished. :)
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby kokkoras » June 18th, 2008, 9:44 pm

OK, so clould you please name the dev tools you now use? Is it MS Visual studio or the C# personality of Delphi?
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby Kambiz » June 19th, 2008, 2:16 am

I use Visual Studio 2008.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby YogiYang » August 15th, 2008, 5:57 am

Kambiz wrote:I use Visual Studio 2008.

Can you tell me : Why are good Delphi developer def acting to .NET and VS?
YogiYang
Active Member
Active Member
 
Posts: 9
Joined: August 15th, 2008, 5:38 am

Postby Kambiz » August 15th, 2008, 11:34 am

Before Delphi I was a C/C++ developer, but I chosen Delphi because it was making my life easier.
Now I can see C# and that fancy WPF stuff makes my life much easier than Delphi.

Logically, by a better development tool/language you can develop better software and have more and happier customers. That means more money, and consequently a better life. :)
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby YogiYang » August 17th, 2008, 9:29 am

Kambiz wrote:Before Delphi I was a C/C++ developer, but I chosen Delphi because it was making my life easier.
Now I can see C# and that fancy WPF stuff makes my life much easier than Delphi.

Logically, by a better development tool/language you can develop better software and have more and happier customers. That means more money, and consequently a better life. :)

As you have already admitted Delphi made your life easier.

Wouldn't it have been better if you had used Delphi.NET and as for C/C++ used C++ Builder instead of switching as you were already productive with Delphi?

Lastly how long do you plant to support you Delphi components and are you planning to release/convert these components to C#?

Regards,

Yogi Yang
YogiYang
Active Member
Active Member
 
Posts: 9
Joined: August 15th, 2008, 5:38 am

Next

Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 11 guests

cron