RE: [DUG] Simple VCL for web aplication

2007-06-07 Thread Xander \(GMail\)
Only a very brave person will start a new web application in Delphi! Use ASP.NET or even PHP. Either of these two will provide you with web services capabilities that you can call from your Delphi client. Regards Xander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Robert martin
Ok. We don't have ASP.Net or PHP (I suppose we could get one or other). How would my Delphi app receive / send the data? SOAP? Rob Martin Software Engineer phone +64 03 377 0495 fax +64 03 377 0496 web www.chreos.com Wild Software Ltd Xander (GMail) wrote: Only a very brave person

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Robert martin
I'm on VISTA and cant access C:\Documents and Settings directly. I have tried UserName\Documents\Rad Studio but no demo dir there either. I suspect we should investigate ASP.Net or PHP. Any other suggestions? This is part of a larger much larger project and needs to be pretty quick and simp

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Neven MacEwan
Robert Is this a web app? ie a browser based client? I'd use PHP and AJAX (which is what Delphi for PHP uses) If you want "roll your own" look at this ajax lib http://www.ajaxtoolbox.com/request/ From the way your expressing yourself (ie SOAP) I think you are looking at a Fat client talking

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Robert martin
Hi Neven Yes a fat client (Delphi Win 32 app) that simply needs to send some data to a centralised web DB (Voucher sales / redemptions) and get from a centralised web site voucher sales / redemptions from other sites. I don't want to do direct web based DB connection so I thought a simple w

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Nick
Rob, Sounds like just using Indy idHttp (preferably over https) with php would do all you need. So you could call something like mypage.php?option=getclients Which can return the client data as csv back to your delphi app, just like getting a web page - advantage of that is gets around some f

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Robert martin
OK I have used Indy before. Haven't used https but I assume thats pretty much just a setting. I assume I could send my csv as compressed / Encrypted binary data. We don't have Delphi PHP and I am not sure it is warranted for a project this size. What would people recommend. Rob Martin S

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Nick
With all the tutorials on PHP it'd be a piece of cake to do with notepad (I prefer crimson editor for it's nice syntax highlighting), with https all you need to do is include some dll files with your app (and get a ssl certificate for your web server etc which your host could organize) Nick

RE: [DUG] Simple VCL for web aplication

2007-06-07 Thread Jeremy Coulter
Why not just use HTTP and encrypt the data you are sending (which will just be a simple string encryption like tripple DES). Same as HTTPS and easier to implement. When ever I use HTTP for anything from withing Delphi, I use the Synapse code and its REALLY easy, better than Indy, and a far smaller

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Robert martin
Yeah, that sounds easier (less to install, distribute and maintain). We might have a go at whipping up a sample application. Im sure further questions are coming :) Thanks to everyone for their helpful suggestions so far :) Rob Martin Software Engineer phone +64 03 377 0495 fax +64 03 377

Re: [DUG] Simple VCL for web aplication

2007-06-07 Thread Neven MacEwan
Robert I'd recommend PHP for the Server code, its so trivial i don't see you needing an IDE (though if you do decide you need one look at www.nusphere.com) for my first year of PHP dev I just used an editor Neven Yeah, that sounds easier (less to install, distribute and maintain). We might

[DUG] SQL Server Image Type

2007-06-07 Thread Dave O'Brien
Hi all, I have an image in a TBitmap, can't work out how to store it (probably retrieve it as well...) in an SQL Server 2000 Image field. Any ideas? Regards, Dave. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: h

RE: [DUG] SQL Server Image Type

2007-06-07 Thread Myles Penlington
You use LoadFromStream and SaveToStream on the Bitmap class. On the database size reading is easy - as you will get a blob field - which has a SaveToStream method. You prob need to translate the stream, or use a TStringStream, as then can read it from the image and save to a blob field or a param