Icon View Thread

The following is the text of the current message along with any replies.
Messages 41 to 45 of 45 total
Thread General Feedback
Sat, Apr 21 2012 5:46 PMPermanent Link

Leslie

= Please always consider that my English may not be sophisticated enough to express myself the way I mean it. If I seem occasionally pushy it is probably because it is an important issue which can be a show stopper and I would really like to find a solution.

Cheers,
Leslie
Mon, Apr 23 2012 12:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Leslie,

<< There is a way this limitation can probably be worked around with
acceptable performance. Both pages can communicate with  the server which
can relay messages from one to the other. It may sound  strange at first to
use RPC but in this case may be the only solution. >>

It would be much, much easier to simply write the EWB external interface to
Google Maps in a new unit and use it:

https://developers.google.com/maps/documentation/javascript/reference

As I said before, see the WebDOM unit that comes with EWB for information on
how this is done.

--
Tim Young
Elevate Software
www.elevatesoft.com
Mon, Apr 23 2012 12:28 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Leslie,

<< I think I have  fairly good idea that supporting your engines while
creating something like EWB from scratch is lots of work. I can definitely
appreciate the magnitude of the work creating EWB require in itself. We have
different perspectives about the same thing.  I can tell you that for me it
is very useful to learn yours. When I am trying  to bring something to your
attention it is because even with all your talent  and experience you are
still limited and letting you know what we need can shape your thoughts
about how to go on.  I am always trying to find the common ground. If it
does not work out I accept it and move on. >>

I understand, but this isn't an issue of "design".  There's simply no easy
way to get around the fact that having Object Pascal code interface with JS
code requires writing an explicit interface for it.  Why is this so ?
Because JS doesn't even have a way of declaring the prototype of a class
(apart from static properties/methods), nor does it ever require the
developer to specify a type declaration.  So, I can't even write a JS
interface parser that does the work of extracting the JS interface and
writing the equivalent interface in Object Pascal for you.  I would have to
write an entire JS engine, run some code that uses Google Maps through it,
and then try to have the engine "figure out" what the Object Pascal
interface should be.  IOW, it's not an option, period.

<< Please always consider that my English is may not sophisticated enough to
express myself the way I mean it. If I seem occasionally pushy it is
probably because it is an important issue which can be a show stopper and I
would really like to find a solution. >>

I understand, but sometimes you have to accept the fact that I may not be
able to provide an easy solution because one does not exist.  I am working
within the constraints of the JS world, and I have absolutely zero control
over how JS is designed and works.  All I have is the requirement that the
output from EWB *must* be in JS.

--
Tim Young
Elevate Software
www.elevatesoft.com
Mon, Apr 23 2012 4:26 PMPermanent Link

Leslie

Tim,

please  assume that that I understand your workload, the boundaries of technology and  have no unreasonable expectaions. I am  just trying to make EWB work for us and  looking for solutions without dragging you into it if possible. Being at the beginning of the learning curve with EWB and web development in general  you can expect some rookiness, but It is very clear to me that your time is better spent coding. So is mine. SmileAnyway there is a basic Google static map example in the Demos section.

Cheers,
Leslie
Tue, Apr 24 2012 9:32 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Leslie,

<< please  assume that that I understand your workload, the boundaries of
technology and  have no unreasonable expectaions. I am  just trying to make
EWB work for us and  looking for solutions without dragging you into it if
possible. Being at the beginning of the learning curve with EWB and web
development in general  you can expect some rookiness, but It is very clear
to me that your time is better spent coding. So is mine. SmileAnyway there is
a basic Google static map example in the Demos section. >>

Thanks for the demo - I'm sure others will appreciate it.

--
Tim Young
Elevate Software
www.elevatesoft.com
Previous PagePage 5 of 5
Jump to Page:  1 2 3 4 5
Image