Article View: borland.public.delphi.database.dotnet
Article #82Re: Multitier application - note to Bob Swart
From: Hamed F.
Date: Fri, 13 Jan 2006 01:33
Date: Fri, 13 Jan 2006 01:33
92 lines
5120 bytes
5120 bytes
Hi Bob, Thank you so much for your quick reply. I've read most of articles around the subject that I could find in your site. It is more than four days that I'm circling around the subject and still haven't made a decision. (I've become comfused with so many different approaches!) The truth is, I want to use VCL forms instead of WinForms because I'm very familiar with them and more comfortable using them. On the other hand, I would like to use ADO .NET for my data access part. Your article on .Net Remoting is great. But as you said, all these kind of stuff make .Net DataSet and it is not recognized with VCL data-aware components. The only one that does it, is TADONETConnector which is not a good choice because of bad documentation. From what I've read, I understand that I can not used some ready components like RemoteServer and RemoteConnection and do the jab (VCL in front end). Either I should use WinForms or go back to win32 applications and do the server in win32 as well. Am I right here? If you think I can do what I wanted from the start, I appreciate if you just tell me the name of the objects I should use in both ends. I go and read more about them. Something like: "RemoteServer+class X+class y" in server app, and "ClientDataSet+Class z+..." in client side. I really appreciate that because I'm completely lost between different stuff. Thanks again Hamed "Bob Swart" <b.swart@chello.nl> wrote in message news:43C6E11D.BFEA0806@chello.nl... > Hi Hamed, > >> I hope one of you guys help me to make a decision, especially Bob Swart : > > (voice of Mr. Lurch) You rang, sir? ;-) > >> I would like to use .Net, VCL forms (not WinForms). Which technology do >> you >> think is the best (DataSnap, or other things)? > > With DataSnap, you can only build Win32 servers. That's a bit of a > bummer... You could check out RemObjects SDK to build multi-tier Delphi > applications using Win32 and .NET (mixing them as you want). > >> Can I use acombination of them? For example can I use BDP .NET in server >> application but not in Client? > > If you use BDP or ADO.NET in the server, then you are probably exporting > a .NET DataSet, which is something any client can receive, but which is > hard to understand if you're not a .NET client. You can of course build > a .NET VCL client, but it won't be able to bind the .NET DataSet to the > VCL DB aware controls, unless you use the hardly documented > TADONETConnector, see http://www.drbob42.com/examines/examin62.htm > > (but perhaps I should also cover how to work with .NET DataSets in > regular VCL controls - or try to build my own data-aware VCL components > to connect to .NET DataSets. Hmm...) > >> I found some good articles in DrBob.com. The best one I liked was using >> TADONETConnector which is a bridge from ADO .NET to VCL forms. I don't >> know >> how to use the same approach, but using server application in another >> machine. And would that be a good idea for my app? The example in Dr >> Bob's >> examines comes with Web Service. When I tried to do the same with >> TListConnector and BDP.NET, it was not the same. > > For the server you should also be able to use the DataSync/DataHub and > RemoteServer with RemoteConnection components. Or just .NET Remoting > itself (see the other "Dr.Bob Examines" articles for some examples - > although none are using the TADONETConnector again). > >> And finally, if Mr. Bob Swart is reading this message: >> Bob, I appreciate your help. If you could direct me to the right way, I >> want >> to buy one of your course books from your site that is related to that >> way. > > I hadn't read this far when I started to answer your message - but I > believe the "ADO.NET" and "XML, SOAP & Web Services" titles cover parts > of what you're looking for ;-) > >> Thanks a lot >> >> Hamed > > Groetjes, > Bob Swart (aka Dr.Bob - www.DrBob42.com) > > -- > Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner > Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml
Technical Details
Message-ID:
<43c702e2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43c6dc64$1@newsgroups.borland.com> <43C6E11D.BFEA0806@chello.nl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,a27a25840ef65884 X-Google-Attributes: gid1effe6,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Hamed F." <hamedf@rogers.com> From: "Hamed F." <hamedf@rogers.com> Newsgroups: borland.public.delphi.database.dotnet References: <43c6dc64$1@newsgroups.borland.com> <43C6E11D.BFEA0806@chello.nl> Subject: Re: Multitier application - note to Bob Swart Date: Thu, 12 Jan 2006 20:33:55 -0500 Lines: 94 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 72.56.4.186 Message-ID: <43c702e2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137115874 72.56.4.186 (12 Jan 2006 17:31:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail