Re: [twsocket] HttpServer Application
You can use a web programming framework like asp, php or asp.net to deliver your web content dyncamically On Thu, 14 Sep 2006 11:24:29 +0100, you wrote: This maybe a little OT but it's related to the use of ICS. I have some real-time data generated by my application that I'd like external users to be able to view in the form of a web page. My web programming knowledge is scant to say the least. I know I can use the HttpServ component to create the server but that then uses static directories and files to serve the web pages. Am I correct in assuming I must constantly update these files with the real time data or is there another way? Thanks Chris Lord Design Engineer / Network Administrator Tuthill Micro Systems Tel: +44 (0) 1858 467888 Fax: +44 (0) 1858 433732 -- Rob Chafer Silverfrost -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpServer Application
This maybe a little OT but it's related to the use of ICS. Not OT at all ! I have some real-time data generated by my application that I'd like external users to be able to view in the form of a web page. My web programming knowledge is scant to say the least. I know I can use the HttpServ component to create the server but that then uses static directories and files to serve the web pages. Am I correct in assuming I must constantly update these files with the real time data or is there another way? You are wrong. ICS HTTP server is really designed to provided dynamic content. It support HTML templates which can be filled at runtime with dynamic content. WebServ demo show how to do it. Use latest ICS release or even V6-beta because there where a lot of new features last year. In the demo (WebServ1.pas) have a look at CreateVirtualDocument_Template() and CreateVirtualDocument_ViewFormData() which are two very simple use of the template feature. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpServer Application
Francoise, I am using Delphi 5 and I don't beleive the latest Beta supports it. I seem to remember seeing something that said this was the case but please correct me if I am wrong. Anyway, the WebServ App is there and so is the template code.So, I create a template of HTML with special tags for the data and HttpServer then collects the data when a browser requests that page. That couldn't be a more perfect solution. Thanks a lot Francoise. Now, all I need to do is understand HTML. Anyone know any good books? Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francois Piette Sent: 14 September 2006 12:38 To: ICS support mailing Subject: Re: [twsocket] HttpServer Application This maybe a little OT but it's related to the use of ICS. Not OT at all ! I have some real-time data generated by my application that I'd like external users to be able to view in the form of a web page. My web programming knowledge is scant to say the least. I know I can use the HttpServ component to create the server but that then uses static directories and files to serve the web pages. Am I correct in assuming I must constantly update these files with the real time data or is there another way? You are wrong. ICS HTTP server is really designed to provided dynamic content. It support HTML templates which can be filled at runtime with dynamic content. WebServ demo show how to do it. Use latest ICS release or even V6-beta because there where a lot of new features last year. In the demo (WebServ1.pas) have a look at CreateVirtualDocument_Template() and CreateVirtualDocument_ViewFormData() which are two very simple use of the template feature. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpServer Application
I am using Delphi 5 and I don't beleive the latest Beta supports it All versions and betas of ICS currently support Delphi 5. Such support is planned to be removed from a later version of V6. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpServer Application
Francoise, You added an 'e' at the end of my first name, making it female (that's how french works). Don't worry. I am using Delphi 5 and I don't beleive the latest Beta supports it. I seem to remember seeing something that said this was the case but please correct me if I am wrong. You are right. Just a side note: Why not upgrade your Delphi 5 to BDS2006 or Turbo Delphi Pro ? Anyway, the WebServ App is there and so is the template code.So, I create a template of HTML with special tags for the data and HttpServer then collects the data when a browser requests that page. That couldn't be a more perfect solution. Agreed :-) Thanks a lot Francoise. My pleasure. Now, all I need to do is understand HTML. You can use your favorite HTML tool to edit your templates. Some would be confused with the special tags, other wouldn't. Anyone know any good books? There are plenty of books and also a lot of web resources. I use a reference book from O'Reilly. I don't have it at hand so I can't tell you the exact title and author. It's something like Dynamic HTML reference. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be