[DUG] Simple VCL for web aplication
Robert martin
rob at wildsoft.co.nz
Fri Jun 8 10:03:38 NZST 2007
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
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Nick wrote:
> 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
> firewalls that block lots of ports but leave 80 open ;-)
>
> However anyone watching the wire could see that url being requested,
> and when they type it into there browser they see all the client data
> as well so you can either encrypt the parameters and decrypt them in
> php, or use https.
>
> I've used similar approaches to the above for bug submissions and
> customer registrations and works well.
>
> Cheers
> Nick
>
> Robert martin wrote:
>> 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 web server that processed send / get commands would
>> be best.
>>
>> A further requirement is a web page (s) that can display information
>> from DB i.e. Sales info.
>>
>> So the visual aspect is very low. I need to get a simple proof of
>> concept built (just reading / writing to a flat file) and then will
>> extend it to a full DB application (I was going to use Firebird
>> Embedded, because we know that (and have access components) but if we
>> are using Non Delphi technologies then I suppose other DB types are
>> up for grabs :) ) But thats another conversation :)
>>
>> Hope that makes it clearer.
>>
>> Rob Martin
>> Software Engineer
>>
>> phone +64 03 377 0495
>> fax +64 03 377 0496
>> web www.chreos.com
>>
>> Wild Software Ltd
>>
>>
>>
>> Neven MacEwan wrote:
>>> 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 to a Web Server
>>> backend and unless you have extreme graphics requirement at the
>>> client I wouldn't bother
>>>
>>> It would be easier to advise if we knew more
>>>
>>> HTH
>>>
>>> Neven
>>>
>>>> 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 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: delphi-bounces at delphi.org.nz
>>>>> [mailto:delphi-bounces at delphi.org.nz] On
>>>>> Behalf Of Stefan Mueller
>>>>> Sent: Thursday, June 07, 2007 5:05 PM
>>>>> To: 'NZ Borland Developers Group - Delphi List'
>>>>> Subject: RE: [DUG] Simple VCL for web aplication
>>>>>
>>>>> Am I the only one thinking that this should be done in ASP.NET?
>>>>> Writing some simple soap service and a reporting page is pretty
>>>>> much as easy
>>>>> as it gets .. perfect to get your toes wet in a newer better
>>>>> supported
>>>>> technology (who knows how much longer intraweb will be supported).
>>>>>
>>>>> Kind Regards,
>>>>> Stefan Mueller
>>>>>
>>>>> -----Original Message-----
>>>>> From: delphi-bounces at delphi.org.nz
>>>>> [mailto:delphi-bounces at delphi.org.nz] On
>>>>> Behalf Of Robert martin
>>>>> Sent: Thursday, June 07, 2007 1:52 PM
>>>>> To: NZ Borland Developers Group - Delphi List
>>>>> Subject: Re: [DUG] Simple VCL for web aplication
>>>>>
>>>>> Yeah, not there :-(
>>>>>
>>>>> Rob Martin
>>>>> Software Engineer
>>>>>
>>>>> phone +64 03 377 0495
>>>>> fax +64 03 377 0496
>>>>> web www.chreos.com
>>>>>
>>>>> Wild Software Ltd
>>>>>
>>>>>
>>>>>
>>>>> Nick wrote:
>>>>>
>>>>>> C:\Program Files\CodeGear\ etc etc
>>>>>>
>>>>>>
>>>>>> Robert martin wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> Didn't even think about that ! We are using D2007. Cant even
>>>>>>> find the demos directory, must be having a blond moment :)
>>>>>>>
>>>>>>> Rob Martin
>>>>>>> Software Engineer
>>>>>>>
>>>>>>> phone +64 03 377 0495
>>>>>>> fax +64 03 377 0496
>>>>>>> web www.chreos.com
>>>>>>>
>>>>>>> Wild Software Ltd
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Nick wrote:
>>>>>>>
>>>>>>>> Rob,
>>>>>>>>
>>>>>>>> Have you checked out the intraweb demos in the demos folder?
>>>>>>>> With D2006 Ent there are a bunch...
>>>>>>>>
>>>>>>>> Nick
>>>>>>>>
>>>>>>>> Robert martin wrote:
>>>>>>>>
>>>>>>>>> Hi
>>>>>>>>>
>>>>>>>>> I am trying to put together a simple VCL for web application.
>>>>>>>>> I can get a simple web page going which is great however I
>>>>>>>>> would also like to provide some services i.e. some sort of get
>>>>>>>>> data and send data functionality from a delphi client app. Is
>>>>>>>>> this possible or do i need to use SOAP and create a web
>>>>>>>>> service app?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> The situation is we want to be able to have an app then sends
>>>>>>>>> a small amount of data to a web site (DB) and receives data
>>>>>>>>> (perhaps large) from the web site. However there is also a
>>>>>>>>> requirement for a web interface reporting some data.
>>>>>>>>> This isn't something I have much knowledge in but the VCL for
>>>>>>>>> web (Intraweb) stuff looked like it would make the web
>>>>>>>>> interface simple.
>>>>>>>>>
>>>>>>>>> Suggestions?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>>>>> Post: delphi at delphi.org.nz
>>>>>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>>>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>>>>>> Subject: unsubscribe
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>>>> Post: delphi at delphi.org.nz
>>>>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>>>>> Subject: unsubscribe
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>>> Post: delphi at delphi.org.nz
>>>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>>>> Subject: unsubscribe
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>> Post: delphi at delphi.org.nz
>>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>>> Subject:
>>>>> unsubscribe
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>> Post: delphi at delphi.org.nz
>>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>>> Subject:
>>>>> unsubscribe
>>>>>
>>>>> _______________________________________________
>>>>> NZ Borland Developers Group - Delphi mailing list
>>>>> Post: delphi at delphi.org.nz
>>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>>> Subject: unsubscribe
>>>>>
>>>>>
>>>> _______________________________________________
>>>> NZ Borland Developers Group - Delphi mailing list
>>>> Post: delphi at delphi.org.nz
>>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>>> Subject: unsubscribe
>>>>
>>>>
>>>
>>> _______________________________________________
>>> NZ Borland Developers Group - Delphi mailing list
>>> Post: delphi at delphi.org.nz
>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>>> Subject: unsubscribe
>>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at delphi.org.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at delphi.org.nz with
>> Subject: unsubscribe
>>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with
> Subject: unsubscribe
>
More information about the Delphi
mailing list