|
Posted by Chaddy2222 on 01/09/08 09:29
On Jan 9, 7:51 pm, Ben C <spams...@spam.eggs> wrote:
> On 2008-01-09, jeff_j_dun...@yahoo.com <jeff_j_dun...@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.- Hide quoted text -
>
What about PHP or ASP. They would work fine for the task as hand
(including a bit of HTML in another page).
--
Regards Chad. http://freewebdesignonline.org
Navigation:
[Reply to this message]
|