Re: Shall I implement this in javascript?



On Nov 19, 7:35 am, Alex Y Wang <redflying...@xxxxxxxxx> wrote:
Hi all, I need to add a new functionality to our product, where I need
to access some web services. Since our product is completely written
in C++ ...<SNIP>
I'm considering
implementing this using javascript and use an embedded IE control for
the user interface.

I'll take a simplistic shot at it. What sort of interfaces does the
IE Control expose? In, particular, will you be able to retrieve
values of DOM elements from it? The reason I ask is because
javascript in a browser has no file system access, in fact no system
resource access whatsoever for security reasons (intranet or internet
doesn't matter). If the COM interface access of the IE Control let's
you overcome this problem, then, yeah it's a great idea. There is
nothing simpler and more flexible than coding up AJAX for your web
services in javascript. And, of course your UI can be as beautiful or
utilitarian as you want.

Bob

.



Relevant Pages

  • Re: JavaScript as AJAX response (RPC)
    ... Some servers return JavaScript as the response to an AJAX request. ... each type of client. ... We are only starting to see RIAs calling all kind of web services, etc...) to enhance the user experience. ... don't add breaking changes to your interface; make the interface easy to use; make the interface as universal as possible. ...
    (comp.lang.javascript)
  • Re: Accessing MS Virtual Earth using ASP.Net
    ... The reason you have to access it through JavaScript is that the ... move your map around and create markers, ... can see I have to incorporate it in a web page using a control based ... on Javascript through web services ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Accessing value of a Variable in parent from custom control
    ... get some kind of information from the parent form in which the control ... If Form1 implements an interface, it means that you must provide the ... Implements iUsesMyControl ... Public Property FormString() As String Implements ...
    (microsoft.public.dotnet.framework)
  • Re: Accessing value of a Variable in parent from custom control
    ... problem is that the control is not awair of either the iUsesMycontrol ... get some kind of information from the parent form in which the control ... If Form1 implements an interface, it means that you must provide the ...
    (microsoft.public.dotnet.framework)
  • Re: Transfering control without growing control context -- i.e. how to implement GOTO
    ... the control context is normally referred to as the "control ... language doesn't support Proper Tail Recursion. ... In JavaScript the control stack will grow, ... Globally declared named functions become properties of the javascript global object so they can be referenced, but still with property accessors, as members of that object. ...
    (comp.lang.javascript)