You are here: Re: Embedding an html application into a static html page « HTML « IT news, forums, messages
Re: Embedding an html application into a static html page

Posted by Ben C on 01/09/08 08:51

On 2008-01-09, jeff_j_dunlap@yahoo.com <jeff_j_dunlap@yahoo.com> wrote:
> Dear forum members:
>
> I have created an html calculator in C++ which I imagine is very
> similar to something written in Perl or PHP. It has an html form
> interface and produces html output, http://app.directcorrespondentlender.com/AmortBrowser.srf
> and I would like to embed this calculator into a static web page.
> Something like this:
>
> static_doc.html
> .....static html content
> .....calculator (application)
>
> When the user presses the 'Calculate' submit button, I would like for
> the calculations to appear in the same page.
>
> Today, I put the calculator inside of an iframe but it looked cludgy
> since you'd have to scroll the iframe to see the calculation results.
> I also don't think that a regular frame would look nice.
>
> My only solution may be to have the C++ application 'read' the static
> html file and combine it with my calculator output, then display the
> html output, but an embedded solution would be ideal for me. Would
> AJAX be a good solution for this?
>
> Any thoughts or suggestions would be appreciated,

As far as I know AJAX is the only solution apart from the other two
things you mention-- delivering the whole page again or using frames.

The only way to update part of a document from the server while leaving the
rest of it there is to use AJAX.

Another alternative is just to write the mortgage calculator in
JavaScript (or, less popular these days, in a Java applet) instead of
C++. Then it can run on the user's machine, saving you CPU cycles and
carbon credits.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация