I totally agree Conor. Infact I have built a whole product around a Delphi GUI interface and HTTP Post and it works perfectly fine. Infact its used on average 450 times a day for financial claiming and it never misses a beat! However, I am now converting it over to use HTML files because of a small speed issue because I the current version uses a pascal script language to build up the GUI front end so that when the user makes a claimt hey have the latest version every time, but regardless, it works well. Not only that, all I am doing is shanging the GUI side of it, the ASP files at the back end dont need to be changed....which is a bonus. BUT I do also have yo use Javascript for some of the dynamic functionality and so that the webpage can talk to my Delphi app. via window.external, and I have learned a lot more about ajax and javascript, but still, cant beat a win32 frontend :-)
Jeremy On Thu, Sep 18, 2008 at 10:53 AM, Conor Boyd <[EMAIL PROTECTED]>wrote: > Why everybody's obsession with forms/webpages? > > HTTP as a protocol has nothing specific to do with forms/pages/javascript. > > There's no reason why native code can't talk HTTP. Indeed, a lot of the > Indy components are for just that purpose, and I even provided an example of > HTTP upload progress in native code. > > This is the Delphi list, after all. :-Þ > > Just curious... > > C. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Neven MacEwan > Sent: Thursday, 18 September 2008 10:35 a.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] HTTP Upload Progress > > Jeremy > > You could do it in Javascript reltively simply ||||||||||||| makes a decent > progress bar, I have never got into graphics with JS though its would be > relatively simple to resize a <div> as a progress bar > > This is the Ajax Tool I use WWW: http://www.AjaxToolbox.com/ > > HTH > Neven > > yeah there is a bit of stuff around done in Java, but the last thing > > we need to have to do is explain to people how to install java. The > > same for flash, which is why I was heading in the native code direction. > > > > Jeremy > > > > ---------------------------------------------------------------------- > > -- > > *From:* [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] *On Behalf Of *Richard Vowles > > *Sent:* 18 September 2008 05:46 > > *To:* NZ Borland Developers Group - Delphi List > > *Subject:* Re: [DUG] HTTP Upload Progress > > > > The way I implemented this (in a Java web server) was that once the > > form was submitted, an ajax request was fired off in the background > > and repeatedly asked the server how the file upload was progressing, > > and updated the amount of colour in a progress bar. The upload was > > attached to the session, so the ajax call was able to grab the info > > structure from the session and query it (as the file upload specifies > > how big something is and as the upload is happening, you can just > > specify in the structure how much you had received). > > > > 2008/9/17 Jeremy Coulter <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> > > > > Hi Al, sorry this is a repeated post, as I have not received any > > emails from the list in a week, then I got an email to reconfirm > > my email address because the emails were meant to be > > bouncing....which is strange because its my main email address and > > I have been getting emails ok....anyway using gmail now. > > So, here is my post again. Appologies if its already been answered. > > > > Hi All. > > I am wondering if anyone has seen or has any Delphi code that will > > do an http file upload, BUT that shows you the upload progress. > > I have looked at the Synapse code for doing this, but it doesn't > > have the ability to show the progress. > > Why use HTTP File upload and not FTP? simple answer, not every > > site has FTP enabled...as we have found out, and email has been a > > bit unreliable. > > I have taken a look at the odd Java plugin that does this which > > would be good because I could just have my app. look at a webpage > > instead of build it into the exe, but then, no guarantees that > > java is enabled either....sigh...the joys :-( > > OR someone might even have a brighter idea ;-) > > > > Jeremy > > > > _______________________________________________ > > NZ Borland Developers Group - Delphi mailing list > > Post: [email protected] <mailto:[email protected]> > > Admin: http://delphi.org.nz/mailman/listinfo/delphi > > Unsubscribe: send an email to [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]> with Subject: unsubscribe > > > > > > > > > > -- > > --- > > Richard Vowles, Technical Advisor > > Developers Inc Ltd > > web. http://www.developers-inc.co.nz > > ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384 skype. > > rvowles, LinkedIn, Twitter > > > > > > ---------------------------------------------------------------------- > > -- > > > > _______________________________________________ > > NZ Borland Developers Group - Delphi mailing list > > Post: [email protected] > > Admin: http://delphi.org.nz/mailman/listinfo/delphi > > Unsubscribe: send an email to [EMAIL PROTECTED] with > > Subject: unsubscribe > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe >
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
